POST api/DeliveryPartner/AddExpense
Request Information
URI Parameters
None.
Body Parameters
AddExpenseReq| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | integer |
None. |
|
| orderId | integer |
None. |
|
| Date | date |
None. |
|
| Title | string |
None. |
|
| Category | string |
None. |
|
| Amount | decimal number |
None. |
|
| DocumentPhoto | string |
None. |
|
| Note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": 1,
"orderId": 1,
"Date": "2025-12-31T16:17:23.82238-08:00",
"Title": "sample string 1",
"Category": "sample string 2",
"Amount": 1.0,
"DocumentPhoto": "sample string 3",
"Note": "sample string 4"
}
application/xml, text/xml
Sample:
<AddExpenseReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cryobank.Models"> <Amount>1</Amount> <Category>sample string 2</Category> <Date>2025-12-31T16:17:23.82238-08:00</Date> <DocumentPhoto>sample string 3</DocumentPhoto> <Note>sample string 4</Note> <Title>sample string 1</Title> <orderId>1</orderId> <userId>1</userId> </AddExpenseReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.