POST api/VLI/BookSeatsToken
Request Information
URI Parameters
None.
Body Parameters
BookSeatsDTOName | Description | Type | Additional information |
---|---|---|---|
username | string |
None. |
|
password | string |
None. |
|
refNo | string |
None. |
|
schedBusID | integer |
None. |
|
adult | integer |
None. |
|
PassengerList | Collection of PassengerInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "username": "sample string 1", "password": "sample string 2", "refNo": "sample string 3", "schedBusID": 4, "adult": 5, "PassengerList": [ { "firstName": "sample string 1", "lastName": "sample string 2", "middleName": "sample string 3", "email": "sample string 4", "mobileNo": "sample string 5", "city": "sample string 6" }, { "firstName": "sample string 1", "lastName": "sample string 2", "middleName": "sample string 3", "email": "sample string 4", "mobileNo": "sample string 5", "city": "sample string 6" } ] }
application/xml, text/xml
Sample:
<BookSeatsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VLIServices.Models.DTO"> <PassengerList> <PassengerInfo> <city>sample string 6</city> <email>sample string 4</email> <firstName>sample string 1</firstName> <lastName>sample string 2</lastName> <middleName>sample string 3</middleName> <mobileNo>sample string 5</mobileNo> </PassengerInfo> <PassengerInfo> <city>sample string 6</city> <email>sample string 4</email> <firstName>sample string 1</firstName> <lastName>sample string 2</lastName> <middleName>sample string 3</middleName> <mobileNo>sample string 5</mobileNo> </PassengerInfo> </PassengerList> <adult>5</adult> <password>sample string 2</password> <refNo>sample string 3</refNo> <schedBusID>4</schedBusID> <username>sample string 1</username> </BookSeatsDTO>
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.