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": "6a87cec7-5787-49b8-9dba-6f02ce583182",
"sessionId": "d78e28fc-67cc-4a8c-a2df-c3110d9b3228",
"sessionTime": "2026-05-19T09:21:39.3186503+03:00",
"updateDate": "2026-05-19T09:21:39.3186503+03:00",
"actionTime": "2026-05-19T09:21:39.3186503+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "ed72278a-9e49-4604-a6e0-257b6196daad",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "f366075b-230b-410f-bc40-b412cf5ccb95",
"comment": "sample string 2"
},
{
"tabId": "f366075b-230b-410f-bc40-b412cf5ccb95",
"comment": "sample string 2"
}
]
},
{
"formId": "6a87cec7-5787-49b8-9dba-6f02ce583182",
"sessionId": "d78e28fc-67cc-4a8c-a2df-c3110d9b3228",
"sessionTime": "2026-05-19T09:21:39.3186503+03:00",
"updateDate": "2026-05-19T09:21:39.3186503+03:00",
"actionTime": "2026-05-19T09:21:39.3186503+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "ed72278a-9e49-4604-a6e0-257b6196daad",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "f366075b-230b-410f-bc40-b412cf5ccb95",
"comment": "sample string 2"
},
{
"tabId": "f366075b-230b-410f-bc40-b412cf5ccb95",
"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": "f44228d6-ac83-4104-8d1a-cb895c72631b",
"sessionId": "e3cb1ed5-8c69-48b8-bfca-127c13ed823f",
"sessionTime": "2026-05-19T09:21:39.3286474+03:00",
"updateDate": "2026-05-19T09:21:39.3286474+03:00",
"actionTime": "2026-05-19T09:21:39.3286474+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "742a952e-782d-4b5d-b40f-eb3243fcc249",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "73d67d64-5c5b-404f-9693-cac2ce94dbfe",
"comment": "sample string 2"
},
{
"tabId": "73d67d64-5c5b-404f-9693-cac2ce94dbfe",
"comment": "sample string 2"
}
]
},
{
"formId": "f44228d6-ac83-4104-8d1a-cb895c72631b",
"sessionId": "e3cb1ed5-8c69-48b8-bfca-127c13ed823f",
"sessionTime": "2026-05-19T09:21:39.3286474+03:00",
"updateDate": "2026-05-19T09:21:39.3286474+03:00",
"actionTime": "2026-05-19T09:21:39.3286474+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "742a952e-782d-4b5d-b40f-eb3243fcc249",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "73d67d64-5c5b-404f-9693-cac2ce94dbfe",
"comment": "sample string 2"
},
{
"tabId": "73d67d64-5c5b-404f-9693-cac2ce94dbfe",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}