POST api/StateMaster/UploadDetail
Request Information
URI Parameters
None.
Body Parameters
Collection of C_StateMaster| Name | 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
},
{
"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:
<ArrayOfC_StateMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models">
<C_StateMaster>
<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>
<C_StateMaster>
<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>
</ArrayOfC_StateMaster>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |