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": "997d8d8d-ff3d-4d06-b3f8-03b70aefb343",
"sessionId": "1fcea1eb-0f7a-4697-a8a7-24fffae79c4e",
"sessionTime": "2026-06-28T22:50:24.1260443+03:00",
"updateDate": "2026-06-28T22:50:24.1260443+03:00",
"actionTime": "2026-06-28T22:50:24.1260443+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "f6219441-b68f-4a17-bd81-f347cc22dff2",
"isPatientCaller": true,
"isTemporary": true,
"isMarkedAsError": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 9",
"importedSummary": "sample string 10",
"tabs": [
{
"tabId": "7965f04d-897c-467f-acc8-55586978b5e7",
"comment": "sample string 2"
},
{
"tabId": "7965f04d-897c-467f-acc8-55586978b5e7",
"comment": "sample string 2"
}
],
"coSignatures": [
{
"coSignatureId": "17124f55-b330-4911-9951-37d3fdd03610",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-06-28T22:50:24.1260443+03:00"
},
{
"coSignatureId": "17124f55-b330-4911-9951-37d3fdd03610",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-06-28T22:50:24.1260443+03:00"
}
]
},
{
"formId": "997d8d8d-ff3d-4d06-b3f8-03b70aefb343",
"sessionId": "1fcea1eb-0f7a-4697-a8a7-24fffae79c4e",
"sessionTime": "2026-06-28T22:50:24.1260443+03:00",
"updateDate": "2026-06-28T22:50:24.1260443+03:00",
"actionTime": "2026-06-28T22:50:24.1260443+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "f6219441-b68f-4a17-bd81-f347cc22dff2",
"isPatientCaller": true,
"isTemporary": true,
"isMarkedAsError": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 9",
"importedSummary": "sample string 10",
"tabs": [
{
"tabId": "7965f04d-897c-467f-acc8-55586978b5e7",
"comment": "sample string 2"
},
{
"tabId": "7965f04d-897c-467f-acc8-55586978b5e7",
"comment": "sample string 2"
}
],
"coSignatures": [
{
"coSignatureId": "17124f55-b330-4911-9951-37d3fdd03610",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-06-28T22:50:24.1260443+03:00"
},
{
"coSignatureId": "17124f55-b330-4911-9951-37d3fdd03610",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-06-28T22:50:24.1260443+03:00"
}
]
}
],
"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": "15b8d1af-8ed3-493e-9b5e-bcedab3817f9",
"sessionId": "229a8c27-20cb-4ed0-88c0-fa3cb35d1d0d",
"sessionTime": "2026-06-28T22:50:24.134043+03:00",
"updateDate": "2026-06-28T22:50:24.134043+03:00",
"actionTime": "2026-06-28T22:50:24.134043+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "755abcb9-22d9-4b68-b2e0-089f3190b626",
"isPatientCaller": true,
"isTemporary": true,
"isMarkedAsError": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 9",
"importedSummary": "sample string 10",
"tabs": [
{
"tabId": "cc867eae-7843-4294-b876-4dc3ef98b744",
"comment": "sample string 2"
},
{
"tabId": "cc867eae-7843-4294-b876-4dc3ef98b744",
"comment": "sample string 2"
}
],
"coSignatures": [
{
"coSignatureId": "c46700c0-03b6-4504-a970-7fe5fc266f5b",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-06-28T22:50:24.134043+03:00"
},
{
"coSignatureId": "c46700c0-03b6-4504-a970-7fe5fc266f5b",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-06-28T22:50:24.134043+03:00"
}
]
},
{
"formId": "15b8d1af-8ed3-493e-9b5e-bcedab3817f9",
"sessionId": "229a8c27-20cb-4ed0-88c0-fa3cb35d1d0d",
"sessionTime": "2026-06-28T22:50:24.134043+03:00",
"updateDate": "2026-06-28T22:50:24.134043+03:00",
"actionTime": "2026-06-28T22:50:24.134043+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "755abcb9-22d9-4b68-b2e0-089f3190b626",
"isPatientCaller": true,
"isTemporary": true,
"isMarkedAsError": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 9",
"importedSummary": "sample string 10",
"tabs": [
{
"tabId": "cc867eae-7843-4294-b876-4dc3ef98b744",
"comment": "sample string 2"
},
{
"tabId": "cc867eae-7843-4294-b876-4dc3ef98b744",
"comment": "sample string 2"
}
],
"coSignatures": [
{
"coSignatureId": "c46700c0-03b6-4504-a970-7fe5fc266f5b",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-06-28T22:50:24.134043+03:00"
},
{
"coSignatureId": "c46700c0-03b6-4504-a970-7fe5fc266f5b",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-06-28T22:50:24.134043+03:00"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}