PUT api/Orders/UpdateOrderStatus/{orderNumber}/{password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderNumber

string

Required

password

string

Required

Body Parameters

OrderStatusUpdateModel
NameDescriptionTypeAdditional information
orderNumber

string

Required

orderStatus

OrderStatus

Required

dateOfService

date

None.

Request Formats

application/json, text/json

Sample:
{
  "orderNumber": "sample string 1",
  "orderStatus": 0,
  "dateOfService": "2021-02-25T22:36:24.8541631-08:00"
}

application/xml, text/xml

Sample:
<OrderStatusUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.Api.Models">
  <dateOfService>2021-02-25T22:36:24.8541631-08:00</dateOfService>
  <orderNumber>sample string 1</orderNumber>
  <orderStatus>Unsent</orderStatus>
</OrderStatusUpdateModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderStatusUpdateModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.