POST api/pcconfigapi/addMany?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
None. |
Body Parameters
Collection of 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": "f24c2d28-d064-4c1c-962a-88479bba4c4e",
"key": "f1caaa88-6226-4f0c-87e7-5ff4eb7f794b",
"pc_id": "77ed2f97-31b6-4f54-a099-8fa21e93ad6e",
"value": "sample string 3"
},
{
"active": true,
"id": "f24c2d28-d064-4c1c-962a-88479bba4c4e",
"key": "f1caaa88-6226-4f0c-87e7-5ff4eb7f794b",
"pc_id": "77ed2f97-31b6-4f54-a099-8fa21e93ad6e",
"value": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfpc_config xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<pc_config>
<active>true</active>
<id>f24c2d28-d064-4c1c-962a-88479bba4c4e</id>
<key>f1caaa88-6226-4f0c-87e7-5ff4eb7f794b</key>
<pc_id>77ed2f97-31b6-4f54-a099-8fa21e93ad6e</pc_id>
<value>sample string 3</value>
</pc_config>
<pc_config>
<active>true</active>
<id>f24c2d28-d064-4c1c-962a-88479bba4c4e</id>
<key>f1caaa88-6226-4f0c-87e7-5ff4eb7f794b</key>
<pc_id>77ed2f97-31b6-4f54-a099-8fa21e93ad6e</pc_id>
<value>sample string 3</value>
</pc_config>
</ArrayOfpc_config>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.