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": "5b9a6f68-962b-44f2-a18b-afee3b9ed996",
"sessionId": "30b0b2a7-bf3f-44de-870e-e14c171326bd",
"sessionTime": "2025-11-03T13:08:37.3757703+02:00",
"updateDate": "2025-11-03T13:08:37.3757703+02:00",
"actionTime": "2025-11-03T13:08:37.3757703+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "d7250153-0bdf-4900-a6c7-51ff90f6a712",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "e5e8894b-6dab-421d-be19-a28258a36005",
"comment": "sample string 2"
},
{
"tabId": "e5e8894b-6dab-421d-be19-a28258a36005",
"comment": "sample string 2"
}
]
},
{
"formId": "5b9a6f68-962b-44f2-a18b-afee3b9ed996",
"sessionId": "30b0b2a7-bf3f-44de-870e-e14c171326bd",
"sessionTime": "2025-11-03T13:08:37.3757703+02:00",
"updateDate": "2025-11-03T13:08:37.3757703+02:00",
"actionTime": "2025-11-03T13:08:37.3757703+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "d7250153-0bdf-4900-a6c7-51ff90f6a712",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "e5e8894b-6dab-421d-be19-a28258a36005",
"comment": "sample string 2"
},
{
"tabId": "e5e8894b-6dab-421d-be19-a28258a36005",
"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": "32462850-2049-4160-a9eb-1b9f3e117bd0",
"sessionId": "3bda481e-ab99-42a9-a1e2-9f6a44d12b03",
"sessionTime": "2025-11-03T13:08:37.3757703+02:00",
"updateDate": "2025-11-03T13:08:37.3757703+02:00",
"actionTime": "2025-11-03T13:08:37.3757703+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "ae290b7a-ed4f-4064-8672-f4f7c69fde0d",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "4f0edda8-5cd6-411f-9111-2e43aee204e0",
"comment": "sample string 2"
},
{
"tabId": "4f0edda8-5cd6-411f-9111-2e43aee204e0",
"comment": "sample string 2"
}
]
},
{
"formId": "32462850-2049-4160-a9eb-1b9f3e117bd0",
"sessionId": "3bda481e-ab99-42a9-a1e2-9f6a44d12b03",
"sessionTime": "2025-11-03T13:08:37.3757703+02:00",
"updateDate": "2025-11-03T13:08:37.3757703+02:00",
"actionTime": "2025-11-03T13:08:37.3757703+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "ae290b7a-ed4f-4064-8672-f4f7c69fde0d",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "4f0edda8-5cd6-411f-9111-2e43aee204e0",
"comment": "sample string 2"
},
{
"tabId": "4f0edda8-5cd6-411f-9111-2e43aee204e0",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}