POST api/Users/SaveUserLocations
Request Information
URI Parameters
None.
Body Parameters
UserLocations| Name | Description | Type | Additional information |
|---|---|---|---|
| UALID | integer |
None. |
|
| UserProfileID | integer |
None. |
|
| StateID | integer |
None. |
|
| DistrictID | integer |
None. |
|
| BlockID | integer |
None. |
|
| AsdID | integer |
None. |
|
| AsdName | string |
None. |
|
| StateName | string |
None. |
|
| DistrictName | string |
None. |
|
| BlockName | string |
None. |
|
| LanguageType | string |
None. |
|
| RefreshDateTime | string |
None. |
|
| Createdby | integer |
None. |
|
| Updatedby | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UALID": 1,
"UserProfileID": 2,
"StateID": 3,
"DistrictID": 4,
"BlockID": 5,
"AsdID": 6,
"AsdName": "sample string 7",
"StateName": "sample string 8",
"DistrictName": "sample string 9",
"BlockName": "sample string 10",
"LanguageType": "sample string 11",
"RefreshDateTime": "sample string 12",
"Createdby": 13,
"Updatedby": 14
}
application/xml, text/xml
Sample:
<UserLocations xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_USERS"> <AsdID>6</AsdID> <AsdName>sample string 7</AsdName> <BlockID>5</BlockID> <BlockName>sample string 10</BlockName> <Createdby>13</Createdby> <DistrictID>4</DistrictID> <DistrictName>sample string 9</DistrictName> <LanguageType>sample string 11</LanguageType> <RefreshDateTime>sample string 12</RefreshDateTime> <StateID>3</StateID> <StateName>sample string 8</StateName> <UALID>1</UALID> <Updatedby>14</Updatedby> <UserProfileID>2</UserProfileID> </UserLocations>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TransactionDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
None. |
|
| SuccessMessage | string |
None. |
|
| ErrorMessage | string |
None. |
|
| NewID | integer |
None. |
|
| FileUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"SuccessMessage": "sample string 2",
"ErrorMessage": "sample string 3",
"NewID": 4,
"FileUrl": "sample string 5"
}
application/xml, text/xml
Sample:
<TransactionDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_COMMON"> <ErrorMessage>sample string 3</ErrorMessage> <FileUrl>sample string 5</FileUrl> <IsSuccessful>true</IsSuccessful> <NewID>4</NewID> <SuccessMessage>sample string 2</SuccessMessage> </TransactionDetails>