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": "81584614-8625-41c6-918d-7d43a844539b", "sessionId": "193cf9e5-4586-405a-8b20-c80479fa7006", "sessionTime": "2025-07-07T10:06:08.8608723+03:00", "updateDate": "2025-07-07T10:06:08.8608723+03:00", "actionTime": "2025-07-07T10:06:08.8608723+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "e1410689-7c0a-4544-aadd-ac684ac44953", "isPatientCaller": true, "isTemporary": true, "dbTimeStamp": "QEA=", "summary": "sample string 8", "importedSummary": "sample string 9", "tabs": [ { "tabId": "0f15f710-a475-406c-8a61-869802eb7440", "comment": "sample string 2" }, { "tabId": "0f15f710-a475-406c-8a61-869802eb7440", "comment": "sample string 2" } ] }, { "formId": "81584614-8625-41c6-918d-7d43a844539b", "sessionId": "193cf9e5-4586-405a-8b20-c80479fa7006", "sessionTime": "2025-07-07T10:06:08.8608723+03:00", "updateDate": "2025-07-07T10:06:08.8608723+03:00", "actionTime": "2025-07-07T10:06:08.8608723+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "e1410689-7c0a-4544-aadd-ac684ac44953", "isPatientCaller": true, "isTemporary": true, "dbTimeStamp": "QEA=", "summary": "sample string 8", "importedSummary": "sample string 9", "tabs": [ { "tabId": "0f15f710-a475-406c-8a61-869802eb7440", "comment": "sample string 2" }, { "tabId": "0f15f710-a475-406c-8a61-869802eb7440", "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": "0d106619-959d-4abb-a0df-4d804749e95b", "sessionId": "986f0793-d21e-4285-a515-a2ba2dc75322", "sessionTime": "2025-07-07T10:06:08.8764377+03:00", "updateDate": "2025-07-07T10:06:08.8764377+03:00", "actionTime": "2025-07-07T10:06:08.8764377+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "707c74b5-f305-4259-a6d8-2263338f552c", "isPatientCaller": true, "isTemporary": true, "dbTimeStamp": "QEA=", "summary": "sample string 8", "importedSummary": "sample string 9", "tabs": [ { "tabId": "37d8ebbb-983b-48da-81ee-63b66f9e1519", "comment": "sample string 2" }, { "tabId": "37d8ebbb-983b-48da-81ee-63b66f9e1519", "comment": "sample string 2" } ] }, { "formId": "0d106619-959d-4abb-a0df-4d804749e95b", "sessionId": "986f0793-d21e-4285-a515-a2ba2dc75322", "sessionTime": "2025-07-07T10:06:08.8764377+03:00", "updateDate": "2025-07-07T10:06:08.8764377+03:00", "actionTime": "2025-07-07T10:06:08.8764377+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "707c74b5-f305-4259-a6d8-2263338f552c", "isPatientCaller": true, "isTemporary": true, "dbTimeStamp": "QEA=", "summary": "sample string 8", "importedSummary": "sample string 9", "tabs": [ { "tabId": "37d8ebbb-983b-48da-81ee-63b66f9e1519", "comment": "sample string 2" }, { "tabId": "37d8ebbb-983b-48da-81ee-63b66f9e1519", "comment": "sample string 2" } ] } ], "success": true, "validationError": { "errorCode": 1, "description": "sample string 2", "type": 0 } }