POST api/v1/clublevels/{code}/config/storepoints

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

Body Parameters

StorePointsConfig
NameDescriptionTypeAdditional information
ModeMovementCaducity

ModeMovementCaducity

None.

Time

integer

None.

CaducityByYear

CaducityByYear

None.

IsActiveStorePoints

boolean

None.

RateOfConversionFromMoneyToPoints

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "modeMovementCaducity": 0,
  "time": 1,
  "caducityByYear": 0,
  "isActiveStorePoints": true,
  "rateOfConversionFromMoneyToPoints": 2
}

application/xml, text/xml

Sample:
<StorePointsConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <CaducityByYear>Yearly</CaducityByYear>
  <IsActiveStorePoints>true</IsActiveStorePoints>
  <ModeMovementCaducity>None</ModeMovementCaducity>
  <RateOfConversionFromMoneyToPoints>2</RateOfConversionFromMoneyToPoints>
  <Time>1</Time>
</StorePointsConfig>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.