Skip to main content

Добавляет новую асинхронную задачу на экспорт продаж в csv.

POST 

/v5/orgs/:org_guid/async/exports/reportmoneys:new.csv

Добавляет новую асинхронную задачу на экспорт продаж в csv.

Request

Path Parameters

    org_guid uuidrequired

    Уникальный идентификатор организации

Header Parameters

    Accept-Language stringrequired

    Язык используемый для ответов

    Example: ru-RU
    X-LP-Client-Identifier stringrequired

    Идентификатор клиента

    Example: 7a67b02c-cf9f-4beb-be79-2dcd574abc5d
    X-LP-Client-Type stringrequired

    Possible values: [Unknown, App, WebApp, Service]

    Тип клиента

    Example: App
    X-LP-Client-Name string

    Имя клиента

    Example: Swagger
    X-LP-Client-OS-Name string

    ОС клиента

    Example: SwaggerDoc
    X-LP-Client-OS-Version string

    Версия ОС клиента

    Example: 1.0
    X-LP-Client-Screen-Resolution string

    Разрешение экрана ОС клиента

    Example: 1280x0900
    X-LP-Client-Model string

    Модель оборудования клиента

    Example: Chrome 75
    X-LP-Organization-Alias string

    Организация по умолчанию

    X-LP-Client-Extensions csv

    Поддерживаемые клиентом расширения моделей

Body

Параметры фильтрации и атрибуты

    attributes_for_export

    object

    include_legal_entity_name boolean
    include_outlet_name boolean
    include_brand_name boolean
    include_workplace_name boolean
    include_employee_name boolean
    include_customer_name boolean
    include_customer_contacts boolean
    include_deal_number boolean
    include_opened_at boolean
    include_operation_status boolean
    include_shipment_status boolean
    include_sale_status boolean
    include_sale_action_type boolean
    include_deal_comment boolean
    include_positions boolean
    include_goods_amount boolean
    include_position_discount boolean

    filters_for_export

    object

    date_from date-timenullable
    date_to date-timenullable

Responses

Success

Schema

    mime_type stringnullable
    report_export_type ReportExportType (string)required

    Possible values: [RevenueByPeriodsExcel, RevenueByOutletsPeriodsExcel, RevenueByEmploeesPeriodsExcel, RevenueByPeriodsCSV, RevenueByOutletsPeriodsCSV, RevenueByEmploeesPeriodsCSV, ReportTransactionExcel, ReportTransactionCSV, ReportFiscalDocumentExcel, ReportFiscalDocumentCSV, ReportMoneyOperationExcel, ReportMoneyOperationCSV, ReportPaymentAndRefundExcel, ReportPaymentAndRefundCSV, ReportCombinedExcel, ReportCombinedCSV, ReportNomenclatureResultExcel, ReportNomenclatureResultCSV]

    parameters

    object

    attributes_for_export

    object

    filters_for_export

    object

    date_from date-timenullable
    date_to date-timenullable
    status AsyncTaskStatuses (string)

    Possible values: [InQueue, InProgress, WaitingForFeedback, Completed, Canceled]

    progress int32

    resolutions

    object[]

    nullable

  • Array [

  • message stringnullable
    type ResolutionTypes (string)

    Possible values: [Information, Warning, Error]

  • ]

  • organization

    object

    guid uuid
    type_of stringnullable
    created_at date-time
    updated_at date-time
    deleted_at date-timenullable
    meta stringnullable

    Possible values: <= 128 characters

    meta_data

    object

    nullable

    property name* string
    guid uuid
    type_of stringnullable
Loading...