Authorization: Bearer ********************{
"service": "/services/1",
"customer": "/customers/1",
"tracks": [
"/tracks/1"
],
"techDealType": "/tech-deal-types/1",
"warehouseNote": "string",
"cargoDirectionCalculation": "/cargo-direction-calculations/1",
"manager": "/users/1",
"managerCode": "/user-codes/1",
"isConfirm": false,
"payer": "/payers/1",
"recipient": "/recipients/1",
"specialMarks": "string",
"deliveryCorrect": "string",
"isInsurance": true,
"insurancePercent": 0,
"amountInsured": 0,
"isDisassemble": false,
"cityParsing": "/cities/1",
"agreementFiles": [
"/files/1"
],
"extractFile": "/files/1",
"contractFiles": [
"/files/1"
],
"invoiceFiles": [
"/files/1"
],
"packingFiles": [
"/files/1"
],
"paymentTransportFile": "/files/1",
"swiftFile": "/files/1",
"technicalDescriptionFile": "/files/1",
"otherFiles": [
"/files/1"
],
"vbkFile": "/files/1",
"agreementDate": "2019-08-24T14:15:22Z",
"agreementNumber": "string",
"amountContractInRubles": 0,
"paymentRequests": [
"/payment-requests/1"
],
"prePackingFile": "/files/1",
"cargoItems": [
{
"cargoItem": "/cargo-items/1",
"places": [
{
"place": "/places/1",
"weightNet": 0,
"count": 0
}
]
}
],
"isDontIssuance": true,
"finalRecipient": {
"fio": "string",
"passport": "string",
"issuanceMethod": "/issuance-methods/1",
"email": "string",
"contacts": "string",
"addressReg": "string",
"address": "string",
"title": "string",
"inn": "string",
"legalAddress": "string",
"ogrn": "string"
},
"additionalDocuments": [
"/files/uuid"
],
"wishesDesignFile": "/files/1",
"destinationCity": "/cities/1",
"priority": "/priorities/1",
"contactNameExportDocuments": "string",
"contactPhoneExportDocuments": "string",
"wishType": "/wish-types/1",
"orderNumber": "string",
"cargoPaymentRequestsTotalSumRubles": 0,
"cargoPaymentRequestsPaymentsDatesPayed": "string",
"insuranceAmountInCurrency": 0,
"insuranceCurrency": "/currencies/1",
"isUnderstatedUnsubscription": false,
"isConfirmDeclarantOption": true,
"isPostPaid": true
}curl --location --request POST 'https://mock.apidog.com/m1/463678-0-default/cargos' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"service": "/services/1",
"customer": "/customers/1",
"tracks": [
"/tracks/1"
],
"techDealType": "/tech-deal-types/1",
"warehouseNote": "string",
"cargoDirectionCalculation": "/cargo-direction-calculations/1",
"manager": "/users/1",
"managerCode": "/user-codes/1",
"isConfirm": false,
"payer": "/payers/1",
"recipient": "/recipients/1",
"specialMarks": "string",
"deliveryCorrect": "string",
"isInsurance": true,
"insurancePercent": 0,
"amountInsured": 0,
"isDisassemble": false,
"cityParsing": "/cities/1",
"agreementFiles": [
"/files/1"
],
"extractFile": "/files/1",
"contractFiles": [
"/files/1"
],
"invoiceFiles": [
"/files/1"
],
"packingFiles": [
"/files/1"
],
"paymentTransportFile": "/files/1",
"swiftFile": "/files/1",
"technicalDescriptionFile": "/files/1",
"otherFiles": [
"/files/1"
],
"vbkFile": "/files/1",
"agreementDate": "2019-08-24T14:15:22Z",
"agreementNumber": "string",
"amountContractInRubles": 0,
"paymentRequests": [
"/payment-requests/1"
],
"prePackingFile": "/files/1",
"cargoItems": [
{
"cargoItem": "/cargo-items/1",
"places": [
{
"place": "/places/1",
"weightNet": 0,
"count": 0
}
]
}
],
"isDontIssuance": true,
"finalRecipient": {
"fio": "string",
"passport": "string",
"issuanceMethod": "/issuance-methods/1",
"email": "string",
"contacts": "string",
"addressReg": "string",
"address": "string",
"title": "string",
"inn": "string",
"legalAddress": "string",
"ogrn": "string"
},
"additionalDocuments": [
"/files/uuid"
],
"wishesDesignFile": "/files/1",
"destinationCity": "/cities/1",
"priority": "/priorities/1",
"contactNameExportDocuments": "string",
"contactPhoneExportDocuments": "string",
"wishType": "/wish-types/1",
"orderNumber": "string",
"cargoPaymentRequestsTotalSumRubles": 0,
"cargoPaymentRequestsPaymentsDatesPayed": "string",
"insuranceAmountInCurrency": 0,
"insuranceCurrency": "/currencies/1",
"isUnderstatedUnsubscription": false,
"isConfirmDeclarantOption": true,
"isPostPaid": true
}'{
"id": 74655194,
"createdAt": "2024-03-20T05:54:10.113Z",
"updatedAt": "2024-03-19T13:22:42.943Z",
"deletedAt": "2024-03-20T00:49:39.762Z",
"createdBy": {},
"updatedBy": {},
"service": {
"id": 36434771,
"createdAt": "2024-03-19T19:34:40.646Z",
"updatedAt": "2024-03-19T20:57:50.013Z",
"deletedAt": "2024-03-20T06:54:36.230Z",
"createdBy": {},
"updatedBy": {},
"title": "организации активизации обуславливает",
"departureCountry": {
"id": 83501442,
"createdAt": "2024-03-19T20:53:34.299Z",
"updatedAt": "2024-03-19T21:58:42.258Z",
"deletedAt": "2024-03-19T20:03:41.973Z",
"createdBy": {},
"updatedBy": {},
"title": "нами воздействия позволяет"
},
"departureCity": {
"id": 95555152,
"createdAt": "2024-03-20T03:53:26.457Z",
"updatedAt": "2024-03-19T23:30:07.504Z",
"deletedAt": "2024-03-20T06:00:26.669Z",
"createdBy": {},
"updatedBy": {},
"title": "высокотехнологичная создание широкому",
"country": {
"id": 74960197,
"createdAt": "2024-03-19T19:38:17.266Z",
"updatedAt": "2024-03-19T10:29:33.518Z",
"deletedAt": "2024-03-19T10:08:53.183Z",
"createdBy": {},
"updatedBy": {},
"title": "же инновационный кругу"
}
},
"isForwarding": true
},
"customer": {
"code": "ST",
"firstname": "Boris",
"surname": "идейные материально-технической опыт",
"middlename": "Reese",
"birthdate": "1961-08-26T01:53:48.526Z",
"phones": [
{
"id": 74430223,
"createdAt": "2024-03-20T06:36:52.985Z",
"updatedAt": "2024-03-19T22:34:46.815Z",
"deletedAt": "2024-03-19T09:11:11.769Z",
"createdBy": {},
"updatedBy": {},
"phone": "70840982878"
}
],
"emails": [
{
"id": 25094067,
"createdAt": "2024-03-19T23:02:17.372Z",
"updatedAt": "2024-03-20T03:33:23.104Z",
"deletedAt": "2024-03-19T16:49:16.637Z",
"createdBy": {},
"updatedBy": {},
"email": "Garth97@hotmail.com"
}
],
"company": "in laborum do officia",
"companyUrl": "http://starry-savior.com",
"comment": "nulla cillum ut ut pariatur",
"serviceAssigned": [
{
"service": {
"id": 82754190,
"createdAt": "2024-03-19T10:21:28.630Z",
"updatedAt": "2024-03-19T17:29:28.613Z",
"deletedAt": "2024-03-20T05:26:09.094Z",
"createdBy": {},
"updatedBy": {},
"title": "модель зависит настолько",
"departureCountry": {
"id": 32776277,
"createdAt": "2024-03-20T00:52:21.082Z",
"updatedAt": "2024-03-19T09:28:57.063Z",
"deletedAt": "2024-03-19T15:22:07.792Z",
"createdBy": {},
"updatedBy": {},
"title": "насущным формировании требует"
},
"departureCity": {
"id": 49126766,
"createdAt": "2024-03-19T12:22:42.284Z",
"updatedAt": "2024-03-19T21:17:56.626Z",
"deletedAt": "2024-03-20T04:01:54.102Z",
"createdBy": {},
"updatedBy": {},
"title": "повышению практика эксперимент",
"country": {
"id": 51685851,
"createdAt": "2024-03-20T06:31:25.557Z",
"updatedAt": "2024-03-20T01:58:56.672Z",
"deletedAt": "2024-03-20T01:55:10.268Z",
"createdBy": {},
"updatedBy": {},
"title": "значительной технологий требует"
}
},
"isForwarding": false
},
"assigned": {
"id": 38586895,
"firstname": "Pearl",
"surname": "Boehm",
"phone": "(934)180-13-70",
"email": "Sandrine_OReilly@hotmail.com",
"code": "VZK1",
"departmentCode": null,
"position": null,
"group": {
"id": 58798540,
"createdAt": "2