...
No Format |
---|
curl --location 'https://••••••.••••••.ru/api/v1/clients/••••••/documentGroups' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'User-Api-Token: ••••••' \
--data '{
"name": "Документы от 25.09.2024",
"documents": [
{
"number": null,
"typeId": "5040081f-25c8-43b9-8729-6eacee1c6271",
"date": "2024-09-25T00:00:00.000Z",
"legalEntityId": "e5869c62-fa8d-4428-9a6f-19419295d32a",
"headManagerId": "b3e02b41-38d2-4586-89eb-da2a5363312a",
"employeeIds": [
"43148165-2389-4900-8527-8b2d4ab72cb6"
],
"watcherIds": [],
"signingOrder": null,
"routeTemplateId": "7bf40614-7682-4876-9c84-1785d589eecf",
"route": {
"id": "7bf40614-7682-4876-9c84-1785d589eecf",
"clientId": "82c35fdb-af4f-4c38-b174-1c957c4c2c7b",
"name": "Руководитель первый",
"signingObjectType": "DOCUMENT",
"externalId": null,
"templateKey": "MANAGER_FIRST",
"createdDate": "2024-04-24T10:12:10.815829Z",
"deactivatedDate": null,
"stages": [
{
"id": "add30200-cf49-47fe-a557-3fb799df7826",
"signingRouteTemplateId": "7bf40614-7682-4876-9c84-1785d589eecf",
"indexNumber": 0,
"type": "SIGNING",
"completenessCondition": "ALL",
"participants": [
{
"id": "4c54ec2d-803b-42a5-98a2-fe09f9b8482b",
"templateStageId": "add30200-cf49-47fe-a557-3fb799df7826",
"type": "EMPLOYER",
"actionType": "SIGNING",
"signingType": "QES",
"placeholder": null,
"required": true,
"version": 1,
"multipleSigners": false
}
]
},
{
"id": "352f0933-e641-4dea-b00c-7db35e66bf6e",
"signingRouteTemplateId": "7bf40614-7682-4876-9c84-1785d589eecf",
"indexNumber": 1,
"type": "SIGNING",
"completenessCondition": "ALL",
"participants": [
{
"id": "91e4c3a7-b8b7-4e35-b238-9f8bd0a965f7",
"templateStageId": "352f0933-e641-4dea-b00c-7db35e66bf6e",
"type": "EMPLOYEE",
"actionType": "SIGNING",
"signingType": "ANY_APPLICABLE",
"placeholder": null,
"required": true,
"version": 1,
"multipleSigners": false
}
]
}
],
"legalEntities": [
{
"name": "ЗАО Мяч",
"shortName": "ЗАО Мяч",
"externalId": "ddac7a1a-b26b-4724-85c8-dd20c63d1feb",
"id": "e5869c62-fa8d-4428-9a6f-19419295d32a"
}
]
},
"notice": null,
"fileName": "Document.docx",
"version": 0,
"valid": true,
"participants": [],
"fileId": "73932d5f-0835-4ed5-809d-23ba348bc658"
}
]
}' |
...