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": "e2adf157-b982-40a0-8393-22b9277866e6",
"sessionId": "53264ddd-f4db-42ae-83f6-7fc1df9686bb",
"sessionTime": "2026-08-18T16:25:19.1106839+03:00",
"updateDate": "2026-08-18T16:25:19.1106839+03:00",
"actionTime": "2026-08-18T16:25:19.1106839+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "6e7e082e-cf9b-445b-b090-7758dad4e040",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "d93ba1eb-925b-45a1-9738-36d0cb83e576",
"comment": "sample string 2"
},
{
"tabId": "d93ba1eb-925b-45a1-9738-36d0cb83e576",
"comment": "sample string 2"
}
]
},
{
"formId": "e2adf157-b982-40a0-8393-22b9277866e6",
"sessionId": "53264ddd-f4db-42ae-83f6-7fc1df9686bb",
"sessionTime": "2026-08-18T16:25:19.1106839+03:00",
"updateDate": "2026-08-18T16:25:19.1106839+03:00",
"actionTime": "2026-08-18T16:25:19.1106839+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "6e7e082e-cf9b-445b-b090-7758dad4e040",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "d93ba1eb-925b-45a1-9738-36d0cb83e576",
"comment": "sample string 2"
},
{
"tabId": "d93ba1eb-925b-45a1-9738-36d0cb83e576",
"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": "948bad9a-629d-498f-9b85-e3e01c160576",
"sessionId": "f879953f-72dc-482b-b00d-e8e831306740",
"sessionTime": "2026-08-18T16:25:19.1261908+03:00",
"updateDate": "2026-08-18T16:25:19.1261908+03:00",
"actionTime": "2026-08-18T16:25:19.1261908+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "d5cdf503-26bd-47a2-a63d-6fed85625822",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "96a9c07e-1507-4349-8f4d-71e87ab1bc3d",
"comment": "sample string 2"
},
{
"tabId": "96a9c07e-1507-4349-8f4d-71e87ab1bc3d",
"comment": "sample string 2"
}
]
},
{
"formId": "948bad9a-629d-498f-9b85-e3e01c160576",
"sessionId": "f879953f-72dc-482b-b00d-e8e831306740",
"sessionTime": "2026-08-18T16:25:19.1261908+03:00",
"updateDate": "2026-08-18T16:25:19.1261908+03:00",
"actionTime": "2026-08-18T16:25:19.1261908+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "d5cdf503-26bd-47a2-a63d-6fed85625822",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "96a9c07e-1507-4349-8f4d-71e87ab1bc3d",
"comment": "sample string 2"
},
{
"tabId": "96a9c07e-1507-4349-8f4d-71e87ab1bc3d",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}