Leads

Take the Lead list:

  • Endpoint: “http://URL_PIATTAFORMA/z/dmkapi/leads/leads”
  • “data”:
    • “token”: The deciphered Token
    • “limit”: Limits the number of records returned
    • “offset”: Begins the lead return process from the number of records desired
    • “select”: Searches for a specific lead, using the platform’s fields (e.g.: “firstname” = “Name”, “email” = “user@mail.com”)

Saving/Updating a Lead:

  • Endpoint: “http://URL_PIATTAFORMA/z/dmkapi/leads/save”
  • “data”:
    • “token”: The deciphered Token
    • “lead”: The Lead’s fields (“firstname”, “lastname”, “email”, etc). To update a lead, add the “id” parameter.

Getting the list of the Lead fields:

  • Endpoint: “http://URL_PIATTAFORMA/z/dmkapi/leads/fields/fields”
  • “data”:
    • “token”: The deciphered Token