Provid

catalogs
GET /catalogs/list/products
GET /catalogs/list/group-code
GET /catalogs/list/product-package
GET /catalogs/list/product-line
GET /catalogs/list/sku
GET /catalogs/list/region
GET /catalogs/list/warehouse
GET /catalogs/list/country
GET /catalogs/list/consignee
GET /catalogs/list/delivery-areas
GET /catalogs/list/expertise-inputs-types
GET /catalogs/list/prognosis-brands
GET /catalogs/list/prognosis-budget-classification
GET /catalogs/list/prognosis-classificator-fa
GET /catalogs/list/prognosis-categories
GET /catalogs/list/prognosis-contractor-type
GET /catalogs/list/prognosis-delivery-direction
GET /catalogs/list/prognosis-excise-group
GET /catalogs/list/prognosis-package-place
GET /catalogs/list/prognosis-package-type
GET /catalogs/list/prognosis-premium-levels
GET /catalogs/list/prognosis-product-segment
GET /catalogs/list/prognosis-production-place
GET /catalogs/list/prognosis-statuses
GET /catalogs/list/prognosis-tire-types
GET /catalogs/list/prognosis-types
GET /catalogs/list/prognosis-sale-channels
GET /catalogs/list/prognosis-segments
200 MultiSelectSearchResponse
Body
Array
Object
id
string
name
string
loadExpertiseInputProducts
GET /catalogs/list/products

Request parameters

search_value
string optional
ids
string optional

Responses

200 MultiSelectSearchResponse
loadGroupCode
GET /catalogs/list/group-code

Request parameters

search_value
string optional
ids
string optional

Responses

200 MultiSelectSearchResponse
loadProductPackage
GET /catalogs/list/product-package

Request parameters

search_value
string optional
ids
string optional

Responses

200 MultiSelectSearchResponse
loadProductLine
GET /catalogs/list/product-line

Request parameters

search_value
string optional
ids
string optional

Responses

200 MultiSelectSearchResponse
loadSku
GET /catalogs/list/sku

Request parameters

search_value
string optional
ids
string optional

Responses

200 MultiSelectSearchResponse
loadRegion
GET /catalogs/list/region

Request parameters

search_value
string optional
ids
string optional

Responses

200 MultiSelectSearchResponse
loadWarehouse
GET /catalogs/list/warehouse

Request parameters

search_value
string optional
ids
string optional

Responses

200 MultiSelectSearchResponse
loadCountry
GET /catalogs/list/country

Request parameters

search_value
string optional
ids
string optional

Responses

200 MultiSelectSearchResponse
loadConsignee
GET /catalogs/list/consignee

Request parameters

search_value
string optional
ids
string optional

Responses

200 MultiSelectSearchResponse
loadDeliveryAreas
GET /catalogs/list/delivery-areas

Request parameters

search_value
string optional
ids
string optional

Responses

200 MultiSelectSearchResponse
loadExpertiseInputsTypes
GET /catalogs/list/expertise-inputs-types

Responses

200 OK
Body
Array
Object
id
string
name
string
short_name
string
color
string
bg_color
string
loadPrognosisBrands
GET /catalogs/list/prognosis-brands

Responses

200 OK
Body
Array
Object
id
string
code
string
name
string
loadPrognosisBudgetClassification
GET /catalogs/list/prognosis-budget-classification

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisClassificatorFa
GET /catalogs/list/prognosis-classificator-fa

Responses

200 OK
Body
Array
Object
id
string
name
string
guid
number
loadPrognosisCategories
GET /catalogs/list/prognosis-categories

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisContractorType
GET /catalogs/list/prognosis-contractor-type

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisDeliveryDirection
GET /catalogs/list/prognosis-delivery-direction

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisExciseGroup
GET /catalogs/list/prognosis-excise-group

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisPackagePlace
GET /catalogs/list/prognosis-package-place

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisPackageType
GET /catalogs/list/prognosis-package-type

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisPremiumLevels
GET /catalogs/list/prognosis-premium-levels

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisProductSegment
GET /catalogs/list/prognosis-product-segment

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisProductionPlace
GET /catalogs/list/prognosis-production-place

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisStatuses
GET /catalogs/list/prognosis-statuses

Responses

