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": "b44c4c88-530b-404c-a501-299f907139e5",
"sessionId": "e9fd5c5a-2acd-4189-aa8d-64ac4c9b0fb8",
"sessionTime": "2026-10-01T02:20:22.6447722+03:00",
"updateDate": "2026-10-01T02:20:22.6447722+03:00",
"actionTime": "2026-10-01T02:20:22.6447722+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "dffe820d-db56-4cac-9cb6-7a66045691d0",
"isPatientCaller": true,
"isTemporary": true,
"isMarkedAsError": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 9",
"importedSummary": "sample string 10",
"tabs": [
{
"tabId": "42f574e2-7f85-4dc5-90de-b1713ba25299",
"comment": "sample string 2"
},
{
"tabId": "42f574e2-7f85-4dc5-90de-b1713ba25299",
"comment": "sample string 2"
}
],
"coSignatures": [
{
"coSignatureId": "4ff00e2c-2419-48af-a215-094c32cdf19b",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-10-01T02:20:22.6457721+03:00"
},
{
"coSignatureId": "4ff00e2c-2419-48af-a215-094c32cdf19b",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-10-01T02:20:22.6457721+03:00"
}
]
},
{
"formId": "b44c4c88-530b-404c-a501-299f907139e5",
"sessionId": "e9fd5c5a-2acd-4189-aa8d-64ac4c9b0fb8",
"sessionTime": "2026-10-01T02:20:22.6447722+03:00",
"updateDate": "2026-10-01T02:20:22.6447722+03:00",
"actionTime": "2026-10-01T02:20:22.6447722+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "dffe820d-db56-4cac-9cb6-7a66045691d0",
"isPatientCaller": true,
"isTemporary": true,
"isMarkedAsError": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 9",
"importedSummary": "sample string 10",
"tabs": [
{
"tabId": "42f574e2-7f85-4dc5-90de-b1713ba25299",
"comment": "sample string 2"
},
{
"tabId": "42f574e2-7f85-4dc5-90de-b1713ba25299",
"comment": "sample string 2"
}
],
"coSignatures": [
{
"coSignatureId": "4ff00e2c-2419-48af-a215-094c32cdf19b",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-10-01T02:20:22.6457721+03:00"
},
{
"coSignatureId": "4ff00e2c-2419-48af-a215-094c32cdf19b",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-10-01T02:20:22.6457721+03:00"
}
]
}
],
"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": "18818844-0db1-4650-b1ec-5f9b12d78d63",
"sessionId": "39f93f38-ab00-4db5-a5c6-4ffa9d81247b",
"sessionTime": "2026-10-01T02:20:22.6527721+03:00",
"updateDate": "2026-10-01T02:20:22.6527721+03:00",
"actionTime": "2026-10-01T02:20:22.6527721+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "d17376b2-a4f3-4540-bb4d-7a53d7a2503f",
"isPatientCaller": true,
"isTemporary": true,
"isMarkedAsError": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 9",
"importedSummary": "sample string 10",
"tabs": [
{
"tabId": "e0345654-0d72-4b5e-9d0e-535da801c7ba",
"comment": "sample string 2"
},
{
"tabId": "e0345654-0d72-4b5e-9d0e-535da801c7ba",
"comment": "sample string 2"
}
],
"coSignatures": [
{
"coSignatureId": "586e9188-f65f-4362-b5c9-9876640036eb",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-10-01T02:20:22.6527721+03:00"
},
{
"coSignatureId": "586e9188-f65f-4362-b5c9-9876640036eb",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-10-01T02:20:22.6527721+03:00"
}
]
},
{
"formId": "18818844-0db1-4650-b1ec-5f9b12d78d63",
"sessionId": "39f93f38-ab00-4db5-a5c6-4ffa9d81247b",
"sessionTime": "2026-10-01T02:20:22.6527721+03:00",
"updateDate": "2026-10-01T02:20:22.6527721+03:00",
"actionTime": "2026-10-01T02:20:22.6527721+03:00",
"updateUserName": "sample string 5",
"updateUserID": 1,
"sessionSignet": {
"userId": 1
},
"callerId": "d17376b2-a4f3-4540-bb4d-7a53d7a2503f",
"isPatientCaller": true,
"isTemporary": true,
"isMarkedAsError": true,
"dbTimeStamp": "QEA=",
"summary": "sample string 9",
"importedSummary": "sample string 10",
"tabs": [
{
"tabId": "e0345654-0d72-4b5e-9d0e-535da801c7ba",
"comment": "sample string 2"
},
{
"tabId": "e0345654-0d72-4b5e-9d0e-535da801c7ba",
"comment": "sample string 2"
}
],
"coSignatures": [
{
"coSignatureId": "586e9188-f65f-4362-b5c9-9876640036eb",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-10-01T02:20:22.6527721+03:00"
},
{
"coSignatureId": "586e9188-f65f-4362-b5c9-9876640036eb",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-10-01T02:20:22.6527721+03:00"
}
]
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}