POST api/Gateway/updateSettings
Request Information
URI Parameters
None.
Body Parameters
FarmSettings| Name | Description | Type | Additional information |
|---|---|---|---|
| Memu_instance | integer |
None. |
|
| F_id | integer |
None. |
|
| Pc | integer |
None. |
|
| C_id | integer |
None. |
|
| Gathering | string |
None. |
|
| Healing | string |
None. |
|
| Wallcheck | string |
None. |
|
| Plantation | string |
None. |
|
| Plantation_store | string |
None. |
|
| Upgrade | string |
None. |
|
| Clan_collaboration | string |
None. |
|
| Training | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Memu_instance": 1,
"F_id": 2,
"Pc": 3,
"C_id": 4,
"Gathering": "sample string 5",
"Healing": "sample string 6",
"Wallcheck": "sample string 7",
"Plantation": "sample string 8",
"Plantation_store": "sample string 9",
"Upgrade": "sample string 10",
"Clan_collaboration": "sample string 11",
"Training": "sample string 12"
}
application/xml, text/xml
Sample:
<FarmSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models"> <C_id>4</C_id> <Clan_collaboration>sample string 11</Clan_collaboration> <F_id>2</F_id> <Gathering>sample string 5</Gathering> <Healing>sample string 6</Healing> <Memu_instance>1</Memu_instance> <Pc>3</Pc> <Plantation>sample string 8</Plantation> <Plantation_store>sample string 9</Plantation_store> <Training>sample string 12</Training> <Upgrade>sample string 10</Upgrade> <Wallcheck>sample string 7</Wallcheck> </FarmSettings>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | integer |
None. |
|
| c_Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Type": 1,
"c_Id": 2
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models"> <Type>1</Type> <c_Id>2</c_Id> </Response>