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": "c8f23b31-b4b6-4180-a7c8-ea07eb1411af",
"sessionId": "aafbcb2f-8b4b-41b9-a30f-304435d2993f",
"sessionTime": "2026-06-21T23:02:56.6583763+03:00",
"updateDate": "2026-06-21T23:02:56.6583763+03:00",
"actionTime": "2026-06-21T23:02:56.6583763+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "43412796-6f7b-4c0a-9ef2-71266ba58110",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "94f0ef9a-b692-46f1-8e0b-cc54bb832d6e",
"comment": "sample string 2"
},
{
"tabId": "94f0ef9a-b692-46f1-8e0b-cc54bb832d6e",
"comment": "sample string 2"
}
]
},
{
"formId": "c8f23b31-b4b6-4180-a7c8-ea07eb1411af",
"sessionId": "aafbcb2f-8b4b-41b9-a30f-304435d2993f",
"sessionTime": "2026-06-21T23:02:56.6583763+03:00",
"updateDate": "2026-06-21T23:02:56.6583763+03:00",
"actionTime": "2026-06-21T23:02:56.6583763+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "43412796-6f7b-4c0a-9ef2-71266ba58110",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "94f0ef9a-b692-46f1-8e0b-cc54bb832d6e",
"comment": "sample string 2"
},
{
"tabId": "94f0ef9a-b692-46f1-8e0b-cc54bb832d6e",
"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": "1d6750a9-28eb-439b-b824-de45a5c481e4",
"sessionId": "17304e36-7afc-4ad7-b04b-fe3702d19bf2",
"sessionTime": "2026-06-21T23:02:56.6583763+03:00",
"updateDate": "2026-06-21T23:02:56.6583763+03:00",
"actionTime": "2026-06-21T23:02:56.6583763+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "b5154f28-35e1-4cf1-aada-aa0b69fe4703",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "8e934809-9b13-4397-910d-e74cf577c09d",
"comment": "sample string 2"
},
{
"tabId": "8e934809-9b13-4397-910d-e74cf577c09d",
"comment": "sample string 2"
}
]
},
{
"formId": "1d6750a9-28eb-439b-b824-de45a5c481e4",
"sessionId": "17304e36-7afc-4ad7-b04b-fe3702d19bf2",
"sessionTime": "2026-06-21T23:02:56.6583763+03:00",
"updateDate": "2026-06-21T23:02:56.6583763+03:00",
"actionTime": "2026-06-21T23:02:56.6583763+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "b5154f28-35e1-4cf1-aada-aa0b69fe4703",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "8e934809-9b13-4397-910d-e74cf577c09d",
"comment": "sample string 2"
},
{
"tabId": "8e934809-9b13-4397-910d-e74cf577c09d",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}