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": "7906b354-8fa9-41b1-a821-d014ec5898ed",
"sessionId": "d942a462-dc05-4d02-93a7-75e58df5903f",
"sessionTime": "2026-10-03T02:24:16.1625693+03:00",
"updateDate": "2026-10-03T02:24:16.1625693+03:00",
"actionTime": "2026-10-03T02:24:16.1625693+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "09f764b8-8247-46e1-b8a0-e05ce350d659",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "6620ca91-389e-476c-98e5-bfe79b271ac3",
"comment": "sample string 2"
},
{
"tabId": "6620ca91-389e-476c-98e5-bfe79b271ac3",
"comment": "sample string 2"
}
]
},
{
"formId": "7906b354-8fa9-41b1-a821-d014ec5898ed",
"sessionId": "d942a462-dc05-4d02-93a7-75e58df5903f",
"sessionTime": "2026-10-03T02:24:16.1625693+03:00",
"updateDate": "2026-10-03T02:24:16.1625693+03:00",
"actionTime": "2026-10-03T02:24:16.1625693+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "09f764b8-8247-46e1-b8a0-e05ce350d659",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "6620ca91-389e-476c-98e5-bfe79b271ac3",
"comment": "sample string 2"
},
{
"tabId": "6620ca91-389e-476c-98e5-bfe79b271ac3",
"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": "1a0da7af-046b-4687-b3ea-bbab5cb72f24",
"sessionId": "883cb461-9683-4729-9273-4c99918f624a",
"sessionTime": "2026-10-03T02:24:16.178192+03:00",
"updateDate": "2026-10-03T02:24:16.178192+03:00",
"actionTime": "2026-10-03T02:24:16.178192+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "14fad3f5-fa2d-4a00-8026-005e694eb483",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "49927c82-554f-4985-bd1c-6454a4c7d497",
"comment": "sample string 2"
},
{
"tabId": "49927c82-554f-4985-bd1c-6454a4c7d497",
"comment": "sample string 2"
}
]
},
{
"formId": "1a0da7af-046b-4687-b3ea-bbab5cb72f24",
"sessionId": "883cb461-9683-4729-9273-4c99918f624a",
"sessionTime": "2026-10-03T02:24:16.178192+03:00",
"updateDate": "2026-10-03T02:24:16.178192+03:00",
"actionTime": "2026-10-03T02:24:16.178192+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "14fad3f5-fa2d-4a00-8026-005e694eb483",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "49927c82-554f-4985-bd1c-6454a4c7d497",
"comment": "sample string 2"
},
{
"tabId": "49927c82-554f-4985-bd1c-6454a4c7d497",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}