POST api/particlecounterapi/add?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
None. |
Body Parameters
ParticleCounterViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
Required |
|
| anatype_id | globally unique identifier |
Required |
|
| cleanroom_id | globally unique identifier |
None. |
|
| description | string |
None. |
|
| id | globally unique identifier |
None. |
|
| ip_address | string |
Required |
|
| particle_counter_type_id | globally unique identifier |
Required |
|
| site_id | globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{
"active": true,
"anatype_id": "468d3613-10bf-4051-9f3f-c3b75ee4d73a",
"cleanroom_id": "3ee9d7e7-39c7-476a-a789-242a6e0f617d",
"description": "sample string 3",
"id": "0601baeb-d6b0-4871-bf59-1384ec042733",
"ip_address": "sample string 5",
"particle_counter_type_id": "77bf8044-f5a2-4998-938f-ef041ea219b5",
"site_id": "7329723e-0f54-4a59-b3f6-7f09593c1ab7"
}
application/xml, text/xml
Sample:
<particle_counter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <anatype_id>468d3613-10bf-4051-9f3f-c3b75ee4d73a</anatype_id> <cleanroom_id>3ee9d7e7-39c7-476a-a789-242a6e0f617d</cleanroom_id> <description>sample string 3</description> <id>0601baeb-d6b0-4871-bf59-1384ec042733</id> <ip_address>sample string 5</ip_address> <particle_counter_type_id>77bf8044-f5a2-4998-938f-ef041ea219b5</particle_counter_type_id> <site_id>7329723e-0f54-4a59-b3f6-7f09593c1ab7</site_id> </particle_counter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"ed2391d7-c6c6-4b1a-badd-a1a65206acd6"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">ed2391d7-c6c6-4b1a-badd-a1a65206acd6</guid>