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": "c96a2c51-3085-4fea-a1bd-9829a703dca8",
"coSignatureId": "9a9bab67-5ad6-4e2e-814a-785cd7e7478b",
"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": "fe44d941-3819-47e3-9337-63d3ded73147",
"coSignatures": [
{
"coSignatureId": "36c02097-160e-4a5b-97bc-c5b18ef4c7fd",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-03-23T00:08:23.51764+02:00"
},
{
"coSignatureId": "36c02097-160e-4a5b-97bc-c5b18ef4c7fd",
"coSignUserId": 2,
"coSignUserName": "sample string 3",
"coSignDateTime": "2026-03-23T00:08:23.51764+02:00"
}
],
"success": true,
"validationError": {
"errorCode": 1,
"description": "sample string 2",
"type": 0
}
}