services


Click here for a complete list of operations.

GetAllPromo

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
device_id:
userName:

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 /services.asmx HTTP/1.1
Host: safaripromo.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetAllPromo"

<?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>
    <GetAllPromo xmlns="http://tempuri.org/">
      <device_id>string</device_id>
      <userName>string</userName>
    </GetAllPromo>
  </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>
    <GetAllPromoResponse xmlns="http://tempuri.org/">
      <GetAllPromoResult>
        <promoDetails>
          <start_date>string</start_date>
          <Ri_Promo_ode>string</Ri_Promo_ode>
          <end_date>string</end_date>
          <active>string</active>
          <discription>string</discription>
          <link>string</link>
          <old_price>string</old_price>
          <new_price>string</new_price>
          <remarks>string</remarks>
          <parent_doc_no>string</parent_doc_no>
          <promo_type>string</promo_type>
          <id>string</id>
          <item_part_no>string</item_part_no>
          <item_barcode>string</item_barcode>
          <error>string</error>
          <device_id>string</device_id>
          <docDate>string</docDate>
          <promo_code>string</promo_code>
          <promo_name>string</promo_name>
        </promoDetails>
        <promoDetails>
          <start_date>string</start_date>
          <Ri_Promo_ode>string</Ri_Promo_ode>
          <end_date>string</end_date>
          <active>string</active>
          <discription>string</discription>
          <link>string</link>
          <old_price>string</old_price>
          <new_price>string</new_price>
          <remarks>string</remarks>
          <parent_doc_no>string</parent_doc_no>
          <promo_type>string</promo_type>
          <id>string</id>
          <item_part_no>string</item_part_no>
          <item_barcode>string</item_barcode>
          <error>string</error>
          <device_id>string</device_id>
          <docDate>string</docDate>
          <promo_code>string</promo_code>
          <promo_name>string</promo_name>
        </promoDetails>
      </GetAllPromoResult>
    </GetAllPromoResponse>
  </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 /services.asmx HTTP/1.1
Host: safaripromo.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>
    <GetAllPromo xmlns="http://tempuri.org/">
      <device_id>string</device_id>
      <userName>string</userName>
    </GetAllPromo>
  </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>
    <GetAllPromoResponse xmlns="http://tempuri.org/">
      <GetAllPromoResult>
        <promoDetails>
          <start_date>string</start_date>
          <Ri_Promo_ode>string</Ri_Promo_ode>
          <end_date>string</end_date>
          <active>string</active>
          <discription>string</discription>
          <link>string</link>
          <old_price>string</old_price>
          <new_price>string</new_price>
          <remarks>string</remarks>
          <parent_doc_no>string</parent_doc_no>
          <promo_type>string</promo_type>
          <id>string</id>
          <item_part_no>string</item_part_no>
          <item_barcode>string</item_barcode>
          <error>string</error>
          <device_id>string</device_id>
          <docDate>string</docDate>
          <promo_code>string</promo_code>
          <promo_name>string</promo_name>
        </promoDetails>
        <promoDetails>
          <start_date>string</start_date>
          <Ri_Promo_ode>string</Ri_Promo_ode>
          <end_date>string</end_date>
          <active>string</active>
          <discription>string</discription>
          <link>string</link>
          <old_price>string</old_price>
          <new_price>string</new_price>
          <remarks>string</remarks>
          <parent_doc_no>string</parent_doc_no>
          <promo_type>string</promo_type>
          <id>string</id>
          <item_part_no>string</item_part_no>
          <item_barcode>string</item_barcode>
          <error>string</error>
          <device_id>string</device_id>
          <docDate>string</docDate>
          <promo_code>string</promo_code>
          <promo_name>string</promo_name>
        </promoDetails>
      </GetAllPromoResult>
    </GetAllPromoResponse>
  </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 /services.asmx/GetAllPromo?device_id=string&userName=string HTTP/1.1
Host: safaripromo.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfPromoDetails xmlns="http://tempuri.org/">
  <promoDetails>
    <start_date>string</start_date>
    <Ri_Promo_ode>string</Ri_Promo_ode>
    <end_date>string</end_date>
    <active>string</active>
    <discription>string</discription>
    <link>string</link>
    <old_price>string</old_price>
    <new_price>string</new_price>
    <remarks>string</remarks>
    <parent_doc_no>string</parent_doc_no>
    <promo_type>string</promo_type>
    <id>string</id>
    <item_part_no>string</item_part_no>
    <item_barcode>string</item_barcode>
    <error>string</error>
    <device_id>string</device_id>
    <docDate>string</docDate>
    <promo_code>string</promo_code>
    <promo_name>string</promo_name>
  </promoDetails>
  <promoDetails>
    <start_date>string</start_date>
    <Ri_Promo_ode>string</Ri_Promo_ode>
    <end_date>string</end_date>
    <active>string</active>
    <discription>string</discription>
    <link>string</link>
    <old_price>string</old_price>
    <new_price>string</new_price>
    <remarks>string</remarks>
    <parent_doc_no>string</parent_doc_no>
    <promo_type>string</promo_type>
    <id>string</id>
    <item_part_no>string</item_part_no>
    <item_barcode>string</item_barcode>
    <error>string</error>
    <device_id>string</device_id>
    <docDate>string</docDate>
    <promo_code>string</promo_code>
    <promo_name>string</promo_name>
  </promoDetails>
</ArrayOfPromoDetails>

HTTP POST

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

POST /services.asmx/GetAllPromo HTTP/1.1
Host: safaripromo.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

device_id=string&userName=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfPromoDetails xmlns="http://tempuri.org/">
  <promoDetails>
    <start_date>string</start_date>
    <Ri_Promo_ode>string</Ri_Promo_ode>
    <end_date>string</end_date>
    <active>string</active>
    <discription>string</discription>
    <link>string</link>
    <old_price>string</old_price>
    <new_price>string</new_price>
    <remarks>string</remarks>
    <parent_doc_no>string</parent_doc_no>
    <promo_type>string</promo_type>
    <id>string</id>
    <item_part_no>string</item_part_no>
    <item_barcode>string</item_barcode>
    <error>string</error>
    <device_id>string</device_id>
    <docDate>string</docDate>
    <promo_code>string</promo_code>
    <promo_name>string</promo_name>
  </promoDetails>
  <promoDetails>
    <start_date>string</start_date>
    <Ri_Promo_ode>string</Ri_Promo_ode>
    <end_date>string</end_date>
    <active>string</active>
    <discription>string</discription>
    <link>string</link>
    <old_price>string</old_price>
    <new_price>string</new_price>
    <remarks>string</remarks>
    <parent_doc_no>string</parent_doc_no>
    <promo_type>string</promo_type>
    <id>string</id>
    <item_part_no>string</item_part_no>
    <item_barcode>string</item_barcode>
    <error>string</error>
    <device_id>string</device_id>
    <docDate>string</docDate>
    <promo_code>string</promo_code>
    <promo_name>string</promo_name>
  </promoDetails>
</ArrayOfPromoDetails>