POST api/shipments/updatefields

Request Information

URI Parameters

None.

Body Parameters

Collection of ShipFieldModel
NameDescriptionTypeAdditional information
ShipId

integer

None.

ClientId

integer

None.

FieldName

string

None.

Value

string

None.

OldValue

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ShipId": 1,
    "ClientId": 2,
    "FieldName": "sample string 3",
    "Value": "sample string 4",
    "OldValue": "sample string 5"
  },
  {
    "ShipId": 1,
    "ClientId": 2,
    "FieldName": "sample string 3",
    "Value": "sample string 4",
    "OldValue": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfShipFieldModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ShipFieldModel>
    <ShipId>1</ShipId>
    <ClientId>2</ClientId>
    <FieldName>sample string 3</FieldName>
    <Value>sample string 4</Value>
    <OldValue>sample string 5</OldValue>
  </ShipFieldModel>
  <ShipFieldModel>
    <ShipId>1</ShipId>
    <ClientId>2</ClientId>
    <FieldName>sample string 3</FieldName>
    <Value>sample string 4</Value>
    <OldValue>sample string 5</OldValue>
  </ShipFieldModel>
</ArrayOfShipFieldModel>

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 'List`1'.

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.