POST API/V1/Patients/{patientId}/Forms
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
patientId | integer |
Required |
Body Parameters
iMDsoft.API.Metavision.Data.Forms.SessionBundleName | Description | Type | Additional information |
---|---|---|---|
Sessions |
Session data |
Collection of iMDsoft.API.Metavision.Data.Forms.SessionData |
None. |
Success |
Is request successful |
boolean |
None. |
ValidationError |
Validation error |
iMDsoft.API.Metavision.Data.Forms.ValidationError |
None. |
Request Formats
application/json, text/json
Sample:
{ "sessions": [ { "formId": "55d03102-b098-4816-910d-0625299f060d", "sessionId": "b8fb4408-bc07-4860-8d1a-0545ed149418", "sessionTime": "2024-09-22T13:24:33.5086505+03:00", "updateDate": "2024-09-22T13:24:33.5086505+03:00", "actionTime": "2024-09-22T13:24:33.5086505+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "188072ea-f133-446d-86ce-95a1e8a22677", "isPatientCaller": true, "isTemporary": true, "dbTimeStamp": "QEA=", "summary": "sample string 8", "importedSummary": "sample string 9", "tabs": [ { "tabId": "6fcdc78e-40ed-4e95-ac76-fb4e84da796e", "comment": "sample string 2" }, { "tabId": "6fcdc78e-40ed-4e95-ac76-fb4e84da796e", "comment": "sample string 2" } ] }, { "formId": "55d03102-b098-4816-910d-0625299f060d", "sessionId": "b8fb4408-bc07-4860-8d1a-0545ed149418", "sessionTime": "2024-09-22T13:24:33.5086505+03:00", "updateDate": "2024-09-22T13:24:33.5086505+03:00", "actionTime": "2024-09-22T13:24:33.5086505+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "188072ea-f133-446d-86ce-95a1e8a22677", "isPatientCaller": true, "isTemporary": true, "dbTimeStamp": "QEA=", "summary": "sample string 8", "importedSummary": "sample string 9", "tabs": [ { "tabId": "6fcdc78e-40ed-4e95-ac76-fb4e84da796e", "comment": "sample string 2" }, { "tabId": "6fcdc78e-40ed-4e95-ac76-fb4e84da796e", "comment": "sample string 2" } ] } ], "success": true, "validationError": { "errorCode": 1, "description": "sample string 2", "type": 0 } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
iMDsoft.API.Metavision.Data.Forms.SessionBundleName | Description | Type | Additional information |
---|---|---|---|
Sessions |
Session data |
Collection of iMDsoft.API.Metavision.Data.Forms.SessionData |
None. |
Success |
Is request successful |
boolean |
None. |
ValidationError |
Validation error |
iMDsoft.API.Metavision.Data.Forms.ValidationError |
None. |
Response Formats
application/json, text/json
Sample:
{ "sessions": [ { "formId": "f1648513-ea28-422d-a141-fb6a93b5cd72", "sessionId": "2cfc2cfd-365c-4bdb-8cb5-03c71450e6a4", "sessionTime": "2024-09-22T13:24:33.5241836+03:00", "updateDate": "2024-09-22T13:24:33.5241836+03:00", "actionTime": "2024-09-22T13:24:33.5241836+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "a7d0284a-ea88-4f6e-959f-e3d116c44ba4", "isPatientCaller": true, "isTemporary": true, "dbTimeStamp": "QEA=", "summary": "sample string 8", "importedSummary": "sample string 9", "tabs": [ { "tabId": "72e5b8ca-980a-412b-8041-754fb2763e5b", "comment": "sample string 2" }, { "tabId": "72e5b8ca-980a-412b-8041-754fb2763e5b", "comment": "sample string 2" } ] }, { "formId": "f1648513-ea28-422d-a141-fb6a93b5cd72", "sessionId": "2cfc2cfd-365c-4bdb-8cb5-03c71450e6a4", "sessionTime": "2024-09-22T13:24:33.5241836+03:00", "updateDate": "2024-09-22T13:24:33.5241836+03:00", "actionTime": "2024-09-22T13:24:33.5241836+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "a7d0284a-ea88-4f6e-959f-e3d116c44ba4", "isPatientCaller": true, "isTemporary": true, "dbTimeStamp": "QEA=", "summary": "sample string 8", "importedSummary": "sample string 9", "tabs": [ { "tabId": "72e5b8ca-980a-412b-8041-754fb2763e5b", "comment": "sample string 2" }, { "tabId": "72e5b8ca-980a-412b-8041-754fb2763e5b", "comment": "sample string 2" } ] } ], "success": true, "validationError": { "errorCode": 1, "description": "sample string 2", "type": 0 } }