| GET, POST | /searchCart |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Q | body | string | No | |
| TokenId | body | Guid | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | CartItemModel[] | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SupplierAliasId | form | Guid | No | |
| OrderItemId | form | Guid | No | |
| ManufacturerTitle | form | string | No | |
| ProductId | form | Guid | No | |
| ProductNumber | form | string | No | |
| ProductTitle | form | string | No | |
| Quantity | form | int | No | |
| Pack | form | int | No | |
| Price | form | decimal | No | |
| Comment | form | string | No | |
| PriceListLogo | form | string | No | |
| Delivery | form | string | No | |
| ExpectedDeliveryDays | form | int | No | |
| GuaranteedDeliveryDays | form | int | No | |
| IsCash | form | bool | No | |
| UseSchedule | form | bool | No | |
| DeliveryDate | form | DateTime? | No | |
| OrderDate | form | DateTime? | No | |
| Date | form | DateTime | No | |
| State | form | OrderItemState | No | |
| StateTitle | form | string | No | |
| GlobalId | form | long | No |
| Undefined | |
| Sold | |
| Refused | |
| InOrder | |
| InSupplierCart | |
| Purchased | |
| NotDistributed | |
| InCart | |
| Ready | |
| Distributed | |
| SupplierRefused | |
| Archived | |
| GivingOutScan | |
| InProcessing | |
| Return | |
| Returned | |
| RefusedByClient | |
| PurchasedBySupplier | |
| InParentCart | |
| InSupplierWebCart | |
| WorkInSupplierWebCart | |
| Deficit |
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 /searchCart HTTP/1.1
Host: api.oszz.ru
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"q":"String","tokenId":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"result":[{"supplierAliasId":"00000000000000000000000000000000","orderItemId":"00000000000000000000000000000000","manufacturerTitle":"String","productId":"00000000000000000000000000000000","productNumber":"String","productTitle":"String","quantity":0,"pack":0,"price":0,"comment":"String","priceListLogo":"String","delivery":"String","expectedDeliveryDays":0,"guaranteedDeliveryDays":0,"isCash":false,"useSchedule":false,"deliveryDate":"0001-01-01 00:00:00","orderDate":"0001-01-01 00:00:00","date":"0001-01-01 00:00:00","state":"Undefined","stateTitle":"String","globalId":0}]}