POST API/Basket/UpdateSale
Request Information
URI Parameters
None.
Body Parameters
Sale| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| address | string |
None. |
|
| dateTime | date |
None. |
|
| amount | decimal number |
None. |
|
| isDelivery | boolean |
None. |
|
| isPayed | boolean |
None. |
|
| saleTypeID | integer |
None. |
|
| userID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"address": "sample string 2",
"dateTime": "2025-12-13T08:54:24.3648012+02:00",
"amount": 4.1,
"isDelivery": true,
"isPayed": true,
"saleTypeID": 7,
"userID": 8
}
application/xml, text/xml
Sample:
<Sale xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <ID>1</ID> <address>sample string 2</address> <amount>4.1</amount> <dateTime>2025-12-13T08:54:24.3648012+02:00</dateTime> <isDelivery>true</isDelivery> <isPayed>true</isPayed> <saleTypeID>7</saleTypeID> <userID>8</userID> </Sale>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.