POST api/Mobapi/PackageBooking
Request Information
URI Parameters
None.
Body Parameters
PackageBooking| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
None. |
|
| PickupLocation | string |
None. |
|
| PickupLatitude | string |
None. |
|
| PickupLongtitude | string |
None. |
|
| PickupDateTime | date |
None. |
|
| VechicleType | integer |
None. |
|
| Notes | string |
None. |
|
| PackageTypeID | decimal number |
None. |
|
| Price | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"PickupLocation": "sample string 2",
"PickupLatitude": "sample string 3",
"PickupLongtitude": "sample string 4",
"PickupDateTime": "2026-01-12T16:09:00.6821444+05:30",
"VechicleType": 6,
"Notes": "sample string 7",
"PackageTypeID": 8.1,
"Price": 9.1
}
application/xml, text/xml
Sample:
<PackageBooking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entity"> <Notes>sample string 7</Notes> <PackageTypeID>8.1</PackageTypeID> <PickupDateTime>2026-01-12T16:09:00.6821444+05:30</PickupDateTime> <PickupLatitude>sample string 3</PickupLatitude> <PickupLocation>sample string 2</PickupLocation> <PickupLongtitude>sample string 4</PickupLongtitude> <Price>9.1</Price> <UserID>1</UserID> <VechicleType>6</VechicleType> </PackageBooking>
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. |