POST api/RequestDaily/Post
Request Information
URI Parameters
None.
Body Parameters
RequestDailyEditDto| Name | Description | Type | Additional information |
|---|---|---|---|
| serviceEnum | ServiceEnum |
None. |
|
| statusEnum | RequestStatusEnum |
None. |
|
| carId | integer |
Required |
|
| requestDailySubList | Collection of RequestDailySubEditDto |
None. |
|
| key | integer |
None. |
|
| id | integer |
None. |
|
| isNew | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"serviceEnum": 1,
"statusEnum": 0,
"carId": 1,
"requestDailySubList": [
{
"startAddressId": 1,
"finishAddressId": 2,
"requestId": 3,
"itemIdx": 64,
"startAt": "2025-11-08T09:36:40.2210336-03:00",
"key": {
"RequestId": 1,
"ItemIdx": 2
},
"id": {
"RequestId": 1,
"ItemIdx": 2
},
"isNew": true
},
{
"startAddressId": 1,
"finishAddressId": 2,
"requestId": 3,
"itemIdx": 64,
"startAt": "2025-11-08T09:36:40.2210336-03:00",
"key": {
"RequestId": 1,
"ItemIdx": 2
},
"id": {
"RequestId": 1,
"ItemIdx": 2
},
"isNew": true
}
],
"key": 2,
"id": 2,
"isNew": true
}
application/xml, text/xml
Sample:
<RequestDailyEditDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OffDriver.Webapi.Models.Requesting">
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">2</key>
<carId>1</carId>
<requestDailySubList>
<RequestDailySubEditDto>
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns:d4p1="http://schemas.datacontract.org/2004/07/OffDriver.Entities.Model.Requesting" xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">
<d4p1:ItemIdx>2</d4p1:ItemIdx>
<d4p1:RequestId>1</d4p1:RequestId>
</key>
<itemIdx>64</itemIdx>
<requestId>3</requestId>
<startAt>2025-11-08T09:36:40.2210336-03:00</startAt>
<finishAddressId>2</finishAddressId>
<startAddressId>1</startAddressId>
</RequestDailySubEditDto>
<RequestDailySubEditDto>
<isNew xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">true</isNew>
<key xmlns:d4p1="http://schemas.datacontract.org/2004/07/OffDriver.Entities.Model.Requesting" xmlns="http://schemas.datacontract.org/2004/07/Zenite.Pi.Web.Models">
<d4p1:ItemIdx>2</d4p1:ItemIdx>
<d4p1:RequestId>1</d4p1:RequestId>
</key>
<itemIdx>64</itemIdx>
<requestId>3</requestId>
<startAt>2025-11-08T09:36:40.2210336-03:00</startAt>
<finishAddressId>2</finishAddressId>
<startAddressId>1</startAddressId>
</RequestDailySubEditDto>
</requestDailySubList>
<serviceEnum>Drive</serviceEnum>
<statusEnum>Pending</statusEnum>
</RequestDailyEditDto>
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.