POST api/SpecialInstructions

Request Information

URI Parameters

None.

Body Parameters

SpecialInstructionsModel
NameDescriptionTypeAdditional information
PersonId

globally unique identifier

None.

SpecialInstructions

string

None.

SchoolCafeUserId

integer

None.

Username

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": "8da4095f-bc5c-4489-aa68-80bdfd1f11ac",
  "SpecialInstructions": "sample string 2",
  "SchoolCafeUserId": 1,
  "Username": "sample string 3"
}

application/xml, text/xml

Sample:
<SpecialInstructionsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Students">
  <PersonId>8da4095f-bc5c-4489-aa68-80bdfd1f11ac</PersonId>
  <SchoolCafeUserId>1</SchoolCafeUserId>
  <SpecialInstructions>sample string 2</SpecialInstructions>
  <Username>sample string 3</Username>
</SpecialInstructionsModel>

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 'SpecialInstructionsModel'.

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>