Submit a Ticket My Tickets
Welcome
Login  Sign up

[Track] UpdateLeadPrice (V2) - Admin

WSDL Page:  http://YOURDOMAIN.com/api/2/track.asmx?op=UpdateLeadPrice

 

Parameter Summary:

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

vertical_id / INT (short) = Vertical ID {See get.asmx > Verticals}

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]

mark_as_returned / BOOL = Mark the Conversion as Returned? ["TRUE", "FALSE"]

note_to_append / STRING = Freeform Notes

effective_date_option /STRING =  The effective date these changes should be applied to. ["today", "conversion_date", "custom"]
custom_date /DATETIME = This date field is only used on effective_date_option = custom, otherwise this date is ignored.[MM/DD/YYYY HH:MM:SS]

 

Parameter Types:

api_key - ID

vertical_id - ID

lead_id - ID

add_to_existing - ASSIGNABLE

amount - ASSIGNABLE

mark_as_returned - ASSIGNABLE

note_to_append - ASSIGNABLE

effective_date_option -ASSIGNABLE

custom_date - ASSIGNABLE

 

Sample GET Call:

http://demo.cakemarketing.com/api/2/track.asmx/UpdateLeadPrice?api_key=dNJFmId9rI&vertical_id=1&lead_id=F0E41C8D&add_to_existing=TRUE&amount=15.00&mark_as_returned=FALSE&note_to_append=Here+is+where+I%27m+putting+my+notes&effective_date_option=conversion_date&custom_date=1/1/2005

 

Sample XML Response:

<update_lead_price_response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cakemarketing.com/api/1/">
  <success>true</success>
  <message>Lead Updated</message>
</update_lead_price_response>

Did you find it helpful? Yes No

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