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": "a53257a8-3753-4e24-aff1-b5756d660430",
"sessionId": "2207921e-ac3c-4ce4-aee4-56b0225e9a05",
"sessionTime": "2026-11-04T14:25:08.6510187+02:00",
"updateDate": "2026-11-04T14:25:08.6510187+02:00",
"actionTime": "2026-11-04T14:25:08.6510187+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "127f62b8-69af-4c74-8279-ebdd64e6ebea",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "8c247438-3ece-4ae3-923c-27944cfa5840",
"comment": "sample string 2"
},
{
"tabId": "8c247438-3ece-4ae3-923c-27944cfa5840",
"comment": "sample string 2"
}
]
},
{
"formId": "a53257a8-3753-4e24-aff1-b5756d660430",
"sessionId": "2207921e-ac3c-4ce4-aee4-56b0225e9a05",
"sessionTime": "2026-11-04T14:25:08.6510187+02:00",
"updateDate": "2026-11-04T14:25:08.6510187+02:00",
"actionTime": "2026-11-04T14:25:08.6510187+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "127f62b8-69af-4c74-8279-ebdd64e6ebea",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "8c247438-3ece-4ae3-923c-27944cfa5840",
"comment": "sample string 2"
},
{
"tabId": "8c247438-3ece-4ae3-923c-27944cfa5840",
"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": "941bade5-ba7c-4a50-8206-e53f0a21685f",
"sessionId": "5d8c3792-233f-476e-bd55-b2252452c8ce",
"sessionTime": "2026-11-04T14:25:08.6510187+02:00",
"updateDate": "2026-11-04T14:25:08.6510187+02:00",
"actionTime": "2026-11-04T14:25:08.6510187+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "0d13f4d3-d320-48da-8bb8-f12ede8bca28",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "d275d20d-84cf-4ff9-8ede-e2ce3a9b27cd",
"comment": "sample string 2"
},
{
"tabId": "d275d20d-84cf-4ff9-8ede-e2ce3a9b27cd",
"comment": "sample string 2"
}
]
},
{
"formId": "941bade5-ba7c-4a50-8206-e53f0a21685f",
"sessionId": "5d8c3792-233f-476e-bd55-b2252452c8ce",
"sessionTime": "2026-11-04T14:25:08.6510187+02:00",
"updateDate": "2026-11-04T14:25:08.6510187+02:00",
"actionTime": "2026-11-04T14:25:08.6510187+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "0d13f4d3-d320-48da-8bb8-f12ede8bca28",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "d275d20d-84cf-4ff9-8ede-e2ce3a9b27cd",
"comment": "sample string 2"
},
{
"tabId": "d275d20d-84cf-4ff9-8ede-e2ce3a9b27cd",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}