POST api/poolDepartmentItemapi/add?siteId={siteId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
None. |
Body Parameters
PoolDepartmentItemViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| date | date |
Required |
|
| active | boolean |
Required |
|
| department_item_id | globally unique identifier |
Required |
|
| id | globally unique identifier |
None. |
|
| quantity | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"date": "2025-12-24T06:17:35.2761386+00:00",
"active": true,
"department_item_id": "c504d6d1-abe3-4779-8653-de343aa171f4",
"id": "ed25d3bf-dec2-450d-879b-b50c12f0ed1c",
"quantity": 5
}
application/xml, text/xml
Sample:
<pool_department_item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <date>2025-12-24T06:17:35.2761386+00:00</date> <department_item_id>c504d6d1-abe3-4779-8653-de343aa171f4</department_item_id> <id>ed25d3bf-dec2-450d-879b-b50c12f0ed1c</id> <quantity>5</quantity> </pool_department_item>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
globally unique identifierResponse Formats
application/json, text/json
Sample:
"29baad7b-6b29-499d-b2a7-65c0a6492d8d"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">29baad7b-6b29-499d-b2a7-65c0a6492d8d</guid>