- Назначение
- Request
- Responses
- 200 OK
- Body
- OrdersV0TransferOrderGetForEditAgreementRules
- TimestampTZOutput
- OrdersV0TransferOrderGetForEditTariffMatrixInfo
- OrdersV0TransferOrderGetForEditTariffMatrixParams
- OrdersV0TransferOrderGetForEditAuction
- OrdersV0TransferOrderGetForEditCargoCategory
- OrdersV0TransferOrderGetForEditCustomer
- OrdersV0TransferOrderGetForEditDimensions
- OrdersV0TransferOrderGetForEditGroup
- OrdersV0TransferOrderGetForEditPartner
- OrdersV0TransferOrderGetForEditDistribution
- OrdersV0TransferOrderGetForEditForwarder
- OrdersV0TransferOrderGetForEditPaymentDelayPeriod
- OrdersV0TransferOrderGetForEditNodalPointAdditionalContact
- OrdersV0TransferOrderGetForEditNpGeoAddress
- OrdersV0TransferOrderGetForEditNodalPointShipmentPeriod
- OrdersV0TransferOrderGetForEditNodalPointShipment
- OrdersV0TransferOrderGetForEditDangerousCargo
- OrdersV0TransferOrderGetForEditPackagesRuEdo
- OrdersV0TransferOrderGetForEditPackagesCreate
- OrdersV0TransferOrderGetForEditShipmentCreate
- OrdersV0TransferOrderGetForEditTagInfo
- OrdersV0TransferOrderGetForEditTemperatureRegime
- JSONObject
- OrdersV0TransferOrderGetForEditPrice
- OrdersV0TransferOrderGetForEditUTM
- OrdersV0TransferOrderGetForEditVolumeAuction
- OrdersV0TransferOrderGetForEditResponse
- 400 Bad Request
- 403 Forbidden
- 500 Internal Server Error
Получить заказ для редактирования
Порядок работы для агента · Методы API и схема OpenAPI.
Назначение
Получите данные заказа перед обновлением. Передайте идентификатор в параметре id и используйте поля из data как исходные значения для запроса обновления.
Блоки запроса и ответов ниже сгенерированы из OpenAPI. Подстановки вроде
exampleпоказывают структуру JSON. Для вызова возьмите значения из сценария, справочников или предыдущих ответов API.
Request
GET
https://partner-test-yamagistrali.ru/api/orders/v0/transferOrder/getForEdit
Тестовый стенд
Query parameters
|
Name |
Description |
|
id |
Type: string Example: `` |
Responses
200 OK
OK
Body
application/json
{
"data": {
"agreementRules": {
"isDriverCanChangePackagesWithoutApproval": true,
"isExecutorCanChangePackagesWithoutApproval": true,
"isExecutorCanChangeShipmentsWithoutApproval": true,
"isForwarderCanChangePackagesWithoutApproval": true,
"isForwarderCanChangeShipmentsWithoutApproval": true,
"isWarehouseCanChangePackagesWithoutApproval": true
},
"auction": {
"allowMultimodal": true,
"auctionType": "example",
"autoExtension": true,
"autoExtensionActive": 0,
"autoExtensionDuration": 0,
"autoExtensionTime": 0,
"autoSelection": true,
"bargainingIsPossible": true,
"bidStep": 0.5,
"buyNowPrice": 0.5,
"decreaseOnly": true,
"decreaseOnlyFromDeclaredPrice": true,
"duration": 0,
"endDate": {},
"hideBidsFromCarrier": true,
"startDate": null,
"tariffMatrixParams": {},
"useTariffMatrix": true,
"vat": 0.5,
"vatAmount": 0.5,
"vatInPriceNotConsider": true
},
"bodyType": [
"example"
],
"bodyTypeComment": "example",
"cargoCategory": {
"category": "example",
"categoryComment": "example"
},
"cargoComment": "example",
"cargoId": "example",
"currency": "example",
"customer": {
"customerAddress": "example",
"customerCargoPrice": 0.5,
"customerComment": "example",
"customerCountry": "example",
"customerForwarderId": "example",
"customerForwarderTin": "example",
"customerLegalForm": "example",
"customerName": "example",
"customerPhone": "example",
"customerTin": "example",
"id": "example"
},
"dimensions": {
"breadth": 0.5,
"height": 0.5,
"length": 0.5,
"palletCount": 0,
"volume": 0.5,
"weight": 0.5
},
"distribution": {
"amount": 0.5,
"comment": "example",
"currency": "example",
"dayDocClose": 0,
"dayDocDelay": 0,
"docFormat": "example",
"groups": [
{}
],
"groupsId": [
"example"
],
"partners": [
{}
],
"publicMatcher": true,
"type": "example",
"typeDocClose": "example",
"typeDocDelay": "example"
},
"files": [
{
"id": "example",
"name": "example"
}
],
"forwarder": {
"forwarderComment": "example",
"forwarderId": "example",
"forwarderTin": "example"
},
"freeTags": [
"example"
],
"id": "example",
"isVolumeAuction": true,
"paymentDelayPeriod": {
"daysDelayPeriod": 0,
"paymentType": "example",
"postPayCalendarType": "example"
},
"shipments": [
{
"distributionPriority": 0,
"isDeleted": true,
"name": "example",
"npShipment": null,
"npUnshipment": null,
"packageType": "example",
"packages": [
{}
],
"shipmentId": "example"
}
],
"status": "example",
"tagId": "example",
"tagsInfo": [
{
"code": "example",
"name": "example"
}
],
"temperatureRegime": [
{
"from": 0,
"label": "example",
"to": 0
}
],
"transferOrderAdditionalConditions": "example",
"transferOrderAdditionalConfiguration": {},
"transferOrderCost": {
"currency": "example",
"price": 0.5
},
"transferOrderName": "example",
"transferOrderType": "example",
"transshipmentTypes": [
"example"
],
"typePaymentAndTax": "example",
"utm": {
"utmCampaign": "example",
"utmContent": "example",
"utmMedium": "example",
"utmSource": "example",
"utmTerm": "example"
},
"volumeAuction": {
"auctionType": "example",
"duration": 0,
"endDate": null,
"flightsCount": 0.5,
"startDate": null,
"tarifficationType": "example",
"tonsCount": 0.5,
"transitDistance": 0.5,
"vehicleCapacityFrom": 0.5,
"vehicleCapacityTo": 0.5
}
}
}
|
Name |
Description |
|
data |
Type: OrdersV0TransferOrderGetForEditResponse Example
|
OrdersV0TransferOrderGetForEditAgreementRules
|
Name |
Description |
|
isDriverCanChangePackagesWithoutApproval |
Type: boolean Может ли водитель менять места в заказе без согласования |
|
isExecutorCanChangePackagesWithoutApproval |
Type: boolean Может ли исполнитель менять места в заказе без согласования |
|
isExecutorCanChangeShipmentsWithoutApproval |
Type: boolean Может ли исполнитель менять грузы в заказе без согласования |
|
isForwarderCanChangePackagesWithoutApproval |
Type: boolean Может ли заказчик менять места в заказе без согласования |
|
isForwarderCanChangeShipmentsWithoutApproval |
Type: boolean Может ли заказчик менять грузы в заказе без согласования |
|
isWarehouseCanChangePackagesWithoutApproval |
Type: boolean Может ли склад менять места в заказе без согласования |
Example
{
"isDriverCanChangePackagesWithoutApproval": true,
"isExecutorCanChangePackagesWithoutApproval": true,
"isExecutorCanChangeShipmentsWithoutApproval": true,
"isForwarderCanChangePackagesWithoutApproval": true,
"isForwarderCanChangeShipmentsWithoutApproval": true,
"isWarehouseCanChangePackagesWithoutApproval": true
}
TimestampTZOutput
|
Name |
Description |
|
displayTZ |
Type: string Example: |
|
time |
Type: string<date-time> Example: |
Example
{
"displayTZ": "+03:00",
"time": "2020-01-01T00:00:00"
}
OrdersV0TransferOrderGetForEditTariffMatrixInfo
|
Name |
Description |
|
tariffMatrixId |
Type: string Идентификатор Тарифной матрицы Example: |
Example
{
"tariffMatrixId": "example"
}
OrdersV0TransferOrderGetForEditTariffMatrixParams
|
Name |
Description |
|
isWhoFirst |
Type: boolean Торговля по принципу кто первый |
|
tariffMatrixIds |
Type: OrdersV0TransferOrderGetForEditTariffMatrixInfo[] | null Параметры тарифных матриц Example
|
Example
{
"isWhoFirst": true,
"tariffMatrixIds": [
{
"tariffMatrixId": "example"
}
]
}
OrdersV0TransferOrderGetForEditAuction
|
Name |
Description |
|
allowMultimodal |
Type: boolean Разрешить мультимодальный торг |
|
auctionType |
Type: string тип торгов Example: |
|
autoExtension |
Type: boolean Автопродление |
|
autoExtensionActive |
Type: integer Время Активации автопродления в сеуундах |
|
autoExtensionDuration |
Type: integer Максимальное длительность продления в секундах |
|
autoExtensionTime |
Type: integer Время продления в секундах |
|
autoSelection |
Type: boolean Автовыбор |
|
bargainingIsPossible |
Type: boolean торг возможен |
|
decreaseOnly |
Type: boolean Только на понижение |
|
decreaseOnlyFromDeclaredPrice |
Type: boolean Только на понижение от заданной цены |
|
duration |
Type: integer Длительность торгов в секундах |
|
hideBidsFromCarrier |
Type: boolean Скрывать ставки от исполнителя |
|
useTariffMatrix |
Type: boolean Торги Тарифная матрица |
|
vatInPriceNotConsider |
Type: boolean без учёта НДС |
|
bidStep |
Type: number | null Шаг торгов |
|
buyNowPrice |
Type: number | null «Buy now» (input - число) |
|
endDate |
Any of 2 types
Дата окончания Example
|
|
startDate |
Any of 2 types
Дата начала (опциональное) Example
|
|
tariffMatrixParams |
Any of 2 types
Параметры Тарифной матрицы Example
|
|
vat |
Type: number | null НДС Distribution.amount (опциональное) |
|
vatAmount |
Type: number | null НДС Distribution.amount (опциональное) |
Example
{
"allowMultimodal": true,
"auctionType": "example",
"autoExtension": true,
"autoExtensionActive": 0,
"autoExtensionDuration": 0,
"autoExtensionTime": 0,
"autoSelection": true,
"bargainingIsPossible": true,
"bidStep": 0.5,
"buyNowPrice": 0.5,
"decreaseOnly": true,
"decreaseOnlyFromDeclaredPrice": true,
"duration": 0,
"endDate": {
"displayTZ": "+03:00",
"time": "2020-01-01T00:00:00"
},
"hideBidsFromCarrier": true,
"startDate": null,
"tariffMatrixParams": {
"isWhoFirst": true,
"tariffMatrixIds": [
{
"tariffMatrixId": "example"
}
]
},
"useTariffMatrix": true,
"vat": 0.5,
"vatAmount": 0.5,
"vatInPriceNotConsider": true
}
OrdersV0TransferOrderGetForEditCargoCategory
|
Name |
Description |
|
category |
Type: string Тип груза. Example: |
|
categoryComment |
Type: string Коментарий к типу груза. Example: |
Example
{
"category": "example",
"categoryComment": "example"
}
OrdersV0TransferOrderGetForEditCustomer
|
Name |
Description |
|
customerAddress |
Type: string адрес заказчика Example: |
|
customerComment |
Type: string Комментарий заказчика Example: |
|
customerCountry |
Type: string страна заказчика Example: |
|
customerForwarderId |
Type: string Идентификатор организации владельца груза в роли заказчика Example: |
|
customerLegalForm |
Type: string юридическая форма организации (OOO,ИП др) Example: |
|
customerName |
Type: string Имя контактного лица заказчика перевозки. Example: |
|
customerPhone |
Type: string Телефон контактного лица заказчика перевозки. Example: |
|
customerTin |
Type: string ИНН / БИН или другой уникальный налоговый номер Example: |
|
id |
Type: string Example: |
|
customerCargoPrice |
Type: number | null стоимость груза в блоке заказчика |
|
customerForwarderTin |
Type: string | null Example: |
Example
{
"customerAddress": "example",
"customerCargoPrice": 0.5,
"customerComment": "example",
"customerCountry": "example",
"customerForwarderId": "example",
"customerForwarderTin": "example",
"customerLegalForm": "example",
"customerName": "example",
"customerPhone": "example",
"customerTin": "example",
"id": "example"
}
OrdersV0TransferOrderGetForEditDimensions
|
Name |
Description |
|
breadth |
Type: number | null Ширина с точностью до 2х знактов. |
|
height |
Type: number | null Высота с точностью до 2х знактов. |
|
length |
Type: number | null Длина с точностью до 2х знактов. |
|
palletCount |
Type: integer | null Количество палет. |
|
volume |
Type: number | null Объём с точностью до 3х знактов. |
|
weight |
Type: number | null Вес в КГ. |
Example
{
"breadth": 0.5,
"height": 0.5,
"length": 0.5,
"palletCount": 0,
"volume": 0.5,
"weight": 0.5
}
OrdersV0TransferOrderGetForEditGroup
|
Name |
Description |
|
id |
Type: string Example: |
|
name |
Type: string Example: |
Example
{
"id": "example",
"name": "example"
}
OrdersV0TransferOrderGetForEditPartner
|
Name |
Description |
|
id |
Type: string Example: |
|
isBlackList |
Type: boolean |
|
name |
Type: string Example: |
|
tin |
Type: string Example: |
Example
{
"id": "example",
"isBlackList": true,
"name": "example",
"tin": "example"
}
OrdersV0TransferOrderGetForEditDistribution
|
Name |
Description |
|
comment |
Type: string Комментарий, например, "какие-то условия" Example: |
|
currency |
Type: string Валюта, например, "rub" Example: |
|
dayDocClose |
Type: integer Количество дней до закрытия документа, например, 2 |
|
dayDocDelay |
Type: integer Количество дней задержки документа, например, 3 |
|
docFormat |
Type: string формат предоставления Example: |
|
publicMatcher |
Type: boolean открытый аукцион или нет |
|
type |
Type: string Тип определения исполнителя, например, "Отправить в свои заказы" Example: |
|
typeDocClose |
Type: string Тип документа для закрытия, например, "bankdays" Example: |
|
typeDocDelay |
Type: string Тип документа для задержки, например, "bankdays" Example: |
|
amount |
Type: number | null Заявленная стоимость торгов (Сумма, например, 123) |
|
groups |
Type: OrdersV0TransferOrderGetForEditGroup[] | null Группы, связанные с определением исполнителя Example
|
|
groupsId |
Type: string[] | null Группы, связанные с определением исполнителя (пока неизвестно, что конкретно будет в этом массиве) Example
|
|
partners |
Type: OrdersV0TransferOrderGetForEditPartner[] | null Исполнители Example
|
Example
{
"amount": 0.5,
"comment": "example",
"currency": "example",
"dayDocClose": 0,
"dayDocDelay": 0,
"docFormat": "example",
"groups": [
{
"id": "example",
"name": "example"
}
],
"groupsId": [
"example"
],
"partners": [
{
"id": "example",
"isBlackList": true,
"name": "example",
"tin": "example"
}
],
"publicMatcher": true,
"type": "example",
"typeDocClose": "example",
"typeDocDelay": "example"
}
OrdersV0TransferOrderGetForEditForwarder
|
Name |
Description |
|
forwarderId |
Type: string Идентификатор заказчика в сервисе Яндекс Магистрали Example: |
|
forwarderComment |
Type: string | null Комментарий заказчика Example: |
|
forwarderTin |
Type: string | null ИНН заказчика Example: |
Example
{
"forwarderComment": "example",
"forwarderId": "example",
"forwarderTin": "example"
}
OrdersV0TransferOrderGetForEditPaymentDelayPeriod
|
Name |
Description |
|
paymentType |
Type: string Тип оплаты. Example: |
|
daysDelayPeriod |
Type: integer | null Количество дней отсрочки платяжа. |
|
postPayCalendarType |
Type: string | null Тип постоплаты. Example: |
Example
{
"daysDelayPeriod": 0,
"paymentType": "example",
"postPayCalendarType": "example"
}
OrdersV0TransferOrderGetForEditNodalPointAdditionalContact
|
Name |
Description |
|
id |
Type: string Example: |
|
npcName |
Type: string Имя контактного лица. Example: |
|
npcPhone |
Type: string Телефон контактного лица. Example: |
|
npcExternalId |
Type: string | null Идентификатор контакта в системе клиента. Example: |
Example
{
"id": "example",
"npcExternalId": "example",
"npcName": "example",
"npcPhone": "example"
}
OrdersV0TransferOrderGetForEditNpGeoAddress
|
Name |
Description |
|
address |
Type: string Example: |
|
lat |
Type: number |
|
locality |
Type: string Example: |
|
long |
Type: number |
|
province |
Type: string Example: |
Example
{
"address": "example",
"lat": 0.5,
"locality": "example",
"long": 0.5,
"province": "example"
}
OrdersV0TransferOrderGetForEditNodalPointShipmentPeriod
|
Name |
Description |
|
from |
Type: TimestampTZOutput Example
|
|
to |
Any of 2 types
Example
|
Example
{
"from": {
"displayTZ": "+03:00",
"time": "2020-01-01T00:00:00"
},
"to": null
}
OrdersV0TransferOrderGetForEditNodalPointShipment
|
Name |
Description |
|
content |
Type: string Содержимое разгрузки/погрузки. Example: |
|
country |
Type: string Страна разгрузки/погрузки. Example: |
|
name |
Type: string Название разгрузки/погрузки. Example: |
|
nodalPointId |
Type: string Example: |
|
npGeoAddress |
All of 1 type
Геоадрес разгрузки/погрузки. Example
|
|
npLegalType |
Type: string Юридический тип разгрузки/погрузки. Example: |
|
npTin |
Type: string ИНН разгрузки/погрузки. Example: |
|
period |
All of 1 type
Период разгрузки/погрузки. если в периоде, не заполнено поле to, то считаем не периодом, а точной датой Example
|
|
phoneCountryCode |
Type: string Идентификатор страны телефона контактного лица. Example: |
|
position |
Type: integer очередь разгрузки/погрузки. |
|
legalAddress |
Type: string | null юридический адрес компании которая производит разгрузку/погрузку Example: |
|
legalPhone |
Type: string | null Example: |
|
npAdditionalContact |
Type: OrdersV0TransferOrderGetForEditNodalPointAdditionalContact[] | null Дополнительные контакты разгрузки/погрузки. Example
|
|
npShipmentId |
Type: string | null Идентификатор разгрузки/погрузки. Example: |
|
sequenceOrder |
Type: integer | null |
Example
{
"content": "example",
"country": "example",
"legalAddress": "example",
"legalPhone": "example",
"name": "example",
"nodalPointId": "example",
"npAdditionalContact": [
{
"id": "example",
"npcExternalId": "example",
"npcName": "example",
"npcPhone": "example"
}
],
"npGeoAddress": {
"address": "example",
"lat": 0.5,
"locality": "example",
"long": 0.5,
"province": "example"
},
"npLegalType": "example",
"npShipmentId": "example",
"npTin": "example",
"period": {
"from": {
"displayTZ": "+03:00",
"time": "2020-01-01T00:00:00"
},
"to": null
},
"phoneCountryCode": "example",
"position": 0,
"sequenceOrder": 0
}
OrdersV0TransferOrderGetForEditDangerousCargo
|
Name |
Description |
|
hazardClass |
Type: string Example: |
|
classificationCode |
Type: string | null Example: |
|
competentAuthoritySign |
Type: string | null Example: |
|
controlTemperature |
Type: string | null Example: |
|
description |
Type: string | null Example: |
|
emergencyTemperature |
Type: string | null Example: |
|
explosiveNetMass |
Type: string | null Example: |
|
explosiveNetMassTotal |
Type: string | null Example: |
|
hazardLabel |
Type: string | null Example: |
|
holdTimeExpiryDate |
Type: string | null Example: |
|
maxActivity |
Type: string | null Example: |
|
mixtureCompositionPercent |
Type: string | null Example: |
|
packageCategory |
Type: string | null Example: |
|
packingGroup |
Type: string | null Example: |
|
physicalChemicalDescription |
Type: string | null Example: |
|
properShippingName |
Type: string | null Example: |
|
radionuclideName |
Type: string | null Example: |
|
regulatoryAct |
Type: string | null Example: |
|
safetyIndex |
Type: string | null Example: |
|
technicalName |
Type: string | null Example: |
|
totalActivity |
Type: string | null Example: |
|
transportIndex |
Type: string | null Example: |
|
tunnelRestrictionCode |
Type: string | null Example: |
|
unHazardId |
Type: string | null Example: |
Example
{
"classificationCode": "example",
"competentAuthoritySign": "example",
"controlTemperature": "example",
"description": "example",
"emergencyTemperature": "example",
"explosiveNetMass": "example",
"explosiveNetMassTotal": "example",
"hazardClass": "example",
"hazardLabel": "example",
"holdTimeExpiryDate": "2006-01-02T00:00:00Z",
"maxActivity": "example",
"mixtureCompositionPercent": "example",
"packageCategory": "example",
"packingGroup": "example",
"physicalChemicalDescription": "example",
"properShippingName": "example",
"radionuclideName": "example",
"regulatoryAct": "example",
"safetyIndex": "example",
"technicalName": "example",
"totalActivity": "example",
"transportIndex": "example",
"tunnelRestrictionCode": "example",
"unHazardId": "example"
}
OrdersV0TransferOrderGetForEditPackagesRuEdo
|
Name |
Description |
|
cargoState |
Type: string | null состояние груза Example: |
|
codeToVNom |
Type: string | null код товарной номенклатуры Example: |
|
dangerousCargo |
Any of 2 types
сведения об опасном грузе Example
|
|
mark |
Type: string[] | null маркировка Example
|
|
pkgType |
Type: string | null тип упаковки Example: |
Example
{
"cargoState": "example",
"codeToVNom": "example",
"dangerousCargo": {
"classificationCode": "example",
"competentAuthoritySign": "example",
"controlTemperature": "example",
"description": "example",
"emergencyTemperature": "example",
"explosiveNetMass": "example",
"explosiveNetMassTotal": "example",
"hazardClass": "example",
"hazardLabel": "example",
"holdTimeExpiryDate": "2006-01-02T00:00:00Z",
"maxActivity": "example",
"mixtureCompositionPercent": "example",
"packageCategory": "example",
"packingGroup": "example",
"physicalChemicalDescription": "example",
"properShippingName": "example",
"radionuclideName": "example",
"regulatoryAct": "example",
"safetyIndex": "example",
"technicalName": "example",
"totalActivity": "example",
"transportIndex": "example",
"tunnelRestrictionCode": "example",
"unHazardId": "example"
},
"mark": [
"example"
],
"pkgType": "example"
}
OrdersV0TransferOrderGetForEditPackagesCreate
|
Name |
Description |
|
count |
Type: integer Количество |
|
hazardClass |
Type: string класс опасности Example: |
|
isDeleted |
Type: boolean |
|
packageId |
Type: string Example: |
|
stackability |
Type: string стакающийся? Example: |
|
amount |
Type: number | null Объявленная стоимость |
|
capacity |
Type: number | null Объем |
|
currency |
Type: string | null Валюта Example: |
|
dimensionHeight |
Type: number | null |
|
dimensionLength |
Type: number | null |
|
dimensionWeight |
Type: number | null |
|
packageExternalId |
Type: string | null Идентификатор единицы товара со стороны заказчика. Example: |
|
packageName |
Type: string | null Отображаемое имя единицы товара. Example: |
|
requirementPackageId |
Type: string | null Example: |
|
ruEdo |
Any of 2 types
Данные для Российского ЭДО Example
|
|
shipmentBodyType |
Type: string | null Тип упаковки груза. Example: |
|
weight |
Type: number | null Вес |
Example
{
"amount": 0.5,
"capacity": 0.5,
"count": 0,
"currency": "example",
"dimensionHeight": 0.5,
"dimensionLength": 0.5,
"dimensionWeight": 0.5,
"hazardClass": "example",
"isDeleted": true,
"packageExternalId": "example",
"packageId": "example",
"packageName": "example",
"requirementPackageId": "example",
"ruEdo": {
"cargoState": "example",
"codeToVNom": "example",
"dangerousCargo": {
"classificationCode": "example",
"competentAuthoritySign": "example",
"controlTemperature": "example",
"description": "example",
"emergencyTemperature": "example",
"explosiveNetMass": "example",
"explosiveNetMassTotal": "example",
"hazardClass": "example",
"hazardLabel": "example",
"holdTimeExpiryDate": "2006-01-02T00:00:00Z",
"maxActivity": "example",
"mixtureCompositionPercent": "example",
"packageCategory": "example",
"packingGroup": "example",
"physicalChemicalDescription": "example",
"properShippingName": "example",
"radionuclideName": "example",
"regulatoryAct": "example",
"safetyIndex": "example",
"technicalName": "example",
"totalActivity": "example",
"transportIndex": "example",
"tunnelRestrictionCode": "example",
"unHazardId": "example"
},
"mark": [
"example"
],
"pkgType": "example"
},
"shipmentBodyType": "example",
"stackability": "example",
"weight": 0.5
}
OrdersV0TransferOrderGetForEditShipmentCreate
|
Name |
Description |
|
isDeleted |
Type: boolean |
|
name |
Type: string Example: |
|
npShipment |
All of 1 type
Погрузка Example
|
|
npUnshipment |
All of 1 type
Разгрузка Example
|
|
packageType |
Type: string Example: |
|
shipmentId |
Type: string Example: |
|
distributionPriority |
Type: integer | null |
|
packages |
Type: OrdersV0TransferOrderGetForEditPackagesCreate[] | null Example
|
Example
{
"distributionPriority": 0,
"isDeleted": true,
"name": "example",
"npShipment": {
"content": "example",
"country": "example",
"legalAddress": "example",
"legalPhone": "example",
"name": "example",
"nodalPointId": "example",
"npAdditionalContact": [
{
"id": "example",
"npcExternalId": "example",
"npcName": "example",
"npcPhone": "example"
}
],
"npGeoAddress": {
"address": "example",
"lat": 0.5,
"locality": "example",
"long": 0.5,
"province": "example"
},
"npLegalType": "example",
"npShipmentId": "example",
"npTin": "example",
"period": {
"from": {},
"to": null
},
"phoneCountryCode": "example",
"position": 0,
"sequenceOrder": 0
},
"npUnshipment": null,
"packageType": "example",
"packages": [
{
"amount": 0.5,
"capacity": 0.5,
"count": 0,
"currency": "example",
"dimensionHeight": 0.5,
"dimensionLength": 0.5,
"dimensionWeight": 0.5,
"hazardClass": "example",
"isDeleted": true,
"packageExternalId": "example",
"packageId": "example",
"packageName": "example",
"requirementPackageId": "example",
"ruEdo": {
"cargoState": "example",
"codeToVNom": "example",
"dangerousCargo": null,
"mark": [
null
],
"pkgType": "example"
},
"shipmentBodyType": "example",
"stackability": "example",
"weight": 0.5
}
],
"shipmentId": "example"
}
OrdersV0TransferOrderGetForEditTagInfo
|
Name |
Description |
|
code |
Type: string Example: |
|
name |
Type: string Example: |
Example
{
"code": "example",
"name": "example"
}
OrdersV0TransferOrderGetForEditTemperatureRegime
|
Name |
Description |
|
from |
Type: integer Температура градусов в цельсиях, минимум. |
|
to |
Type: integer Температура градусов в цельсиях, максимум. |
|
label |
Type: string | null Метка температурного режима. Example: |
Example
{
"from": 0,
"label": "example",
"to": 0
}
JSONObject
Type: object
Example
{}
OrdersV0TransferOrderGetForEditPrice
|
Name |
Description |
|
currency |
Type: string Валюта. Example: |
|
price |
Type: number Цена с точностью до 2х знаков. |
Example
{
"currency": "example",
"price": 0.5
}
OrdersV0TransferOrderGetForEditUTM
|
Name |
Description |
|
utmSource |
Type: string Example: |
|
utmCampaign |
Type: string | null Example: |
|
utmContent |
Type: string | null Example: |
|
utmMedium |
Type: string | null Example: |
|
utmTerm |
Type: string | null Example: |
Example
{
"utmCampaign": "example",
"utmContent": "example",
"utmMedium": "example",
"utmSource": "example",
"utmTerm": "example"
}
OrdersV0TransferOrderGetForEditVolumeAuction
|
Name |
Description |
|
auctionType |
Type: string Example: |
|
duration |
Type: integer |
|
tarifficationType |
Type: string Example: |
|
transitDistance |
Type: number |
|
endDate |
Any of 2 types
Example
|
|
flightsCount |
Type: number | null |
|
startDate |
Any of 2 types
Example
|
|
tonsCount |
Type: number | null |
|
vehicleCapacityFrom |
Type: number | null |
|
vehicleCapacityTo |
Type: number | null |
Example
{
"auctionType": "example",
"duration": 0,
"endDate": {
"displayTZ": "+03:00",
"time": "2020-01-01T00:00:00"
},
"flightsCount": 0.5,
"startDate": null,
"tarifficationType": "example",
"tonsCount": 0.5,
"transitDistance": 0.5,
"vehicleCapacityFrom": 0.5,
"vehicleCapacityTo": 0.5
}
OrdersV0TransferOrderGetForEditResponse
|
Name |
Description |
|
bodyTypeComment |
Type: string Комментарий к типу кузова. Example: |
|
cargoCategory |
All of 1 type
Категория груза. Example
|
|
currency |
Type: string Валюта, например, "rub" Example: |
|
customer |
All of 1 type
Инфорация о перевозке. Example
|
|
forwarder |
All of 1 type
Сведения о заказчике Example
|
|
id |
Type: string Example: |
|
isVolumeAuction |
Type: boolean |
|
status |
Type: string Example: |
|
transferOrderAdditionalConfiguration |
Type: JSONObject Example
|
|
transferOrderType |
Type: string FTL LTL Example: |
|
agreementRules |
Any of 2 types
Правила согласования Example
|
|
auction |
Any of 2 types
Example
|
|
bodyType |
Type: string[] | null Тип кузова. Example
|
|
cargoComment |
Type: string | null Example: |
|
cargoId |
Type: string | null Example: |
|
dimensions |
Any of 2 types
Вес и объём. Example
|
|
distribution |
Any of 2 types
Тип опредения исполнителя. Example
|
|
files |
Type: OrdersV0TransferOrderGetForEditFiles[] | null Example
|
|
freeTags |
Type: string[] | null Теги заказчика Example
|
|
paymentDelayPeriod |
Any of 2 types
Отсрочка платежа. Example
|
|
shipments |
Type: OrdersV0TransferOrderGetForEditShipmentCreate[] | null Example
|
|
tagId |
Type: string | null Тег заказа, например, "восток" Example: |
|
tagsInfo |
Type: OrdersV0TransferOrderGetForEditTagInfo[] | null Теги заказчика (информация о тегах) Example
|
|
temperatureRegime |
Type: OrdersV0TransferOrderGetForEditTemperatureRegime[] | null Температурный режим. Example
|
|
transferOrderAdditionalConditions |
Type: string | null Дополнительные условия заказа. Example: |
|
transferOrderCost |
Any of 2 types
Стоимость заказа. Example
|
|
transferOrderName |
Type: string | null Отображаемое имя заказа на перевозку. Example: |
|
transshipmentTypes |
Type: string[] | null Тип загрузки и выгрузки. Example
|
|
typePaymentAndTax |
Type: string | null Тип оплаты платежа. Example: |
|
utm |
Any of 2 types
Utm информация. Example
|
|
volumeAuction |
Any of 2 types
Example
|
Example
{
"agreementRules": {
"isDriverCanChangePackagesWithoutApproval": true,
"isExecutorCanChangePackagesWithoutApproval": true,
"isExecutorCanChangeShipmentsWithoutApproval": true,
"isForwarderCanChangePackagesWithoutApproval": true,
"isForwarderCanChangeShipmentsWithoutApproval": true,
"isWarehouseCanChangePackagesWithoutApproval": true
},
"auction": {
"allowMultimodal": true,
"auctionType": "example",
"autoExtension": true,
"autoExtensionActive": 0,
"autoExtensionDuration": 0,
"autoExtensionTime": 0,
"autoSelection": true,
"bargainingIsPossible": true,
"bidStep": 0.5,
"buyNowPrice": 0.5,
"decreaseOnly": true,
"decreaseOnlyFromDeclaredPrice": true,
"duration": 0,
"endDate": {
"displayTZ": "+03:00",
"time": "2020-01-01T00:00:00"
},
"hideBidsFromCarrier": true,
"startDate": null,
"tariffMatrixParams": {
"isWhoFirst": true,
"tariffMatrixIds": [
null
]
},
"useTariffMatrix": true,
"vat": 0.5,
"vatAmount": 0.5,
"vatInPriceNotConsider": true
},
"bodyType": [
"example"
],
"bodyTypeComment": "example",
"cargoCategory": {
"category": "example",
"categoryComment": "example"
},
"cargoComment": "example",
"cargoId": "example",
"currency": "example",
"customer": {
"customerAddress": "example",
"customerCargoPrice": 0.5,
"customerComment": "example",
"customerCountry": "example",
"customerForwarderId": "example",
"customerForwarderTin": "example",
"customerLegalForm": "example",
"customerName": "example",
"customerPhone": "example",
"customerTin": "example",
"id": "example"
},
"dimensions": {
"breadth": 0.5,
"height": 0.5,
"length": 0.5,
"palletCount": 0,
"volume": 0.5,
"weight": 0.5
},
"distribution": {
"amount": 0.5,
"comment": "example",
"currency": "example",
"dayDocClose": 0,
"dayDocDelay": 0,
"docFormat": "example",
"groups": [
{
"id": "example",
"name": "example"
}
],
"groupsId": [
"example"
],
"partners": [
{
"id": "example",
"isBlackList": true,
"name": "example",
"tin": "example"
}
],
"publicMatcher": true,
"type": "example",
"typeDocClose": "example",
"typeDocDelay": "example"
},
"files": [
{
"id": "example",
"name": "example"
}
],
"forwarder": {
"forwarderComment": "example",
"forwarderId": "example",
"forwarderTin": "example"
},
"freeTags": [
"example"
],
"id": "example",
"isVolumeAuction": true,
"paymentDelayPeriod": {
"daysDelayPeriod": 0,
"paymentType": "example",
"postPayCalendarType": "example"
},
"shipments": [
{
"distributionPriority": 0,
"isDeleted": true,
"name": "example",
"npShipment": {
"content": "example",
"country": "example",
"legalAddress": "example",
"legalPhone": "example",
"name": "example",
"nodalPointId": "example",
"npAdditionalContact": [
null
],
"npGeoAddress": null,
"npLegalType": "example",
"npShipmentId": "example",
"npTin": "example",
"period": null,
"phoneCountryCode": "example",
"position": 0,
"sequenceOrder": 0
},
"npUnshipment": null,
"packageType": "example",
"packages": [
{
"amount": 0.5,
"capacity": 0.5,
"count": 0,
"currency": "example",
"dimensionHeight": 0.5,
"dimensionLength": 0.5,
"dimensionWeight": 0.5,
"hazardClass": "example",
"isDeleted": true,
"packageExternalId": "example",
"packageId": "example",
"packageName": "example",
"requirementPackageId": "example",
"ruEdo": null,
"shipmentBodyType": "example",
"stackability": "example",
"weight": 0.5
}
],
"shipmentId": "example"
}
],
"status": "example",
"tagId": "example",
"tagsInfo": [
{
"code": "example",
"name": "example"
}
],
"temperatureRegime": [
{
"from": 0,
"label": "example",
"to": 0
}
],
"transferOrderAdditionalConditions": "example",
"transferOrderAdditionalConfiguration": {},
"transferOrderCost": {
"currency": "example",
"price": 0.5
},
"transferOrderName": "example",
"transferOrderType": "example",
"transshipmentTypes": [
"example"
],
"typePaymentAndTax": "example",
"utm": {
"utmCampaign": "example",
"utmContent": "example",
"utmMedium": "example",
"utmSource": "example",
"utmTerm": "example"
},
"volumeAuction": {
"auctionType": "example",
"duration": 0,
"endDate": null,
"flightsCount": 0.5,
"startDate": null,
"tarifficationType": "example",
"tonsCount": 0.5,
"transitDistance": 0.5,
"vehicleCapacityFrom": 0.5,
"vehicleCapacityTo": 0.5
}
}
400 Bad Request
Bad Request
Body
application/json
{
"error": {
"info": {},
"message": "example",
"message_code": "example"
}
}
|
Name |
Description |
|
error |
Type: Error Example
|
Error
|
Name |
Description |
|
info |
Type: object Example
|
|
message |
Type: string Example: |
|
message_code |
Type: string Example: |
Example
{
"info": {},
"message": "example",
"message_code": "example"
}
403 Forbidden
Forbidden
Body
application/json
{
"error": {
"info": {},
"message": "example",
"message_code": "example"
}
}
|
Name |
Description |
|
error |
Type: Error Example
|
500 Internal Server Error
Internal Server Error
Body
application/json
{
"error": {
"info": {},
"message": "example",
"message_code": "example"
}
}
|
Name |
Description |
|
error |
Type: Error Example
|