PUT api/ShipmentOrder

Request Information

URI Parameters

None.

Body Parameters

UpdateShipmentOrderResource
NameDescriptionTypeAdditional information
IdShipmentOrder

integer

Required

ShipmentOrderStatus

ShipmentOrderStatus

Required

Invoice

string

Required

Max length: 60

Quantity

integer

Required

Comments

string

Max length: 8000

Request Formats

application/json, text/json

Sample:
{
  "IdShipmentOrder": 1,
  "ShipmentOrderStatus": 1,
  "Invoice": "sample string 2",
  "Quantity": 3,
  "Comments": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdateShipmentOrderResource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WkfGenericAPI.Models.Payloads.ShipmentOrder">
  <Comments>sample string 4</Comments>
  <IdShipmentOrder>1</IdShipmentOrder>
  <Invoice>sample string 2</Invoice>
  <Quantity>3</Quantity>
  <ShipmentOrderStatus>New</ShipmentOrderStatus>
</UpdateShipmentOrderResource>

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 'UpdateShipmentOrderResource'.

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.