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": "856cd997-cc98-49c2-8ece-702b52e8d0b7",
"sessionId": "fa2b93dd-0dd3-40d6-8eec-1d59d6bc079a",
"sessionTime": "2026-11-17T02:22:41.1675571+02:00",
"updateDate": "2026-11-17T02:22:41.1675571+02:00",
"actionTime": "2026-11-17T02:22:41.1675571+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "fc9c33d5-e53a-4b76-bf72-c5ddfa711b22",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "f826c88b-1ed8-4554-8408-74eb2af090f5",
"comment": "sample string 2"
},
{
"tabId": "f826c88b-1ed8-4554-8408-74eb2af090f5",
"comment": "sample string 2"
}
]
},
{
"formId": "856cd997-cc98-49c2-8ece-702b52e8d0b7",
"sessionId": "fa2b93dd-0dd3-40d6-8eec-1d59d6bc079a",
"sessionTime": "2026-11-17T02:22:41.1675571+02:00",
"updateDate": "2026-11-17T02:22:41.1675571+02:00",
"actionTime": "2026-11-17T02:22:41.1675571+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "fc9c33d5-e53a-4b76-bf72-c5ddfa711b22",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "f826c88b-1ed8-4554-8408-74eb2af090f5",
"comment": "sample string 2"
},
{
"tabId": "f826c88b-1ed8-4554-8408-74eb2af090f5",
"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": "56af065d-6b40-4592-ac1e-bcb5a09f8716",
"sessionId": "9885aa47-02af-40e1-b406-188cb642e2b1",
"sessionTime": "2026-11-17T02:22:41.1775575+02:00",
"updateDate": "2026-11-17T02:22:41.1775575+02:00",
"actionTime": "2026-11-17T02:22:41.1775575+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "a7a6ad60-d8e0-4ef9-86cf-c379e8a328ac",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "2b40323f-4ee9-4d0c-84f6-f0799b12440c",
"comment": "sample string 2"
},
{
"tabId": "2b40323f-4ee9-4d0c-84f6-f0799b12440c",
"comment": "sample string 2"
}
]
},
{
"formId": "56af065d-6b40-4592-ac1e-bcb5a09f8716",
"sessionId": "9885aa47-02af-40e1-b406-188cb642e2b1",
"sessionTime": "2026-11-17T02:22:41.1775575+02:00",
"updateDate": "2026-11-17T02:22:41.1775575+02:00",
"actionTime": "2026-11-17T02:22:41.1775575+02:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "a7a6ad60-d8e0-4ef9-86cf-c379e8a328ac",
"isPatientCaller": true,
"isTemporary": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 8",
"importedSummary": "sample string 9",
"tabs": [
{
"tabId": "2b40323f-4ee9-4d0c-84f6-f0799b12440c",
"comment": "sample string 2"
},
{
"tabId": "2b40323f-4ee9-4d0c-84f6-f0799b12440c",
"comment": "sample string 2"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}