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": "b1098016-7fa2-4e35-affa-961539e845eb", "sessionId": "1f57801d-0269-4954-92a4-643b53db670d", "sessionTime": "2024-09-22T13:23:07.9056987+03:00", "updateDate": "2024-09-22T13:23:07.9056987+03:00", "actionTime": "2024-09-22T13:23:07.9056987+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "5f5989bf-e9b8-4a5a-b3a8-0432e5caaa7d", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "78b9be99-c65c-4951-b053-826433234403", "comment": "sample string 2" }, { "tabId": "78b9be99-c65c-4951-b053-826433234403", "comment": "sample string 2" } ] }, { "formId": "b1098016-7fa2-4e35-affa-961539e845eb", "sessionId": "1f57801d-0269-4954-92a4-643b53db670d", "sessionTime": "2024-09-22T13:23:07.9056987+03:00", "updateDate": "2024-09-22T13:23:07.9056987+03:00", "actionTime": "2024-09-22T13:23:07.9056987+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "5f5989bf-e9b8-4a5a-b3a8-0432e5caaa7d", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "78b9be99-c65c-4951-b053-826433234403", "comment": "sample string 2" }, { "tabId": "78b9be99-c65c-4951-b053-826433234403", "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": "578b54ee-f8e0-406a-8b77-30e3ed34d08b", "sessionId": "9948e37b-945f-4fc2-9e1a-8cfeca84555f", "sessionTime": "2024-09-22T13:23:07.909698+03:00", "updateDate": "2024-09-22T13:23:07.909698+03:00", "actionTime": "2024-09-22T13:23:07.909698+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "b6e5c752-334f-403e-9bb9-697ce776e3ee", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "76745ebf-1b68-472f-bbd0-dc47ba649398", "comment": "sample string 2" }, { "tabId": "76745ebf-1b68-472f-bbd0-dc47ba649398", "comment": "sample string 2" } ] }, { "formId": "578b54ee-f8e0-406a-8b77-30e3ed34d08b", "sessionId": "9948e37b-945f-4fc2-9e1a-8cfeca84555f", "sessionTime": "2024-09-22T13:23:07.909698+03:00", "updateDate": "2024-09-22T13:23:07.909698+03:00", "actionTime": "2024-09-22T13:23:07.909698+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "b6e5c752-334f-403e-9bb9-697ce776e3ee", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "76745ebf-1b68-472f-bbd0-dc47ba649398", "comment": "sample string 2" }, { "tabId": "76745ebf-1b68-472f-bbd0-dc47ba649398", "comment": "sample string 2" } ] } ], "success": true, "validationError": { "errorCode": 1, "description": "sample string 2", "type": 0 } }