{"openapi":"3.0.0","info":{"version":"1.0","title":"1C UAS API","description":"Описание HTTP-сервиса в 1C UAS"},"tags":[{"name":"Получить данные по UUID","description":"Получить детальную информацию об объекте через UUID"},{"name":"Получить список объектов"},{"name":"Получить планируемые и фактические продажи по сетям за период"},{"name":"Изменить лимит сети"},{"name":"Получить список сетей, достигших критического значения лимита"},{"name":"Получить прайс-лист контрагента"},{"name":"Проверка состояния"},{"name":"Получить прайс-лист ПО"},{"name":"Получить список реализаций"},{"name":"Получить список заказов клиента"}],"paths":{"/hs/md/v1/pharmacy-net/{UUID}":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID аптеки","schema":{"$ref":"#/components/schemas/ID"}}],"get":{"tags":["Получить данные по UUID"],"summary":"Получить данные аптеки по UUID","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PharmacyNet"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/contractor/{UUID}":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID контрагента","schema":{"$ref":"#/components/schemas/ID"}}],"get":{"tags":["Получить данные по UUID"],"summary":"Получить данные контрагента по UUID","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contractor"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v2/contractor/{UUID}":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID контрагента","schema":{"$ref":"#/components/schemas/ID"}},{"name":"ASNA_GUID","required":true,"in":"query","description":"ASNA_GUID контрагента","schema":{"$ref":"#/components/schemas/ID"}},{"name":"INN","required":true,"in":"query","description":"ИНН контрагента","schema":{"type":"string"}},{"name":"KPP","required":true,"in":"query","description":"КПП контрагента","schema":{"type":"string"}},{"name":"RegNum","required":true,"in":"query","description":"Регистрационный номер контрагента","schema":{"type":"string"}}],"get":{"tags":["Получить данные по UUID"],"summary":"Получить данные контрагента по UUID (Версия 2)","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contractor"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/price-list-po/{UUID}":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID прайс-листа ПО","schema":{"$ref":"#/components/schemas/ID"}}],"get":{"tags":["Получить прайс-лист ПО"],"summary":"Получить архив с файлами прайс-листа ПО","responses":{"200":{"description":"OK","content":{"application/zip":{"schema":{"type":"string","format":"binary"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/contractor/{UUID}/price-list":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID контрагента","schema":{"$ref":"#/components/schemas/ID"}},{"name":"mode","required":true,"in":"query","description":"Режим выдачи прайса - клиенту или менеджеру. Значения - client, manager","schema":{"type":"string"}}],"get":{"tags":["Получить прайс-лист контрагента"],"summary":"Получить прайс-лист контрагента","responses":{"200":{"description":"OK","content":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/contractor/{UUID}/price-list-po-ids":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID контрагента","schema":{"$ref":"#/components/schemas/ID"}}],"get":{"tags":["Получить прайс-лист ПО"],"summary":"Получить список прайс-листов ПО контрагента","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceListPoIds"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/order-statuses":{"get":{"tags":["Получить список объектов"],"summary":"Получить список возможных статусов документа Заказ клиента","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrderStatusesList"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/contractor/additional/over-due-contractors-receivable":{"post":{"tags":["Получить список объектов"],"summary":"Получить ПДЗ контрагентов списком","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"UUID":{"type":"string","format":"uuid","description":"UUID контрагента"},"INN":{"type":"string","description":"ИНН контрагента"},"KPP":{"type":"string","description":"КПП контрагента"}},"required":["INN"]}}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverDueContractorsReceivableList"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/planned-actual-sale":{"parameters":[{"name":"date","required":true,"in":"query","description":"Дата с месяцем строкой, можно по-разному (01.06.2021, 062021, 06, 6) = Июнь 2021","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Количество UUID в ответе","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"Смещение выборки UUID-ов","schema":{"type":"integer"}}],"get":{"tags":["Получить планируемые и фактические продажи по сетям за период"],"summary":"Получить планируемые и фактические продажи по сетям за период списком","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlannedActualSaleAmountList"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/critical-limit-pharmacies-net":{"parameters":[{"name":"limit","required":false,"in":"query","description":"Количество записей в ответе","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"Смещение выборки заспией","schema":{"type":"integer"}}],"get":{"tags":["Получить список сетей, достигших критического значения лимита"],"summary":"Получить список сетей, достигших критического значения лимита","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriticalLimitPharmaciesNetList"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/pharmacy-net/{UUID}/planned-actual-sale":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID аптеки","schema":{"$ref":"#/components/schemas/ID"}},{"name":"date","required":true,"in":"query","description":"Дата с месяцем строкой, можно по-разному (01.06.2021, 062021, 06, 6) = Июнь 2021","schema":{"type":"string"}}],"get":{"tags":["Получить планируемые и фактические продажи по сетям за период"],"summary":"Получить планируемые и фактические продажи по сетям за период по конкретной сети","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlannedActualSaleAmountElement"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/contractor/{UUID}/sales-document-list":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID контрагента","schema":{"$ref":"#/components/schemas/ID"}},{"name":"limit","required":false,"in":"query","description":"Количество РТУ в ответе","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"Смещение выборки РТУ","schema":{"type":"integer"}}],"get":{"tags":["Получить список реализаций"],"summary":"Получить список реализаций (РТУ в статусе \"отгружено\", \"доставлен\" или \"выполнен\")","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesDocumentList"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v2/contractor/{UUID}/sales-document-list":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID контрагента","schema":{"$ref":"#/components/schemas/ID"}},{"name":"limit","required":false,"in":"query","description":"Количество РТУ в ответе","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"Смещение выборки РТУ","schema":{"type":"integer"}}],"get":{"tags":["Получить список реализаций"],"summary":"Получить список реализаций на основе отчета \"ДЗ ПДЗ по срокам погашения задолженности\" (с отбором \"просроченные\" и \"будут просрочены через 3 дня\")","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverDueSalesDocumentList"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v2/contractor/{UUID}/sales-document-list-inn":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID контрагента","schema":{"$ref":"#/components/schemas/ID"}},{"name":"ASNA_GUID","required":true,"in":"query","description":"ASNA_GUID контрагента","schema":{"$ref":"#/components/schemas/ID"}},{"name":"INN","required":true,"in":"query","description":"ИНН контрагента","schema":{"type":"string"}},{"name":"KPP","required":true,"in":"query","description":"КПП контрагента","schema":{"type":"string"}},{"name":"RegNum","required":true,"in":"query","description":"Регистрационный номер контрагента","schema":{"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Количество РТУ в ответе","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"Смещение выборки РТУ","schema":{"type":"integer"}}],"get":{"tags":["Получить список реализаций"],"summary":"Получить список реализаций на основе отчета \"ДЗ ПДЗ по срокам погашения задолженности\" (с отбором \"просроченные\" и \"будут просрочены через 3 дня\") с идентификацией по ИНН и КПП","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OverDueSalesDocumentList"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/pharmacy-net/{UUID}/sales-document-list":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID аптечной сети","schema":{"$ref":"#/components/schemas/ID"}},{"name":"limit","required":false,"in":"query","description":"Количество РТУ в ответе","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"Смещение выборки РТУ","schema":{"type":"integer"}}],"get":{"tags":["Получить список реализаций"],"summary":"Получить список реализаций на основе отчета \"ДЗ ПДЗ по срокам погашения задолженности\"","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesDocumentListPharmacyNet"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/pharmacy-net/{UUID}/orders":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID аптечной сети","schema":{"$ref":"#/components/schemas/ID"}},{"name":"limit","required":false,"in":"query","description":"Количество заказов в ответе","schema":{"type":"integer"}},{"name":"offset","required":false,"in":"query","description":"Смещение выборки заказов","schema":{"type":"integer"}},{"name":"start","required":false,"in":"query","description":"Дата начала в формате DD.MM.YYYY","schema":{"type":"string"}},{"name":"end","required":false,"in":"query","description":"Дата окончания в формате DD.MM.YYYY","schema":{"type":"string"}},{"name":"status","required":false,"in":"query","description":"Статус заказа клиента","schema":{"type":"string"}},{"name":"contractor","required":false,"in":"query","description":"UUID контрагента","schema":{"type":"string","format":"uuid"}},{"name":"deleted","required":false,"in":"query","description":"Отобразить только помеченные или только не помеченные на удаление","schema":{"type":"boolean"}}],"get":{"tags":["Получить список заказов клиента"],"summary":"Получить список заказов клиента по аптечной сети","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrdersDocumentListPharmacyNet"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/v1/pharmacy-net/{UUID}/head-partner-credit-adjust":{"parameters":[{"name":"UUID","required":true,"in":"path","description":"UUID сети","schema":{"$ref":"#/components/schemas/ID"}}],"post":{"tags":["Изменить лимит сети"],"summary":"Изменить максимальный лимит по головному контрагенту","requestBody":{"description":"Структура с параметрами","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeadPartnerCreditAdjustParameters"}}}},"responses":{"200":{"description":"OK"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/hs/md/health-check":{"get":{"tags":["Проверка состояния"],"summary":"Проверить, что HTTP сервис работает","responses":{"200":{"description":"OK"},"500":{"description":"Internal server error"}}}}},"components":{"schemas":{"ID":{"type":"string","format":"uuid"},"PharmacyNet":{"type":"object","properties":{"HeadPartnerMaximumCredit":{"type":"number","format":"float"},"PersonalLimit":{"type":"number","format":"float"},"McsAvailableShipmentLimit":{"type":"number","format":"float"},"LogisticsManagerEmail":{"type":"string","description":"Электронная почта менеджера логистики"},"ConsolidatedBudget":{"type":"number","format":"float","description":"Сводный бюджет сети"}}},"Contractor":{"type":"object","properties":{"McsOverDuePharmacyNetworkReceivable":{"type":"number","format":"float"}}},"HeadPartnerCreditAdjustParameters":{"type":"object","properties":{"HeadPartnerMaximumCredit":{"type":"number","description":"Новое значение лимита"}}},"OrderStatusesList":{"type":"object","properties":{"result":{"type":"array","items":{"type":"string","description":"Значение статуса"}}}},"PlannedActualSaleAmountList":{"type":"object","properties":{"result":{"type":"array","items":{"type":"object","properties":{"PharmacyNetworkId":{"type":"string","format":"uuid","description":"GUID аптечной сети"},"PlannedAmount":{"type":"number","format":"float","description":"Планируемый объем продаж"},"ActualAmount":{"type":"number","format":"float","description":"Фактический объем продаж"},"ManagerID":{"type":"string","format":"uuid","description":"GUID пользователя менеджера, создавшего план"},"ManagerEmail":{"type":"string","format":"email","description":"Электронная почта менеджера"}}}}}},"CriticalLimitPharmaciesNetList":{"type":"object","properties":{"result":{"type":"array","items":{"type":"object","properties":{"PharmacyNetworkId":{"type":"string","format":"uuid","description":"UUID-аптечной сети"},"CurrentLimitValue":{"type":"number","description":"Текущее значение лимита сети, на момент внесения записи"},"CurrentPharmacyNetDebt":{"type":"number","description":"Текущий долг сети, на момент внесения записи"},"CurrentCriticalPercentValue":{"type":"number","description":"Текущее значение процента, по которому рассчитывался критический лимит"},"LimitValueReached":{"type":"boolean","description":"Долг сети превышает лимит сети"}}}}}},"PlannedActualSaleAmountElement":{"type":"object","properties":{"PlannedAmount":{"type":"number","format":"float","description":"Планируемый объем продаж"},"ActualAmount":{"type":"number","format":"float","description":"Фактический объем продаж"},"ManagerID":{"type":"string","format":"uuid","description":"GUID пользователя менеджера, создавшего план"},"ManagerEmail":{"type":"string","format":"email","description":"Электронная почта менеджера"}}},"PriceListPoIds":{"type":"object","properties":{"result":{"type":"array","items":{"type":"object","properties":{"WareHouse":{"type":"string","description":"Наименование склада"},"PriceKind":{"type":"string","description":"Вид цены"},"UUID":{"type":"string","format":"uuid","description":"UUID прайс-листа ПО"},"IsActive":{"type":"boolean","description":"Активен ли прайс-лист ПО"}}}}}},"OverDueContractorsReceivableList":{"type":"object","properties":{"result":{"type":"array","items":{"type":"object","properties":{"UUID":{"type":"string","format":"uuid","description":"UUID контрагента"},"INN":{"type":"string","description":"ИНН контрагента"},"KPP":{"type":"string","description":"КПП контрагента"},"McsOverDuePharmacyNetworkReceivable":{"type":"number","format":"float","description":"Просроченная дебиторская задолженность"}}}}}},"SalesDocumentList":{"type":"object","properties":{"result":{"type":"array","items":{"type":"object","properties":{"DocumentID":{"type":"string","format":"uuid","description":"UUID документа РТУ"},"Number":{"type":"string","description":"Номер документа"},"Date":{"type":"string","format":"date","description":"Дата документа РТУ"},"Amount":{"type":"number","format":"float","description":"Сумма документа РТУ"},"PharmacyID":{"type":"string","format":"uuid","description":"UUID аптеки"},"ContractID":{"type":"string","format":"uuid","description":"UUID договора"}}}}}},"OverDueSalesDocumentList":{"type":"object","properties":{"result":{"type":"array","items":{"type":"object","properties":{"DocumentID":{"type":"string","format":"uuid","description":"UUID документа РТУ"},"Number":{"type":"string","description":"Номер документа"},"Date":{"type":"string","format":"date","description":"Дата документа РТУ"},"Amount":{"type":"number","format":"float","description":"Сумма документа РТУ"},"PaymentPeriodDays":{"type":"number","description":"Количество дней отсрочки платежа"},"PayDate":{"type":"string","format":"date","description":"Рассчетная дата платежа"},"PharmacyID":{"type":"string","format":"uuid","description":"UUID аптеки"},"ContractID":{"type":"string","format":"uuid","description":"UUID договора"}}}}}},"SalesDocumentListPharmacyNet":{"type":"object","properties":{"result":{"type":"array","items":{"type":"object","properties":{"DocumentID":{"type":"string","format":"uuid","description":"UUID документа РТУ"},"Number":{"type":"string","description":"Номер документа"},"Date":{"type":"string","format":"datetime","description":"Дата документа РТУ"},"Amount":{"type":"number","format":"float","description":"Сумма задолженности"},"ContractorID":{"type":"string","format":"uuid","description":"UUID контрагента"},"Contract":{"type":"string","description":"Наименование договора"},"ContractID":{"type":"string","format":"uuid","description":"UUID договора"}}}}}},"OrdersDocumentListPharmacyNet":{"type":"object","properties":{"result":{"type":"array","items":{"type":"object","properties":{"DocumentID":{"type":"string","format":"uuid","description":"Ссылка на документ Заказ клиента"},"Date":{"type":"string","format":"date","description":"Дата документа"},"Number":{"type":"string","description":"Номер документа"},"Accepted":{"type":"boolean","description":"Документ проведен"},"Deleted":{"type":"boolean","description":"Документ помечен на удаление"},"Status":{"type":"string","description":"Статус документа"},"PharmacyID":{"type":"string","format":"uuid","description":"GUID аптеки из документа Заказа клиента"},"ContractorID":{"type":"string","format":"uuid","description":"GUID контрагента из документа Заказа клиента"},"OrganisationName":{"type":"string","description":"Наименование организации"},"ContractName":{"type":"string","description":"Наименование договора"},"WarehouseName":{"type":"string","description":"Наименование склада"},"Comment":{"type":"string","description":"Комментарий к заказу"},"Product":{"type":"array","description":"Товары заказа","items":{"type":"object","properties":{"VendorCode":{"type":"string","description":"Артикул"},"ProductName":{"type":"string","description":"Наименование номенклатуры"},"Unit":{"type":"string","description":"Единица измерения"},"Quantity":{"type":"number","description":"Количество"},"ManufacturerCountryName":{"type":"string","description":"Наименование страны производителя"},"ManufacturerName":{"type":"string","description":"Наименование производителя"},"Canceled":{"type":"boolean","description":"Позиция отменена"},"Price":{"type":"number","description":"Цена"},"Amount":{"type":"number","description":"Сумма"}}}},"SalesDocuments":{"type":"array","items":{"type":"object","properties":{"Number":{"type":"string","description":"Номер РТУ"},"Date":{"type":"string","description":"Дата РТУ"}}}}}}}}},"Error":{"type":"object","properties":{"msg":{"type":"string","description":"Текст ошибки"}}}}}}