| POST | /deleteFromCart |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GlobalId | body | long | 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /deleteFromCart HTTP/1.1
Host: api.oszz.ru
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
globalId: 0,
tokenId: 00000000000000000000000000000000
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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,
orderDate: 0001-01-01,
date: 0001-01-01,
state: Undefined,
stateTitle: String,
globalId: 0
}
}