POST api/pcconfigapi/add?siteId={siteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

globally unique identifier

None.

Body Parameters

PcConfigViewModel
NameDescriptionTypeAdditional 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": "e4807cb4-0d34-41f5-8651-fffcd7790e9e",
  "key": "78922e73-9ca1-4cbd-85a5-d7abadc16089",
  "pc_id": "be71cc5f-44cf-42ff-aead-5e417fdc43ae",
  "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>e4807cb4-0d34-41f5-8651-fffcd7790e9e</id>
  <key>78922e73-9ca1-4cbd-85a5-d7abadc16089</key>
  <pc_id>be71cc5f-44cf-42ff-aead-5e417fdc43ae</pc_id>
  <value>sample string 3</value>
</pc_config>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"54aab39c-4a20-403c-a401-2783b7442321"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">54aab39c-4a20-403c-a401-2783b7442321</guid>