POST api/pcconfigapi/add?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
None. |
Body Parameters
PcConfigViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
Required |
|
| id | globally unique identifier |
None. |
|
| key | globally unique identifier |
Required |
|
| pc_id | globally unique identifier |
Required |
|
| value | string |
String length: inclusive between 0 and 500 |
Request Formats
application/json, text/json
Sample:
{
"active": true,
"id": "02d09626-d16b-49b3-ae42-8c0ccc4a2730",
"key": "6fecb17d-dae4-4370-877c-5f20555d3e5f",
"pc_id": "7312e0b0-1258-4c83-83c9-01c044bae121",
"value": "sample string 3"
}
application/xml, text/xml
Sample:
<pc_config xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <id>02d09626-d16b-49b3-ae42-8c0ccc4a2730</id> <key>6fecb17d-dae4-4370-877c-5f20555d3e5f</key> <pc_id>7312e0b0-1258-4c83-83c9-01c044bae121</pc_id> <value>sample string 3</value> </pc_config>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"236dac3c-9315-4e56-b358-3aa5693d39a2"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">236dac3c-9315-4e56-b358-3aa5693d39a2</guid>