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": "f2da5fca-7158-4a17-984a-d035321651e2", "sessionId": "02ce183a-98ce-4c6f-9adc-9db688a0e17e", "sessionTime": "2024-09-22T13:10:21.8837473+03:00", "updateDate": "2024-09-22T13:10:21.8837473+03:00", "actionTime": "2024-09-22T13:10:21.8837473+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "d19b119f-b299-461b-9cae-4ffa8fb8634b", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "312c8cab-908f-479f-9ece-fc8a969eb40b", "comment": "sample string 2" }, { "tabId": "312c8cab-908f-479f-9ece-fc8a969eb40b", "comment": "sample string 2" } ] }, { "formId": "f2da5fca-7158-4a17-984a-d035321651e2", "sessionId": "02ce183a-98ce-4c6f-9adc-9db688a0e17e", "sessionTime": "2024-09-22T13:10:21.8837473+03:00", "updateDate": "2024-09-22T13:10:21.8837473+03:00", "actionTime": "2024-09-22T13:10:21.8837473+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "d19b119f-b299-461b-9cae-4ffa8fb8634b", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "312c8cab-908f-479f-9ece-fc8a969eb40b", "comment": "sample string 2" }, { "tabId": "312c8cab-908f-479f-9ece-fc8a969eb40b", "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": "0568c0ae-4ff2-4f85-b9c0-45909cf86a87", "sessionId": "25d3fd96-5c0b-4c10-bb5f-be400bc0ddcd", "sessionTime": "2024-09-22T13:10:21.8993685+03:00", "updateDate": "2024-09-22T13:10:21.8993685+03:00", "actionTime": "2024-09-22T13:10:21.8993685+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "1074f325-2c05-4718-8540-9fd7fef3c96d", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "9e90a063-7245-4209-a4df-248877b9c0e8", "comment": "sample string 2" }, { "tabId": "9e90a063-7245-4209-a4df-248877b9c0e8", "comment": "sample string 2" } ] }, { "formId": "0568c0ae-4ff2-4f85-b9c0-45909cf86a87", "sessionId": "25d3fd96-5c0b-4c10-bb5f-be400bc0ddcd", "sessionTime": "2024-09-22T13:10:21.8993685+03:00", "updateDate": "2024-09-22T13:10:21.8993685+03:00", "actionTime": "2024-09-22T13:10:21.8993685+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "1074f325-2c05-4718-8540-9fd7fef3c96d", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "9e90a063-7245-4209-a4df-248877b9c0e8", "comment": "sample string 2" }, { "tabId": "9e90a063-7245-4209-a4df-248877b9c0e8", "comment": "sample string 2" } ] } ], "success": true, "validationError": { "errorCode": 1, "description": "sample string 2", "type": 0 } }