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": "19dd7d57-2a43-4f23-b8c9-1e6df8940b15",
"cleanroom_id": "c925158e-0772-4359-9c34-e98092edf2f7",
"description": "sample string 3",
"id": "2cfc8f2f-284f-42f7-9153-db4a9d80da69",
"ip_address": "sample string 5",
"particle_counter_type_id": "72aff189-8564-4a34-a6ab-50e061dbaa7c",
"site_id": "f31e083a-5a44-4cc3-be69-7274335a28d7"
}
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>19dd7d57-2a43-4f23-b8c9-1e6df8940b15</anatype_id> <cleanroom_id>c925158e-0772-4359-9c34-e98092edf2f7</cleanroom_id> <description>sample string 3</description> <id>2cfc8f2f-284f-42f7-9153-db4a9d80da69</id> <ip_address>sample string 5</ip_address> <particle_counter_type_id>72aff189-8564-4a34-a6ab-50e061dbaa7c</particle_counter_type_id> <site_id>f31e083a-5a44-4cc3-be69-7274335a28d7</site_id> </particle_counter>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"e2e9d856-187d-4a8e-a91d-3d2f3098a8e7"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">e2e9d856-187d-4a8e-a91d-3d2f3098a8e7</guid>