200 OK
Body
Array
Object
id
string
name
string
color
string
loadPrognosisTareTypes
GET /catalogs/list/prognosis-tire-types

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisTypes
GET /catalogs/list/prognosis-types

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisSaleChannels
GET /catalogs/list/prognosis-sale-channels

Responses

200 OK
Body
Array
Object
id
string
name
string
loadPrognosisSegments
GET /catalogs/list/prognosis-segments

Responses

200 OK
Body
Array
Object
id
string
name
string
code
string
ExpertiseInputs
POST /expertise-inputs/id/write
GET /expertise-inputs/list
GET /expertise-inputs/id
POST /expertise-inputs/write
DELETE /expertise-inputs/id/delete
updateInUse
POST /expertise-inputs/id/write

Изменение параметра in_use в ЭВ

Request body

Object
in_use
boolean

Responses

200 OK
loadExpertiseInputs
GET /expertise-inputs/list

При запросе без параметров - возвращает список с ЭВ

Request parameters

ids
string optional

При запросе с параметрами - возвращает список с указанными ЭВ

Responses

200 OK
Body
loadExpertiseInput
GET /expertise-inputs/id

Загрузка конкретной ЭВ по id

Request parameters

id
string optional

Responses

200 OK
upsertExpertiseInput
POST /expertise-inputs/write

Добавляет вновь созданную ЭВ или полностью заменяет

Request body

Responses

200 OK
deleteExpertiseInput
DELETE /expertise-inputs/id/delete

Удаляет ЭВ по id

Responses

204 No Content
Jsons
ExpertiseInputJson
Object
id
string
Example:
string
number
number
name
string
Example:
string | null
type
string
Example:
string
impact
string
Example:
GROWTH | DECLINE
country
Array
Example:
["string"]
string
Example:
string
region
Array
Example:
["string"]
string
Example:
string
contractor_type
Array
Example:
["string"]
string
Example:
string
product
Array
Example:
["string"]
string
Example:
string
group_code
Array
Example:
["string"]
string
Example:
string
product_package
Array
Example:
["string"]
string
Example:
string
sku
Array
Example:
["string"]
string
Example:
string
happened
boolean
start_date
string
Example:
string
end_date
string
Example:
string
comment
string
Example:
string
prognosis_base
string
Example:
string
prognosis_opt
string
Example:
string
prognosis_pess
string
Example:
string
prognosis_general
string
Example:
string
monthly_change
string
Example:
string
probability
string
Example:
string
in_use
boolean
created_by_id
string
Example:
string
created_date
string
Example:
string
changed_date
string
Example:
string
Example 1
{}
Prognoses
GET /prognoses/id
GET /prognoses/id
POST /prognoses/id/write
POST /prognoses/id/write
POST /prognoses/id/write
GET /prognoses
POST /prognoses
POST /prognoses/queueId/write
POST /prognoses/id
GET /prognoses/id
POST /prognoses/queueId/write
getPrognosisReportFile
GET /prognoses/id

получаем xls с прогнозом на экране согласования

Responses

200 OK
Body
string
getReportQueryFile
GET /prognoses/id

получаем файл прогноза на экране с графиком по id

Responses

200 OK
Body
string
updatePrognosisComment
POST /prognoses/id/write

меняем коммент найденного прогноза по id

Request body

Object
comment
string
updateStatus
POST /prognoses/id/write

меняем status прогноза по id

Request body

Object
status
string
updateInUse
POST /prognoses/id/write

меняем поле status у найденного по id прогноза

Request body

Object
in_use
string
getPrognosisReports
GET /prognoses

получаем список прогнозов на согласование

Responses

200 OK
Body
Array of PrognosisJson
getPrognosisQueue
POST /prognoses

Отправляем созданный прогноз и получаем id очереди в мат. модели

Request body

Responses

200 OK
Body
Object
queue_id
string
getPrognosis
POST /prognoses/queueId/write

на основании полученного из матю модели queueId, получаем данные для прогноза

Request body

Object
queue_id
string

Responses

200 OK
getPrognosisByManualInput
POST /prognoses/id

отправляем id прогноза и фаил с вручную отредактированными данными и получаем данные для построяния графика

Request body

Object
id
string
file_manual_prognosis
Object
Example:
файл с прогнозом

Responses

200 OK
getPrognosisById
GET /prognoses/id

