WSDL Page:  http://<your_domain_here>/api/1/track.asmx?op=UpdateSaleRevenue


Parameter Summary:

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

buyer_contract_id / INT = Buyer Contract ID {See export.asmx > BuyerContracts}

lead_id / STRING = CAKE Lead ID {See track.asmx > ConversionDispositions}

add_to_existing / BOOL = Add Amount to Existing Revenue? ["TRUE" = Add, "FALSE" = Overwrite]

amount / DECIMAL = Revenue to be Added/Overwritten [Use a negative Dollar Amount to Remove Credit]

note_to_append / STRING = Freeform Notes


Parameter Types:

api_key - ID

buyer_contract_id - ID

lead_id - ID

add_to_existing - ASSIGNABLE

amount - ASSIGNABLE

note_to_append - ASSIGNABLE


Sample GET Call:

http://demo.cakemarketing.com/api/1/track.asmx/UpdateSaleRevenue?api_key=dNJFmId9rI&buyer_contract_id=659&lead_id=F0E41C8D&add_to_existing=TRUE&amount=15.00¬e_to_append=Here+is+where+I'm+putting+my+notes

 

Sample XML Response:

<string>Success - New Revenue: $15.00</string>