POST api/my/basura/trucks/histories
Request Information
URI Parameters
None.
Body Parameters
TruckHistoryCreateDTOName | Description | Type | Additional information |
---|---|---|---|
truckid | integer |
None. |
|
lat | decimal number |
None. |
|
lon | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "truckid": 1, "lat": 1.1, "lon": 1.1 }
application/xml, text/xml
Sample:
<TruckHistoryCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO"> <lat>1.1</lat> <lon>1.1</lon> <truckid>1</truckid> </TruckHistoryCreateDTO>
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.