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": "fb1ca529-43ae-4e53-84e7-072533a49875",
"coSignatureId": "ff440f71-653a-4a89-9599-3f5b14b439de",
"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": "63f020d1-a22c-4e92-a6be-3c7435126f79",
"coSignatures": [
{
"coSignatureId": "10f9df3e-2255-4c1e-a707-2569c70fd2b6",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-06-28T22:47:35.0966026+03:00"
},
{
"coSignatureId": "10f9df3e-2255-4c1e-a707-2569c70fd2b6",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-06-28T22:47:35.0966026+03:00"
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}