PT.Api

<back to all web services

GetBookTicketAdmin

The following routes are available for this service:
POST/api/getbookticketadmin
GetBookTicketAdmin Parameters:
NameParameterData TypeRequiredDescription
BookingNobodystringYes
LocaleRequest Parameters:
NameParameterData TypeRequiredDescription
LocaleformstringNoLocale. Ex: vi-VN, en-US
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
VersionformintNoVersion. Ex: 1,2,3,...
GetBookTicketAdminResponse Parameters:
NameParameterData TypeRequiredDescription
DataformTicketAdminNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusformintNoResponse status. Ex: 1 - Success; 0 - Error
MessageformstringNoResponse message
TicketAdmin Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
CustNameformstringNo
CustMobileformstringNo
CustMobile2formstringNo
CustEmailformstringNo
CustAddressformstringNo
CustPickupformstringNo
CustPickupOfficeIdformintNo
CustCMNDformstringNo
BookingNoformstringNo
NumberOfTicketformintNo
TuyenDuongIdformstringNo
TuyenDuongNameformstringNo
NgayDiformDateTimeNo
GioDiformstringNo
SessionIdformstringNo
TotalformfloatNo
CurDateformDateTimeNo
StatusformstringNo
PayStatusformstringNo
PaymentTypeformstringNo
ClientIPformstringNo
CanBoCapNhatformstringNo
NgayCapNhatformDateTimeNo
NoiDungCapNhatformstringNo
ClientAppformstringNo
ConfirmCodeformstringNo
PromoCodeformstringNo
DiscountformintNo
SurchargeformintNo
CommissionformintNo
TotalMoneyformintNo
RealTotalMoneyformintNo
BankCodeformstringNo
MailStatusformintNo
SMSStatusformintNo
countryformstringNo
stateformstringNo
cityformstringNo
SMSIDRefformstringNo
CustIdformintNo
ExpiredTimeformDateTimeNo
TicketDetailsformList<TicketDetail>No
TicketDetail Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OnlineSessionIdformintNo
TicketIdformintNo
TicketNameformstringNo
carBookingIdformintNo
priceformintNo
IsSubmitedformboolNo
IsCanPayformboolNo
ReplaceIdformintNo
idStribformintNo
CustNameformstringNo
CustMobileformstringNo
CustCMNDformstringNo
DiscountformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/GetBookTicketAdmin HTTP/1.1 
Host: api.futabus.vn 
Content-Type: application/json
Content-Length: length

{"BookingNo":"String","Locale":"vi-VN","Version":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Data":{"Id":0,"CustName":"String","CustMobile":"String","CustMobile2":"String","CustEmail":"String","CustAddress":"String","CustPickup":"String","CustPickupOfficeId":0,"CustCMND":"String","BookingNo":"String","NumberOfTicket":0,"TuyenDuongId":"String","TuyenDuongName":"String","GioDi":"String","SessionId":"String","Total":0,"Status":"String","PayStatus":"String","PaymentType":"String","ClientIP":"String","CanBoCapNhat":"String","NoiDungCapNhat":"String","ClientApp":"String","ConfirmCode":"String","PromoCode":"String","Discount":0,"Surcharge":0,"Commission":0,"TotalMoney":0,"RealTotalMoney":0,"BankCode":"String","MailStatus":0,"SMSStatus":0,"country":"String","state":"String","city":"String","SMSIDRef":"String","CustId":0,"TicketDetails":[{"Id":0,"OnlineSessionId":0,"TicketId":0,"TicketName":"String","carBookingId":0,"price":0,"IsSubmited":false,"IsCanPay":false,"ReplaceId":0,"idStrib":0,"CustName":"String","CustMobile":"String","CustCMND":"String","Discount":0}]},"Status":0,"Message":"String"}