POST api/PostPersonOrderDeclinineReason
Request Information
URI Parameters
None.
Body Parameters
PostOrderDeclineModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BuyerId | globally unique identifier |
None. |
|
| OrderDate | date |
None. |
|
| MealTypeId | integer |
None. |
|
| DeclineReasonId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"BuyerId": "c5f4518d-d97d-45d1-9106-6684e4a9545b",
"OrderDate": "2025-12-06T03:50:36.4365472+00:00",
"MealTypeId": 3,
"DeclineReasonId": 4
}
application/xml, text/xml
Sample:
<PostOrderDeclineModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Order"> <BuyerId>c5f4518d-d97d-45d1-9106-6684e4a9545b</BuyerId> <DeclineReasonId>4</DeclineReasonId> <MealTypeId>3</MealTypeId> <OrderDate>2025-12-06T03:50:36.4365472+00:00</OrderDate> </PostOrderDeclineModel>
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>