POST api/AlacarteRestrictions

Request Information

URI Parameters

None.

Body Parameters

AlaCarteRestrictionsModel
NameDescriptionTypeAdditional information
PersonId

globally unique identifier

None.

DailyAmt

decimal number

None.

WeeklyAmt

decimal number

None.

MonthlyAmt

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": "07dff1c5-1fe6-4f51-9597-f0f5a130bdb6",
  "DailyAmt": 1.0,
  "WeeklyAmt": 1.0,
  "MonthlyAmt": 1.0
}

application/xml, text/xml

Sample:
<AlaCarteRestrictionsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Students">
  <DailyAmt>1</DailyAmt>
  <MonthlyAmt>1</MonthlyAmt>
  <PersonId>07dff1c5-1fe6-4f51-9597-f0f5a130bdb6</PersonId>
  <WeeklyAmt>1</WeeklyAmt>
</AlaCarteRestrictionsModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AlaCarteRestrictionsModel'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>