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": "792bef5e-539c-4376-8981-df368c790cb3", "sessionId": "b52aaa72-c850-4563-ab44-85a75b231c53", "sessionTime": "2024-09-22T13:30:08.5540144+03:00", "updateDate": "2024-09-22T13:30:08.5540144+03:00", "actionTime": "2024-09-22T13:30:08.5540144+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "5a63e309-ca9e-4152-ac2d-a6b2c32ace61", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "9dcc56bc-345c-4128-a2f9-9ecf043feec7", "comment": "sample string 2" }, { "tabId": "9dcc56bc-345c-4128-a2f9-9ecf043feec7", "comment": "sample string 2" } ] }, { "formId": "792bef5e-539c-4376-8981-df368c790cb3", "sessionId": "b52aaa72-c850-4563-ab44-85a75b231c53", "sessionTime": "2024-09-22T13:30:08.5540144+03:00", "updateDate": "2024-09-22T13:30:08.5540144+03:00", "actionTime": "2024-09-22T13:30:08.5540144+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "5a63e309-ca9e-4152-ac2d-a6b2c32ace61", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "9dcc56bc-345c-4128-a2f9-9ecf043feec7", "comment": "sample string 2" }, { "tabId": "9dcc56bc-345c-4128-a2f9-9ecf043feec7", "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": "46c8d707-2465-48b5-b2d2-1eb8e9bff064", "sessionId": "05d90020-d2ef-4ba3-a1c2-10480e00263d", "sessionTime": "2024-09-22T13:30:08.5540144+03:00", "updateDate": "2024-09-22T13:30:08.5540144+03:00", "actionTime": "2024-09-22T13:30:08.5540144+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "6b18fe39-68e2-4002-b0fc-bd8501c94675", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "e6d5ab81-d322-4200-b2df-2f12b93c5947", "comment": "sample string 2" }, { "tabId": "e6d5ab81-d322-4200-b2df-2f12b93c5947", "comment": "sample string 2" } ] }, { "formId": "46c8d707-2465-48b5-b2d2-1eb8e9bff064", "sessionId": "05d90020-d2ef-4ba3-a1c2-10480e00263d", "sessionTime": "2024-09-22T13:30:08.5540144+03:00", "updateDate": "2024-09-22T13:30:08.5540144+03:00", "actionTime": "2024-09-22T13:30:08.5540144+03:00", "updateUserName": "sample string 5", "updateUserID": 1, "sessionSignet": { "userId": 1 }, "callerId": "6b18fe39-68e2-4002-b0fc-bd8501c94675", "isPatientCaller": true, "dbTimeStamp": "QEA=", "summary": "sample string 7", "importedSummary": "sample string 8", "tabs": [ { "tabId": "e6d5ab81-d322-4200-b2df-2f12b93c5947", "comment": "sample string 2" }, { "tabId": "e6d5ab81-d322-4200-b2df-2f12b93c5947", "comment": "sample string 2" } ] } ], "success": true, "validationError": { "errorCode": 1, "description": "sample string 2", "type": 0 } }