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": "b360d47b-b49b-4dd0-b79a-51e9687a57c6",
"key": "a2a2e758-abda-4b49-8144-cae5e71bd01a",
"pc_id": "0e5c7e25-7c89-4ce2-8f8b-2b9d56b17a4e",
"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>b360d47b-b49b-4dd0-b79a-51e9687a57c6</id> <key>a2a2e758-abda-4b49-8144-cae5e71bd01a</key> <pc_id>0e5c7e25-7c89-4ce2-8f8b-2b9d56b17a4e</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:
"8390514b-e160-41e2-9c63-61efe73d75f6"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8390514b-e160-41e2-9c63-61efe73d75f6</guid>