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": "63304feb-4567-48aa-940d-8c47a92d3f00",
"sessionId": "219afffe-f20f-4393-81dc-ef6e9477e9e3",
"sessionTime": "2026-07-03T22:16:25.0894179+03:00",
"updateDate": "2026-07-03T22:16:25.0894179+03:00",
"actionTime": "2026-07-03T22:16:25.0894179+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "a1c9d5e5-d966-4b23-812c-729f0832dfca",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "ea32914a-fa16-4b91-b1c1-113beea9006e",
"comment": "sample string 2"
},
{
"tabId": "ea32914a-fa16-4b91-b1c1-113beea9006e",
"comment": "sample string 2"
}
]
},
{
"formId": "63304feb-4567-48aa-940d-8c47a92d3f00",
"sessionId": "219afffe-f20f-4393-81dc-ef6e9477e9e3",
"sessionTime": "2026-07-03T22:16:25.0894179+03:00",
"updateDate": "2026-07-03T22:16:25.0894179+03:00",
"actionTime": "2026-07-03T22:16:25.0894179+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "a1c9d5e5-d966-4b23-812c-729f0832dfca",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "ea32914a-fa16-4b91-b1c1-113beea9006e",
"comment": "sample string 2"
},
{
"tabId": "ea32914a-fa16-4b91-b1c1-113beea9006e",
"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": "6e71e5cc-f353-4ce5-99de-6845387bb50f",
"sessionId": "1c484a38-aca5-435c-96d1-fc402652fd56",
"sessionTime": "2026-07-03T22:16:25.1049337+03:00",
"updateDate": "2026-07-03T22:16:25.1049337+03:00",
"actionTime": "2026-07-03T22:16:25.1049337+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "b9e93816-0804-46b6-98be-4975b25d300d",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "ae635ef8-bb96-4d20-bedd-dd9f232cf32a",
"comment": "sample string 2"
},
{
"tabId": "ae635ef8-bb96-4d20-bedd-dd9f232cf32a",
"comment": "sample string 2"
}
]
},
{
"formId": "6e71e5cc-f353-4ce5-99de-6845387bb50f",
"sessionId": "1c484a38-aca5-435c-96d1-fc402652fd56",
"sessionTime": "2026-07-03T22:16:25.1049337+03:00",
"updateDate": "2026-07-03T22:16:25.1049337+03:00",
"actionTime": "2026-07-03T22:16:25.1049337+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "b9e93816-0804-46b6-98be-4975b25d300d",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "ae635ef8-bb96-4d20-bedd-dd9f232cf32a",
"comment": "sample string 2"
},
{
"tabId": "ae635ef8-bb96-4d20-bedd-dd9f232cf32a",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}