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 100 |
Request Formats
application/json, text/json
Sample:
{
"active": true,
"id": "5862692c-207d-4c38-b1a9-5a3f6747bb85",
"key": "526b332c-5886-4269-adf9-016c4745d707",
"pc_id": "63d926a3-fcb7-49a4-8b5e-5b46188e57fe",
"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>5862692c-207d-4c38-b1a9-5a3f6747bb85</id> <key>526b332c-5886-4269-adf9-016c4745d707</key> <pc_id>63d926a3-fcb7-49a4-8b5e-5b46188e57fe</pc_id> <value>sample string 3</value> </pc_config>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"94e606d6-7245-4e26-9bd4-4a3797a87dba"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">94e606d6-7245-4e26-9bd4-4a3797a87dba</guid>