PUT api/StateMaster
Request Information
URI Parameters
None.
Body Parameters
C_StateMasterName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
StateName | string |
None. |
|
StateAlias | string |
None. |
|
CountryId | integer |
None. |
|
UTFlag | integer |
None. |
|
Latitude | decimal number |
None. |
|
Longitude | decimal number |
None. |
|
StateCode | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "StateName": "sample string 2", "StateAlias": "sample string 3", "CountryId": 4, "UTFlag": 5, "Latitude": 6.0, "Longitude": 7.0, "StateCode": 8 }
application/xml, text/xml
Sample:
<C_StateMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <CountryId>4</CountryId> <Id>1</Id> <Latitude>6</Latitude> <Longitude>7</Longitude> <StateAlias>sample string 3</StateAlias> <StateCode>8</StateCode> <StateName>sample string 2</StateName> <UTFlag>5</UTFlag> </C_StateMaster>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |