PUT api/Divisions/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

DivisionModel
NameDescriptionTypeAdditional information
DivisionID

integer

None.

ClientID

integer

None.

DivisionName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DivisionID": 1,
  "ClientID": 2,
  "DivisionName": "sample string 3"
}

application/xml, text/xml

Sample:
<DivisionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Employment">
  <ClientID>2</ClientID>
  <DivisionID>1</DivisionID>
  <DivisionName>sample string 3</DivisionName>
</DivisionModel>

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

Response Information

Resource Description

None.