POST api/Calculators/Volume

Request Information

URI Parameters

None.

Body Parameters

PoolVolumeCalculation
NameDescriptionTypeAdditional information
Length

decimal number

None.

Width

decimal number

None.

Depth

decimal number

None.

Radius

decimal number

None.

GalMultiplier

decimal number

None.

ShapeTypes

PoolShapes

None.

Shape

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Length": 1.1,
  "Width": 2.1,
  "Depth": 3.1,
  "Radius": 4.1,
  "GalMultiplier": 7.48,
  "ShapeTypes": {
    "Rectangle": "RECTANGLE",
    "Circle": "CIRCLE",
    "Oval": "OVAL",
    "Kidney": "KIDNEY",
    "Octagonal": "OCTAGONAL"
  },
  "Shape": "sample string 5"
}

application/xml, text/xml

Sample:
<PoolVolumeCalculation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PAPApi.Models">
  <Depth>3.1</Depth>
  <Length>1.1</Length>
  <Radius>4.1</Radius>
  <Shape>sample string 5</Shape>
  <Width>2.1</Width>
</PoolVolumeCalculation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PoolVolumeResponse
NameDescriptionTypeAdditional information
Volume

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Volume": 1.1
}

application/xml, text/xml

Sample:
<PoolVolumeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PAPApi.Models">
  <Volume>1.1</Volume>
</PoolVolumeResponse>