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.SessionBundle| Name | 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": "421c29dd-9036-4cc1-9024-1d1cbbf31f6f",
"sessionId": "22c396cd-8501-41d5-94ee-0a5fb6f51d8b",
"sessionTime": "2026-09-20T13:18:41.1797841+03:00",
"updateDate": "2026-09-20T13:18:41.1797841+03:00",
"actionTime": "2026-09-20T13:18:41.1797841+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "bbd36a9e-2796-4eea-b667-c772ec14b396",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "671b0c3a-9fdf-4631-bb21-412c2cf1ffbf",
"comment": "sample string 2"
},
{
"tabId": "671b0c3a-9fdf-4631-bb21-412c2cf1ffbf",
"comment": "sample string 2"
}
]
},
{
"formId": "421c29dd-9036-4cc1-9024-1d1cbbf31f6f",
"sessionId": "22c396cd-8501-41d5-94ee-0a5fb6f51d8b",
"sessionTime": "2026-09-20T13:18:41.1797841+03:00",
"updateDate": "2026-09-20T13:18:41.1797841+03:00",
"actionTime": "2026-09-20T13:18:41.1797841+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "bbd36a9e-2796-4eea-b667-c772ec14b396",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "671b0c3a-9fdf-4631-bb21-412c2cf1ffbf",
"comment": "sample string 2"
},
{
"tabId": "671b0c3a-9fdf-4631-bb21-412c2cf1ffbf",
"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.SessionBundle| Name | 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": "eab2ef9f-f595-4b64-8f5c-fc0ae4f11290",
"sessionId": "7e9cff72-e4eb-4e30-a373-7b36367392f0",
"sessionTime": "2026-09-20T13:18:41.1953562+03:00",
"updateDate": "2026-09-20T13:18:41.1953562+03:00",
"actionTime": "2026-09-20T13:18:41.1953562+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "8b699d64-7810-4f0e-8892-300aeee7bab4",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "a7d980a6-3dde-4480-8c65-ac8ab5deec49",
"comment": "sample string 2"
},
{
"tabId": "a7d980a6-3dde-4480-8c65-ac8ab5deec49",
"comment": "sample string 2"
}
]
},
{
"formId": "eab2ef9f-f595-4b64-8f5c-fc0ae4f11290",
"sessionId": "7e9cff72-e4eb-4e30-a373-7b36367392f0",
"sessionTime": "2026-09-20T13:18:41.1953562+03:00",
"updateDate": "2026-09-20T13:18:41.1953562+03:00",
"actionTime": "2026-09-20T13:18:41.1953562+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "8b699d64-7810-4f0e-8892-300aeee7bab4",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "a7d980a6-3dde-4480-8c65-ac8ab5deec49",
"comment": "sample string 2"
},
{
"tabId": "a7d980a6-3dde-4480-8c65-ac8ab5deec49",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}