MyService


Click here for a complete list of operations.

WebTicketCalculate

Returns base price for a given delivery.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
guid:
Street1:
City1:
Zone1:
Street2:
City2:
Zone2:
RoundTrip:
Service:
Pieces:
Weight:
Time1:
Time2:
Date1:
Date2:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /myservice.asmx HTTP/1.1
Host: rushservice.rushweb.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://RushService.RushWeb.com/WebTicketCalculate"

<?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>
    <WebTicketCalculate xmlns="http://RushService.RushWeb.com/">
      <guid>string</guid>
      <Street1>string</Street1>
      <City1>string</City1>
      <Zone1>string</Zone1>
      <Street2>string</Street2>
      <City2>string</City2>
      <Zone2>string</Zone2>
      <RoundTrip>string</RoundTrip>
      <Service>string</Service>
      <Pieces>string</Pieces>
      <Weight>string</Weight>
      <Time1>string</Time1>
      <Time2>string</Time2>
      <Date1>string</Date1>
      <Date2>string</Date2>
    </WebTicketCalculate>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
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>
    <WebTicketCalculateResponse xmlns="http://RushService.RushWeb.com/">
      <WebTicketCalculateResult>
        <Status>string</Status>
        <Ticket>string</Ticket>
        <POD>string</POD>
        <PODTime>string</PODTime>
        <BasePrice>string</BasePrice>
        <ServiceType>string</ServiceType>
        <Reply>string</Reply>
      </WebTicketCalculateResult>
    </WebTicketCalculateResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /myservice.asmx HTTP/1.1
Host: rushservice.rushweb.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <WebTicketCalculate xmlns="http://RushService.RushWeb.com/">
      <guid>string</guid>
      <Street1>string</Street1>
      <City1>string</City1>
      <Zone1>string</Zone1>
      <Street2>string</Street2>
      <City2>string</City2>
      <Zone2>string</Zone2>
      <RoundTrip>string</RoundTrip>
      <Service>string</Service>
      <Pieces>string</Pieces>
      <Weight>string</Weight>
      <Time1>string</Time1>
      <Time2>string</Time2>
      <Date1>string</Date1>
      <Date2>string</Date2>
    </WebTicketCalculate>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <WebTicketCalculateResponse xmlns="http://RushService.RushWeb.com/">
      <WebTicketCalculateResult>
        <Status>string</Status>
        <Ticket>string</Ticket>
        <POD>string</POD>
        <PODTime>string</PODTime>
        <BasePrice>string</BasePrice>
        <ServiceType>string</ServiceType>
        <Reply>string</Reply>
      </WebTicketCalculateResult>
    </WebTicketCalculateResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /myservice.asmx/WebTicketCalculate?guid=string&Street1=string&City1=string&Zone1=string&Street2=string&City2=string&Zone2=string&RoundTrip=string&Service=string&Pieces=string&Weight=string&Time1=string&Time2=string&Date1=string&Date2=string HTTP/1.1
Host: rushservice.rushweb.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Order xmlns="http://RushService.RushWeb.com/">
  <Status>string</Status>
  <Ticket>string</Ticket>
  <POD>string</POD>
  <PODTime>string</PODTime>
  <BasePrice>string</BasePrice>
  <ServiceType>string</ServiceType>
  <Reply>string</Reply>
</Order>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /myservice.asmx/WebTicketCalculate HTTP/1.1
Host: rushservice.rushweb.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

guid=string&Street1=string&City1=string&Zone1=string&Street2=string&City2=string&Zone2=string&RoundTrip=string&Service=string&Pieces=string&Weight=string&Time1=string&Time2=string&Date1=string&Date2=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Order xmlns="http://RushService.RushWeb.com/">
  <Status>string</Status>
  <Ticket>string</Ticket>
  <POD>string</POD>
  <PODTime>string</PODTime>
  <BasePrice>string</BasePrice>
  <ServiceType>string</ServiceType>
  <Reply>string</Reply>
</Order>