POST api/GetFulfillmentTypes

Request Information

URI Parameters

None.

Body Parameters

FulfillmentTypesRequestModel
NameDescriptionTypeAdditional information
SchoolId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "SchoolId": "4f19ea7b-d6fc-4307-9a90-595ca9fd6d6f"
}

application/xml, text/xml

Sample:
<FulfillmentTypesRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Order">
  <SchoolId>4f19ea7b-d6fc-4307-9a90-595ca9fd6d6f</SchoolId>
</FulfillmentTypesRequestModel>

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

Response Information

Resource Description

Collection of FulfillmentTypesModel
NameDescriptionTypeAdditional information
OrdFulfillmentTypeId

integer

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "OrdFulfillmentTypeId": 1,
    "Description": "sample string 2"
  },
  {
    "OrdFulfillmentTypeId": 1,
    "Description": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFulfillmentTypesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Order">
  <FulfillmentTypesModel>
    <Description>sample string 2</Description>
    <OrdFulfillmentTypeId>1</OrdFulfillmentTypeId>
  </FulfillmentTypesModel>
  <FulfillmentTypesModel>
    <Description>sample string 2</Description>
    <OrdFulfillmentTypeId>1</OrdFulfillmentTypeId>
  </FulfillmentTypesModel>
</ArrayOfFulfillmentTypesModel>