POST api/StateMasters

Request Information

URI Parameters

None.

Body Parameters

CustomStateMasterDCM
NameDescriptionTypeAdditional information
StateID

globally unique identifier

None.

State

string

None.

CountryID

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "StateID": "11ef5790-9908-497d-ab76-fadc503c5976",
  "State": "sample string 2",
  "CountryID": "12ec075b-fda5-44cb-9664-8a33289aa921"
}

application/xml, text/xml

Sample:
<CustomStateMasterDCM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRAApi.CustomModel">
  <CountryID>12ec075b-fda5-44cb-9664-8a33289aa921</CountryID>
  <State>sample string 2</State>
  <StateID>11ef5790-9908-497d-ab76-fadc503c5976</StateID>
</CustomStateMasterDCM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.