POST api/my/basura/foodwaste/assign/truck/routes
Request Information
URI Parameters
None.
Body Parameters
FoodWasteTrucksRouteCreateDTOName | Description | Type | Additional information |
---|---|---|---|
groupid | integer |
None. |
|
truckid | integer |
None. |
|
customerid | integer |
None. |
|
pickupaddress | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "groupid": 1, "truckid": 2, "customerid": 3, "pickupaddress": "sample string 4" }
application/xml, text/xml
Sample:
<FoodWasteTrucksRouteCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO"> <customerid>3</customerid> <groupid>1</groupid> <pickupaddress>sample string 4</pickupaddress> <truckid>2</truckid> </FoodWasteTrucksRouteCreateDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.