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": "bae0d352-3a25-4c50-9cf1-305f4a800132",
"coSignatureId": "93c3e7de-8383-4367-9064-6ef7f3a0823c",
"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": "4cf47788-f865-4315-8736-835a39e0ef2e",
"coSignatures": [
{
"coSignatureId": "348d1d18-3d9e-46e2-b5a1-3629a17cfcce",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-05-09T15:52:33.2770474+03:00"
},
{
"coSignatureId": "348d1d18-3d9e-46e2-b5a1-3629a17cfcce",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-05-09T15:52:33.2770474+03:00"
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}