POST UpdateDefaultCountry
Request Information
URI Parameters
None.
Body Parameters
UpdateCountryRequestName | Description | Type | Additional information |
---|---|---|---|
SID | integer |
None. |
|
UserId | integer |
None. |
|
Country | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "SID": 1, "UserId": 2, "Country": [ "sample string 1", "sample string 2" ] }
text/html
Sample:
{"SID":1,"UserId":2,"Country":["sample string 1","sample string 2"]}
application/xml, text/xml
Sample:
<UpdateCountryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Settings"> <Country xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Country> <SID>1</SID> <UserId>2</UserId> </UpdateCountryRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseOfBooleanName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
Status | boolean |
None. |
|
Body | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "Status": true, "Body": true }
text/html
Sample:
{"Message":"sample string 1","Status":true,"Body":true}
application/xml, text/xml
Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common"> <Body>true</Body> <Message>sample string 1</Message> <Status>true</Status> </ResponseOfboolean>