POST api/Post/SendPost
Request Information
URI Parameters
None.
Body Parameters
ServiceDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| DriverId | integer |
None. |
|
| VehicleId | integer |
None. |
|
| PhotoBeforeCleaning | string |
None. |
|
| PhotoAfterCleaning | string |
None. |
|
| IsPending | integer |
None. |
|
| PendingCount | integer |
None. |
|
| CLatitude | string |
None. |
|
| CLongitude | string |
None. |
|
| Latitude | string |
None. |
|
| Longitude | string |
None. |
|
| Waste | Collection of Details |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"DriverId": 2,
"VehicleId": 3,
"PhotoBeforeCleaning": "sample string 4",
"PhotoAfterCleaning": "sample string 5",
"IsPending": 6,
"PendingCount": 7,
"CLatitude": "sample string 8",
"CLongitude": "sample string 9",
"Latitude": "sample string 10",
"Longitude": "sample string 11",
"Waste": [
{
"WasteTypeId": "sample string 1",
"Weight": "sample string 2",
"BundleCount": "sample string 3"
},
{
"WasteTypeId": "sample string 1",
"Weight": "sample string 2",
"BundleCount": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<ServiceDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BigBin.API.Models">
<CLatitude>sample string 8</CLatitude>
<CLongitude>sample string 9</CLongitude>
<CustomerId>1</CustomerId>
<DriverId>2</DriverId>
<IsPending>6</IsPending>
<Latitude>sample string 10</Latitude>
<Longitude>sample string 11</Longitude>
<PendingCount>7</PendingCount>
<PhotoAfterCleaning>sample string 5</PhotoAfterCleaning>
<PhotoBeforeCleaning>sample string 4</PhotoBeforeCleaning>
<VehicleId>3</VehicleId>
<Waste>
<Details>
<BundleCount>sample string 3</BundleCount>
<WasteTypeId>sample string 1</WasteTypeId>
<Weight>sample string 2</Weight>
</Details>
<Details>
<BundleCount>sample string 3</BundleCount>
<WasteTypeId>sample string 1</WasteTypeId>
<Weight>sample string 2</Weight>
</Details>
</Waste>
</ServiceDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |