POST api/BundleOrders

Request Information

URI Parameters

None.

Body Parameters

BundleOrderRequestModel
NameDescriptionTypeAdditional information
OrderIds

string

None.

FulfillmentTypeId

integer

None.

PickupDate

date

None.

ServingSchoolId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderIds": "sample string 1",
  "FulfillmentTypeId": 2,
  "PickupDate": "2025-12-06T03:50:34.1610417+00:00",
  "ServingSchoolId": "5132f73e-150a-4718-b506-ab9bf019a8d1"
}

application/xml, text/xml

Sample:
<BundleOrderRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Order">
  <FulfillmentTypeId>2</FulfillmentTypeId>
  <OrderIds>sample string 1</OrderIds>
  <PickupDate>2025-12-06T03:50:34.1610417+00:00</PickupDate>
  <ServingSchoolId>5132f73e-150a-4718-b506-ab9bf019a8d1</ServingSchoolId>
</BundleOrderRequestModel>

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

Response Information

Resource Description

BundleOrderResponseModel
NameDescriptionTypeAdditional information
BundleName

string

None.

BundleId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "BundleName": "sample string 1",
  "BundleId": 2
}

application/xml, text/xml

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