POST API/V1/Patients/{patientId}/CoSignFormSession
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| patientId | integer |
Required |
Body Parameters
iMDsoft.API.Metavision.Data.Forms.CoSignFormSessionData| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionId |
Session ID to co-sign |
globally unique identifier |
None. |
| CoSignatureId |
Co-signature ID from the form definition |
globally unique identifier |
None. |
| CoSignUserId |
User ID of the person performing the co-signature |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"sessionId": "bfd774da-d9f3-4019-bd6e-0c2509439847",
"coSignatureId": "161a5458-908d-4084-8060-085c9e6adde0",
"coSignUserId": 3
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
iMDsoft.API.Metavision.Data.Forms.SessionCoSignatureBundle| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionId |
Session ID |
globally unique identifier |
None. |
| CoSignatures |
Session co-signatures |
Collection of iMDsoft.API.Metavision.Data.Forms.SessionCoSignature |
None. |
| Success |
Is request successful |
boolean |
None. |
| ValidationError |
Validation error |
iMDsoft.API.Metavision.Data.Forms.ValidationError |
None. |
Response Formats
application/json, text/json
Sample:
{
"sessionId": "59dd8f85-cdcd-487e-a465-67a58a70d9c8",
"coSignatures": [
{
"coSignatureId": "39d6dd96-6b1b-404e-bb2b-6bd1b203c7ce",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-08-16T13:06:36.0201456+03:00"
},
{
"coSignatureId": "39d6dd96-6b1b-404e-bb2b-6bd1b203c7ce",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-08-16T13:06:36.0201456+03:00"
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}