Submit a Ticket My Tickets
Welcome
Login  Sign up

[Offers] GetOfferStatuses (V2) - Affiliate

WSDL Page:  http://<your_domain_here>/affiliate/api/2/offers.asmx?op=GetOfferStatuses

 

Parameter Summary:

api_key / STRING = Affiliate API Key {See auth.asmx > Login}

affiliate_id / INT = Affiliate ID {See auth.asmx > Login}

 

Parameter Types:

api_key - ID

affiliate_id - ID

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/offers.asmx/GetOfferStatuses?api_key=OIohoAIOxMHZeo7EjB2IQg&affiliate_id=5969

 

Sample XML Response:

<offer_status_response>
  <success>true</success>
  <row_count>5</row_count>
  <offer_statuses>
    <offer_status>
      <status_id>1</status_id>
      <status_name>Active</status_name>
    </offer_status>
    <offer_status>
      <status_id>2</status_id>
      <status_name>Public</status_name>
    </offer_status>
    <offer_status>
      <status_id>3</status_id>
      <status_name>Apply To Run</status_name>
    </offer_status>
    <offer_status>
      <status_id>4</status_id>
      <status_name>Pending</status_name>
    </offer_status>
    <offer_status>
      <status_id>5</status_id>
      <status_name>Inactive</status_name>
    </offer_status>
  </offer_statuses>
</offer_status_response>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.