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": "85a48701-6734-428e-9d65-cacacb04cd39",
"cleanroom_id": "2aa87005-5af5-4075-8a98-ea18402844c1",
"description": "sample string 3",
"id": "85c3f645-c45b-42a7-81d3-4d50b7e77d54",
"ip_address": "sample string 5",
"particle_counter_type_id": "f8fdc161-f9d1-433d-8b88-b9388bfbd47a",
"site_id": "5443ca4c-7484-47bc-8f88-b6534aed9417"
}
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>85a48701-6734-428e-9d65-cacacb04cd39</anatype_id> <cleanroom_id>2aa87005-5af5-4075-8a98-ea18402844c1</cleanroom_id> <description>sample string 3</description> <id>85c3f645-c45b-42a7-81d3-4d50b7e77d54</id> <ip_address>sample string 5</ip_address> <particle_counter_type_id>f8fdc161-f9d1-433d-8b88-b9388bfbd47a</particle_counter_type_id> <site_id>5443ca4c-7484-47bc-8f88-b6534aed9417</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:
"31de0ced-3ff8-4f3a-90e7-bd2f7eaea54b"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">31de0ced-3ff8-4f3a-90e7-bd2f7eaea54b</guid>