PT.Api

<back to all web services

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 .soap11 suffix or ?format=soap11

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: api.futabus.vn 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: GetBookTicketAdmin

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<GetBookTicketAdmin xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PT.Api.ServiceModel">
  <Version xmlns="http://schemas.datacontract.org/2004/07/PT.Api.ServiceModel.Common">0</Version>
  <Locale xmlns="http://schemas.datacontract.org/2004/07/PT.Api.ServiceModel.Common">vi-VN</Locale>
  <BookingNo>String</BookingNo>
</GetBookTicketAdmin>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<GetBookTicketAdminResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PT.Api.ServiceModel.Types">
  <Message xmlns="http://schemas.datacontract.org/2004/07/PT.Api.ServiceModel.Common">String</Message>
  <Status xmlns="http://schemas.datacontract.org/2004/07/PT.Api.ServiceModel.Common">0</Status>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/PT.Api.ServiceModel.Types.Bookings">
    <d2p1:BankCode>String</d2p1:BankCode>
    <d2p1:BookingNo>String</d2p1:BookingNo>
    <d2p1:CanBoCapNhat>String</d2p1:CanBoCapNhat>
    <d2p1:ClientApp>String</d2p1:ClientApp>
    <d2p1:ClientIP>String</d2p1:ClientIP>
    <d2p1:Commission>0</d2p1:Commission>
    <d2p1:ConfirmCode>String</d2p1:ConfirmCode>
    <d2p1:CurDate>0001-01-01T00:00:00</d2p1:CurDate>
    <d2p1:CustAddress>String</d2p1:CustAddress>
    <d2p1:CustCMND>String</d2p1:CustCMND>
    <d2p1:CustEmail>String</d2p1:CustEmail>
    <d2p1:CustId>0</d2p1:CustId>
    <d2p1:CustMobile>String</d2p1:CustMobile>
    <d2p1:CustMobile2>String</d2p1:CustMobile2>
    <d2p1:CustName>String</d2p1:CustName>
    <d2p1:CustPickup>String</d2p1:CustPickup>
    <d2p1:CustPickupOfficeId>0</d2p1:CustPickupOfficeId>
    <d2p1:Discount>0</d2p1:Discount>
    <d2p1:ExpiredTime>0001-01-01T00:00:00</d2p1:ExpiredTime>
    <d2p1:GioDi>String</d2p1:GioDi>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:MailStatus>0</d2p1:MailStatus>
    <d2p1:NgayCapNhat>0001-01-01T00:00:00</d2p1:NgayCapNhat>
    <d2p1:NgayDi>0001-01-01T00:00:00</d2p1:NgayDi>
    <d2p1:NoiDungCapNhat>String</d2p1:NoiDungCapNhat>
    <d2p1:NumberOfTicket>0</d2p1:NumberOfTicket>
    <d2p1:PayStatus>String</d2p1:PayStatus>
    <d2p1:PaymentType>String</d2p1:PaymentType>
    <d2p1:PromoCode>String</d2p1:PromoCode>
    <d2p1:RealTotalMoney>0</d2p1:RealTotalMoney>
    <d2p1:SMSIDRef>String</d2p1:SMSIDRef>
    <d2p1:SMSStatus>0</d2p1:SMSStatus>
    <d2p1:SessionId>String</d2p1:SessionId>
    <d2p1:Status>String</d2p1:Status>
    <d2p1:Surcharge>0</d2p1:Surcharge>
    <d2p1:TicketDetails>
      <d2p1:TicketDetail>
        <d2p1:CustCMND>String</d2p1:CustCMND>
        <d2p1:CustMobile>String</d2p1:CustMobile>
        <d2p1:CustName>String</d2p1:CustName>
        <d2p1:Discount>0</d2p1:Discount>
        <d2p1:Id>0</d2p1:Id>
        <d2p1:IsCanPay>false</d2p1:IsCanPay>
        <d2p1:IsSubmited>false</d2p1:IsSubmited>
        <d2p1:OnlineSessionId>0</d2p1:OnlineSessionId>
        <d2p1:ReplaceId>0</d2p1:ReplaceId>
        <d2p1:TicketId>0</d2p1:TicketId>
        <d2p1:TicketName>String</d2p1:TicketName>
        <d2p1:carBookingId>0</d2p1:carBookingId>
        <d2p1:idStrib>0</d2p1:idStrib>
        <d2p1:price>0</d2p1:price>
      </d2p1:TicketDetail>
    </d2p1:TicketDetails>
    <d2p1:Total>0</d2p1:Total>
    <d2p1:TotalMoney>0</d2p1:TotalMoney>
    <d2p1:TuyenDuongId>String</d2p1:TuyenDuongId>
    <d2p1:TuyenDuongName>String</d2p1:TuyenDuongName>
    <d2p1:city>String</d2p1:city>
    <d2p1:country>String</d2p1:country>
    <d2p1:state>String</d2p1:state>
  </Data>
</GetBookTicketAdminResponse>

    </soap:Body>
</soap:Envelope>