POST api/sysConfig/BatchSetConfig
Request Information
URI Parameters
None.
Body Parameters
SetConfigRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| listParam | Collection of SetConfigValue |
None. |
Request Formats
application/json, text/json
Sample:
{
"listParam": [
{
"paramId": "sample string 1",
"paramValue": "sample string 2"
},
{
"paramId": "sample string 1",
"paramValue": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<SetConfigRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Football.WebApi.Controllers">
<listParam>
<SetConfigValue>
<paramId>sample string 1</paramId>
<paramValue>sample string 2</paramValue>
</SetConfigValue>
<SetConfigValue>
<paramId>sample string 1</paramId>
<paramValue>sample string 2</paramValue>
</SetConfigValue>
</listParam>
</SetConfigRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
text/plain
Sample:
Sample not available.
Response Information
Resource Description
ResultMsg| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| message | string |
None. |
|
| code | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"message": "sample string 2",
"code": 3
}
application/xml, text/xml
Sample:
<ResultMsg xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Football.Model"> <Code>3</Code> <Message>sample string 2</Message> <Success>true</Success> </ResultMsg>