отправляем id и объект с фильтрами и получаем данные для построения графика

Request body

Object
id
string

Responses

200 OK
createPrognosisReport
POST /prognoses/queueId/write

отправляем queueId и получаем прогноз на согласование

Request body

Object
queue_id
string

Responses

201 Created
Jsons
CreatePrognosisJson

объект с данными прогноза, который передается в мат. модель

Object
type
string
categories
Array of string
forecasting_horizon
number
exponential_smoothing
number
seasonal_autoregression
number
file_statistic
Object

файл со статистическими данными

file_shipment
Object

файл с данными по отгрузкам

file_manual_prognosis
Object

файл с вручную введенными метриками

expert_input_ids
Array of string
created_by_id
string
in_use
boolean
name
string
PrognosesReportsJson
Object
properties
id
string
Example:
string
name
string
Example:
string
type
string
Example:
string
version
string
Example:
number
status
string
Example:
string
categories
Array
Example:
["string"]
string
Example:
string
forecasting_horizon
string
Example:
number
exponential_smoothing
string
Example:
number
seasonal_autoregression
string
Example:
number
contractor_type
string
Example:
string
file_statistic
string

файл со статистическими данными

Example:
FormData
file_shipment
string

файл с данными по отгрузке

Example:
FormData
file_manual_prognosis
string

файл с введенными вручную метриками

Example:
FormData
expert_input_ids
Array
Example:
["string"]
string
Example:
string
created_by_id
string
Example:
string
created_date
string
Example:
string
comment
string
Example:
string | null
in_use
boolean
additional properties
string
PrognosisResultJson

объект для работы с графиками и метриками

Object
chart_data
Array of ChartDataJson
chart_metrics
warnings
Array of string
ChartMetricsJson

объект с данными для метрик

Object
date
string
Example:
string
bias
string
Example:
string
accuracy
string
Example:
string
business_plan
string
Example:
string
previous_prognosis
string
Example:
string
base_prognosis
string
Example:
string
current_prognosis
string
Example:
string
PrognosisFilters
Object
product
Array
Example:
["string"]
string
Example:
string
group_code
Array
Example:
["string"]
string
Example:
string
product_package
Array
Example:
["string"]
string
Example:
string
sale_channel
Array
Example:
["string"]
string
Example:
string
segment
Array
Example:
["string"]
string
Example:
string
brand
Array
Example:
["string"]
string
Example:
string
tare_type
Array
Example:
["string"]
string
Example:
string
package_type
Array
Example:
["string"]
string
Example:
string
product_line
Array
Example:
["string"]
string
Example:
string
classificator_fa
Array
Example:
["string"]
string
Example:
string
categories
Array
Example:
["string"]
string
Example:
string
premium_levels
Array
Example:
["string"]
string
Example:
string
budget_classification
Array
Example:
["string"]
string
Example:
string
excise_group
Array
Example:
["string"]
string
Example:
string
product_segment
Array
Example:
["string"]
string
Example:
string
contractor_type
Array
Example:
["string"]
string
Example:
string
production_place
Array
Example:
["string"]
string
Example:
string
package_place
Array
Example:
["string"]
string
Example:
string
delivery_direction
Array
Example:
["string"]
string
Example:
string
sku
Array
Example:
["string"]
string
Example:
string
region
Array
Example:
["string"]
string
Example:
string
warehouse
Array
Example:
["string"]
string
Example:
string
country
Array
Example:
["string"]
string
Example:
string
client
Array
Example:
["string"]
string
Example:
string
consignee
Array
Example:
["string"]
string
Example:
string
delivery_areas
Array
Example:
["string"]
string
Example:
string
ChartDataJson

объект с данными для отрисовки графика

Object
date
string
Example:
string
value
string
Example:
number
name
string
Example:
string
type
string
Example:
string
index
string
Example:
number
PrognosisJson

данные для построения графика

Object
properties
id
string
Example:
string
name
string
Example:
string
type
string
Example:
string
version
string
Example:
number
status
string
Example:
string
categories
Array
Example:
["string"]
string
Example:
string
contractor_type
string
Example:
string
expert_input_ids
Array
Example:
["string"]
string
Example:
string
created_by_id
string
Example:
string
created_date
string
Example:
string
comment
string
Example:
string | null
in_use
boolean
additional properties
string