POST api/PurchaseRestrictions
Request Information
URI Parameters
None.
Body Parameters
PersonRestrictionsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonId | globally unique identifier |
None. |
|
| CashValue | string |
None. |
|
| DebitValue | string |
None. |
|
| MaxAlacarte | integer |
None. |
|
| SpecialInstructions | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PersonId": "58b1f658-5cf6-40b6-b247-431d90d6e424",
"CashValue": "sample string 2",
"DebitValue": "sample string 3",
"MaxAlacarte": 4,
"SpecialInstructions": "sample string 5"
}
application/xml, text/xml
Sample:
<PersonRestrictionsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Students"> <CashValue>sample string 2</CashValue> <DebitValue>sample string 3</DebitValue> <MaxAlacarte>4</MaxAlacarte> <PersonId>58b1f658-5cf6-40b6-b247-431d90d6e424</PersonId> <SpecialInstructions>sample string 5</SpecialInstructions> </PersonRestrictionsModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>