POST pools/{poolId}/stock

Adds an item to the pool's stock. (requires authentication). FREE

Request Information

URI Parameters

NameDescriptionTypeAdditional information
poolId

the swimming pool's id

integer

Required

Body Parameters

the product's EAN with its initial quantity

Flipr.Web.Api.Controllers.JsonWrappers.StockWrapper
NameDescriptionTypeAdditional information
EAN

Gets or sets the EAN

integer

None.

Brand

Gets or sets the brand

string

None.

Name

Gets or sets the product' name

string

None.

Quantity

Gets or sets the quantity as a percentage. The value range is [0,1]

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "EAN": 1,
  "Brand": "sample string 2",
  "Name": "sample string 3",
  "Quantity": 4.1
}

text/html

Sample:
{"EAN":1,"Brand":"sample string 2","Name":"sample string 3","Quantity":4.1}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Return if the operation has been released successfully.

None.