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": "706b6833-621d-44d6-9860-1d57e8f880bb",
"sessionId": "8e4174e6-53b1-4bf1-a4d9-09902c28ef13",
"sessionTime": "2026-02-16T03:03:05.8980092+02:00",
"updateDate": "2026-02-16T03:03:05.8980092+02:00",
"actionTime": "2026-02-16T03:03:05.8980092+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "e9e1e1cf-12fd-4368-a9e0-6b0f10a83bd9",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "3f39f6c2-779d-4b09-83a7-704d7baaf4d7",
"comment": "sample string 2"
},
{
"tabId": "3f39f6c2-779d-4b09-83a7-704d7baaf4d7",
"comment": "sample string 2"
}
]
},
{
"formId": "706b6833-621d-44d6-9860-1d57e8f880bb",
"sessionId": "8e4174e6-53b1-4bf1-a4d9-09902c28ef13",
"sessionTime": "2026-02-16T03:03:05.8980092+02:00",
"updateDate": "2026-02-16T03:03:05.8980092+02:00",
"actionTime": "2026-02-16T03:03:05.8980092+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "e9e1e1cf-12fd-4368-a9e0-6b0f10a83bd9",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "3f39f6c2-779d-4b09-83a7-704d7baaf4d7",
"comment": "sample string 2"
},
{
"tabId": "3f39f6c2-779d-4b09-83a7-704d7baaf4d7",
"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": "0b18f5bf-4e18-4e71-b7cc-b39d0ecb4ad1",
"sessionId": "a149abc1-b057-4bf1-a442-2bd69edf9e0a",
"sessionTime": "2026-02-16T03:03:05.9135748+02:00",
"updateDate": "2026-02-16T03:03:05.9135748+02:00",
"actionTime": "2026-02-16T03:03:05.9135748+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "a6e2fdad-61f3-4302-8ea7-32b059fd59a7",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "880153b6-7d26-4751-9a88-068796fa041c",
"comment": "sample string 2"
},
{
"tabId": "880153b6-7d26-4751-9a88-068796fa041c",
"comment": "sample string 2"
}
]
},
{
"formId": "0b18f5bf-4e18-4e71-b7cc-b39d0ecb4ad1",
"sessionId": "a149abc1-b057-4bf1-a442-2bd69edf9e0a",
"sessionTime": "2026-02-16T03:03:05.9135748+02:00",
"updateDate": "2026-02-16T03:03:05.9135748+02:00",
"actionTime": "2026-02-16T03:03:05.9135748+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "a6e2fdad-61f3-4302-8ea7-32b059fd59a7",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "880153b6-7d26-4751-9a88-068796fa041c",
"comment": "sample string 2"
},
{
"tabId": "880153b6-7d26-4751-9a88-068796fa041c",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}