POST API/Orders/ReOrder?key={key}
orderId greater than 0 -> Success 2 -> Required field is empty -3 -> Currency not exist -4 -> Coupon not valid -5 -> Coupon used -6 -> Coupon greater than the total -7 -> Order Null -1 -> Error
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
Body Parameters
ReOrderVmodel| Name | Description | Type | Additional information |
|---|---|---|---|
| orderId | integer |
None. |
|
| paymentMethodId | integer |
None. |
|
| shiftId | integer |
None. |
|
| appLang | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"orderId": 1,
"paymentMethodId": 2,
"shiftId": 3,
"appLang": "sample string 4"
}
text/html
Sample:
{"orderId":1,"paymentMethodId":2,"shiftId":3,"appLang":"sample string 4"}
application/xml, text/xml
Sample:
<ReOrderVmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MubarkiyaApi.Models"> <appLang>sample string 4</appLang> <orderId>1</orderId> <paymentMethodId>2</paymentMethodId> <shiftId>3</shiftId> </ReOrderVmodel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |