POST api/poolapi/add?siteId={siteId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

globally unique identifier

None.

Body Parameters

PoolViewModel
NameDescriptionTypeAdditional information
active

boolean

Required

description

string

Required

String length: inclusive between 0 and 250

id

globally unique identifier

None.

site_id

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "active": true,
  "description": "sample string 2",
  "id": "f4d02ed0-a972-44b4-ac68-51ae8d0fe508",
  "site_id": "51312f10-59dd-42d6-a2ed-c9cec5290435"
}

application/xml, text/xml

Sample:
<pool xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <active>true</active>
  <description>sample string 2</description>
  <id>f4d02ed0-a972-44b4-ac68-51ae8d0fe508</id>
  <site_id>51312f10-59dd-42d6-a2ed-c9cec5290435</site_id>
</pool>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"7d5e1684-51fc-45c1-826e-5b3d1c675ad6"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7d5e1684-51fc-45c1-826e-5b3d1c675ad6</guid>