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": "670cdffa-3de6-490a-8a4a-cf122d94c5ff",
"key": "e067f819-2ee4-4f13-b2a7-769b0aaaa33e",
"pc_id": "238e20b7-cefc-4174-b980-a4ad1b67a8f0",
"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>670cdffa-3de6-490a-8a4a-cf122d94c5ff</id> <key>e067f819-2ee4-4f13-b2a7-769b0aaaa33e</key> <pc_id>238e20b7-cefc-4174-b980-a4ad1b67a8f0</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:
"e37d8e86-b8bd-4a03-a195-39df2ff2257c"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">e37d8e86-b8bd-4a03-a195-39df2ff2257c</guid>