POST api/rates/updatefields

Request Information

URI Parameters

None.

Body Parameters

Collection of RateFieldModel
NameDescriptionTypeAdditional information
RateId

integer

None.

FieldName

string

None.

Value

string

None.

OldValue

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ArrayOfRateFieldModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <RateFieldModel>
    <RateId>1</RateId>
    <FieldName>sample string 2</FieldName>
    <Value>sample string 3</Value>
    <OldValue>sample string 4</OldValue>
  </RateFieldModel>
  <RateFieldModel>
    <RateId>1</RateId>
    <FieldName>sample string 2</FieldName>
    <Value>sample string 3</Value>
    <OldValue>sample string 4</OldValue>
  </RateFieldModel>
</ArrayOfRateFieldModel>

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.