POST api/Catering/SendExpenseAsync
Request Information
URI Parameters
None.
Body Parameters
SendExpenseInputName | Description | Type | Additional information |
---|---|---|---|
CateringOrderId | integer |
None. |
|
ExpenseCreateDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "cateringOrderId": 1, "expenseCreateDate": "2025-08-28T13:49:46.2058571+00:00" }
text/html
Sample:
{"cateringOrderId":1,"expenseCreateDate":"2025-08-28T13:49:46.2058571+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>2025-08-28T13:49:46.2058571+00:00</ExpenseCreateDate> </SendExpenseInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ExpenseResponseName | 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>