WSDL Page:  http://<your_domain_here>/api/1/addedit.asmx?op=AdvertiserCreditLimit

 

Parameter Summary:

api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}

advertiser_id / INT (unsignedByte)= Advertiser ID {See get.asmx > Advertisers}

account_status_id / INT (unsignedByte) = Affiliate Account Status ID {See get.asmx > AccountStatuses}

currency_id / INT (unsignedByte) = Received Currency ID {See get.asmx > Currencies}

credit_limit / DECIMAL= The amount of credit aloted for digital spend

hard_cap / BOOL= Hard cap when credit limit is depleted? ["TRUE", "FALSE"]

 

Parameter Types:

api_key - ID

advertiser_id - ID

account_status_id - ID

currency_id - ID

credit_limit - Assignable

hard_cap - Assignable

 

Sample GET Call:

http://demo.cakemarketing.com/api/1/addedit.asmx/AdvertiserCreditLimit?api_key=dNJFmId9rI&advertiser_id=178&currency_id=1&credit_limit=1000000&hard_cap=TRUE

 

Sample XML Response:

<advertisercreditlimit_addedit_response>
<success>true</success>
<message>Advertiser Credit Created</message>
</advertisercreditlimit_addedit_response>