Запросы вывожу из Фиддлера:
1 запрос - рабочий, код 200:
POST
https://markirovka.sandbox.crptech.ru/api/v3/true-api/documents/aggregation/create HTTP/1.1
Host: markirovka.sandbox.crptech.ru
Content-Type: multipart/form-data; boundary=X-INSOMNIA-BOUNDARY
Content-Length: 683
X-Signature: ""
Authorization: Bearer ""
Accept: application/json
--X-INSOMNIA-BOUNDARY
Content-Disposition: form-data; name="jsonFile"; filename="v8_879C_38.json"
Content-Type: application/json
{"participantId":"","dateDoc":1764064131000,"productionLineId":"1","aggregationUnits":[{"aggregationType":"AGGREGATION","unitSerialNumber":"010466900032245921MG9I4S'8005000000","aggregatedItemsCount":2,"aggregationUnitCapacity":2,"sntins":["04669000322398rcDPa?KAAAA","04669000322398=+YVBOZAAAA"]},{"aggregationType":"AGGREGATION","unitSerialNumber":"010466900032245921EtWLc,Y8005000000","aggregatedItemsCount":2,"aggregationUnitCapacity":2,"sntins":["04669000322398HkGMFekAAAA","04669000322398XgM+=DwAAAA"]}]}
--X-INSOMNIA-BOUNDARY--
2 запрос - нерабочий, код 503:
POST
https://markirovka.sandbox.crptech.ru/api/v3/true-api/documents/aggregation/create HTTP/1.1
Host: markirovka.sandbox.crptech.ru
User-Agent: 1C+Enterprise/8.3
Content-Type: multipart/form-data; boundary=X-INSOMNIA-BOUNDARY
Content-Length: 683
X-Signature: ""
Authorization: Bearer ""
Accept: application/json
--X-INSOMNIA-BOUNDARY
Content-Disposition: form-data; name="jsonFile"; filename="v8_879C_38.json"
Content-Type: application/json
{"participantId":"","dateDoc":1764064131000,"productionLineId":"1","aggregationUnits":[{"aggregationType":"AGGREGATION","unitSerialNumber":"010466900032245921MG9I4S'8005000000","aggregatedItemsCount":2,"aggregationUnitCapacity":2,"sntins":["04669000322398rcDPa?KAAAA","04669000322398=+YVBOZAAAA"]},{"aggregationType":"AGGREGATION","unitSerialNumber":"010466900032245921EtWLc,Y8005000000","aggregatedItemsCount":2,"aggregationUnitCapacity":2,"sntins":["04669000322398HkGMFekAAAA","04669000322398XgM+=DwAAAA"]}]}
--X-INSOMNIA-BOUNDARY--