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": "d68dd9eb-7db5-457c-944f-6dbafbdaca84",
"key": "60f67485-2f37-4f2c-a66a-74b4206902f5",
"pc_id": "532584fd-6234-482d-918d-ab43408fba87",
"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>d68dd9eb-7db5-457c-944f-6dbafbdaca84</id> <key>60f67485-2f37-4f2c-a66a-74b4206902f5</key> <pc_id>532584fd-6234-482d-918d-ab43408fba87</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:
"f06a4b28-eeea-4380-be58-ce6706b55bd7"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">f06a4b28-eeea-4380-be58-ce6706b55bd7</guid>