POST, GET | /v2/Documents_Download |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
StartDateTime | body | DateTime? | No | |
FieldStrategy | body | FieldStrategy | No | |
PageSize | body | int | No | |
Cursor | body | string | No |
Date | |
UpdateDate |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Documents | form | List<DocumentsList> | No | |
Cursor | form | string | No | |
HasNext | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
message_id | form | string | No | |
sender | form | string | No | |
receiver | form | string | No | |
type | form | string | No | |
status | form | DocumentStatus | No | |
date | form | DateTime | No | |
num | form | string | No | |
sum | form | decimal | No | |
currencyId | form | string | No | |
hash | form | string | No | |
addProps | form | string | No | |
file_attached | form | bool | No | |
is_new | form | bool | No | |
company | form | string | No | |
branch | form | string | No | |
message | form | string | No | |
update_date | form | DateTime | No | |
comment | form | string | No | |
file_id | form | string | No | |
marketplace | form | string | No | |
delivery_date | form | DateTime | No | |
marketplace_status | form | string | No | |
huckster_status | form | string | No | |
cancel_date | form | DateTime | No | |
canceled_after_delivery | form | bool | No | |
marketplace_id | form | string | No | |
marketplace_posting_number | form | string | No | |
marketplace_substatus | form | string | No | |
payment_type | form | string | No | |
payment_method | form | string | No | |
trademark | form | string | No | |
marketplace_account | form | string | No | |
marketplace_shop_id | form | string | No | |
marketplace_express | form | bool | No | |
marketplace_warehouse_id | form | string | No | |
marketplace_warehouse_name | form | string | No | |
marketplace_delivery_method | form | string | No | |
marketplace_pre_posting_number | form | string | No | |
itemsInfo | form | DocumentItemsInfo | No | |
client_order_number | form | string | No |
new | |
transmitted | |
processed | |
canceled | |
agreement | |
confirmed | |
shipped | |
closed | |
draft |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
firstItem | form | TeleportDocumentTable | No | |
itemsQuantity | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
owner | form | string | No | |
id | form | string | No | |
uid | form | string | No | |
code | form | string | No | |
article | form | string | No | |
name | form | string | No | |
unit | form | string | No | |
quantity | form | decimal | No | |
confirmed | form | decimal | No | |
price | form | decimal | No | |
sum | form | decimal | No | |
trademark | form | string | No | |
props | form | List<TeleportDocumentPropsValue> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
name | form | string | No | |
value | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v2/Documents_Download HTTP/1.1
Host: wbs.e-teleport.ru
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"StartDateTime":"0001-01-01T00:00:00.0000000","FieldStrategy":"Date","PageSize":0,"Cursor":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Documents":[{"message_id":"String","sender":"String","receiver":"String","type":"String","status":"new","date":"0001-01-01T00:00:00.0000000","num":"String","sum":0,"currencyId":"String","hash":"String","addProps":"String","file_attached":false,"is_new":false,"company":"String","branch":"String","message":"String","update_date":"0001-01-01T00:00:00.0000000","comment":"String","file_id":"String","marketplace":"String","delivery_date":"0001-01-01T00:00:00.0000000","marketplace_status":"String","huckster_status":"String","cancel_date":"0001-01-01T00:00:00.0000000","canceled_after_delivery":false,"marketplace_id":"String","marketplace_posting_number":"String","marketplace_substatus":"String","payment_type":"String","payment_method":"String","trademark":"String","marketplace_account":"String","marketplace_shop_id":"String","marketplace_express":false,"marketplace_warehouse_id":"String","marketplace_warehouse_name":"String","marketplace_delivery_method":"String","marketplace_pre_posting_number":"String","itemsInfo":{"firstItem":{"owner":"String","id":"String","uid":"String","code":"String","article":"String","name":"String","unit":"String","quantity":0,"confirmed":0,"price":0,"sum":0,"trademark":"String","props":[{"name":"String","value":"String"}]},"itemsQuantity":0},"client_order_number":"String"}],"Cursor":"String","HasNext":false}