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": "6358a69b-8d1d-486c-9aab-25879d5dc41f",
"sessionId": "c2793f38-777c-4dff-b8ea-f5de94a8b161",
"sessionTime": "2026-04-19T12:39:51.3020665+03:00",
"updateDate": "2026-04-19T12:39:51.3020665+03:00",
"actionTime": "2026-04-19T12:39:51.3030617+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "6965e66b-5e08-4130-9ddf-245bcda2ed8e",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "9cd35ab5-7286-479d-9d96-6c917a0d1574",
"comment": "sample string 2"
},
{
"tabId": "9cd35ab5-7286-479d-9d96-6c917a0d1574",
"comment": "sample string 2"
}
]
},
{
"formId": "6358a69b-8d1d-486c-9aab-25879d5dc41f",
"sessionId": "c2793f38-777c-4dff-b8ea-f5de94a8b161",
"sessionTime": "2026-04-19T12:39:51.3020665+03:00",
"updateDate": "2026-04-19T12:39:51.3020665+03:00",
"actionTime": "2026-04-19T12:39:51.3030617+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "6965e66b-5e08-4130-9ddf-245bcda2ed8e",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "9cd35ab5-7286-479d-9d96-6c917a0d1574",
"comment": "sample string 2"
},
{
"tabId": "9cd35ab5-7286-479d-9d96-6c917a0d1574",
"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": "6035e045-eb2a-4216-978f-70f78b837d26",
"sessionId": "c5f348d2-7d84-4425-9f76-cd1c2a52fd07",
"sessionTime": "2026-04-19T12:39:51.5130685+03:00",
"updateDate": "2026-04-19T12:39:51.5130685+03:00",
"actionTime": "2026-04-19T12:39:51.5130685+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "503d5e31-b9a4-449b-bed1-fb9ef422fd84",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "6cc1c49f-e4ae-4739-bb75-472e4b0ba6a0",
"comment": "sample string 2"
},
{
"tabId": "6cc1c49f-e4ae-4739-bb75-472e4b0ba6a0",
"comment": "sample string 2"
}
]
},
{
"formId": "6035e045-eb2a-4216-978f-70f78b837d26",
"sessionId": "c5f348d2-7d84-4425-9f76-cd1c2a52fd07",
"sessionTime": "2026-04-19T12:39:51.5130685+03:00",
"updateDate": "2026-04-19T12:39:51.5130685+03:00",
"actionTime": "2026-04-19T12:39:51.5130685+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "503d5e31-b9a4-449b-bed1-fb9ef422fd84",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "6cc1c49f-e4ae-4739-bb75-472e4b0ba6a0",
"comment": "sample string 2"
},
{
"tabId": "6cc1c49f-e4ae-4739-bb75-472e4b0ba6a0",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}