PUT api/Location/Update
Request Information
URI Parameters
None.
Body Parameters
LocationName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Address | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
ZipCode | string |
None. |
|
Country | string |
None. |
|
LocationName | string |
None. |
|
CompanyID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Address": "sample string 2", "City": "sample string 3", "State": "sample string 4", "ZipCode": "sample string 5", "Country": "sample string 6", "LocationName": "sample string 7", "CompanyID": 8 }
application/xml, text/xml
Sample:
<Location xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KSolApi.Models"> <Address>sample string 2</Address> <City>sample string 3</City> <CompanyID>8</CompanyID> <Country>sample string 6</Country> <Id>1</Id> <LocationName>sample string 7</LocationName> <State>sample string 4</State> <ZipCode>sample string 5</ZipCode> </Location>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
ResponseMsg | string |
None. |
|
Data | Object |
None. |
|
Token | string |
None. |
|
IsSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "ResponseMsg": "sample string 2", "Data": {}, "Token": "sample string 4", "IsSuccess": true }
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KSolApi.GlobalLogics"> <Data /> <IsSuccess>true</IsSuccess> <ResponseMsg>sample string 2</ResponseMsg> <Status>1</Status> <Token>sample string 4</Token> </Response>