POST api/Catering/SendExpenseAsync
Request Information
URI Parameters
None.
Body Parameters
SendExpenseInput| Name | Description | Type | Additional information |
|---|---|---|---|
| CateringOrderId | integer |
None. |
|
| ExpenseCreateDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"cateringOrderId": 1,
"expenseCreateDate": "2026-01-28T13:43:53.0206929+00:00"
}
text/html
Sample:
{"cateringOrderId":1,"expenseCreateDate":"2026-01-28T13:43:53.0206929+00:00"}
application/xml, text/xml
Sample:
<SendExpenseInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Models.PeakApi"> <CateringOrderId>1</CateringOrderId> <ExpenseCreateDate>2026-01-28T13:43:53.0206929+00:00</ExpenseCreateDate> </SendExpenseInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ExpenseResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Message | string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"errorMessage": "sample string 3"
}
text/html
Sample:
{"code":1,"message":"sample string 2","errorMessage":"sample string 3"}
application/xml, text/xml
Sample:
<ExpenseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Models.PeakApi"> <Code>1</Code> <ErrorMessage>sample string 3</ErrorMessage> <Message>sample string 2</Message> </ExpenseResponse>