Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

This documentation is for the version 2 of the PUBLITRAC API . Please note that PUBLITRAC V2 is in BETA stage and it evolves rapidly.

...

Request

URL: /v2/auth/getToken ~ GET
Header
AuthorizationApi key received within the application of Publitrac (See settings)
Acceptapplication/json
Content
No content for this one

...

URL: /v2/lead/delayedSync ~ POST
Header
TokenToken of authorization
Acceptapplication/json
Content


Bloc de code
{ 
     "leadInfo": {
         "email" : "john.doe@provider.com"
         "crmLeadId": 12387,
         "jobTitle": "Awesome Programmer",
         "firstName": "John",
         "lastName": "Doe"
     },
     "leadCustomField": {
         "customField1": "Value",
         "customField2": "Value2"
     }
}





leadInfo represents the standard PUBLITRAC information that is required. The email is mandatory as we are using this as an identifier.
(this will change in the short term.) All field details are available here: List and description of all lead fields





LeadCustomFields is an associative array (fieldName => value) of the customField you want to edit/update/add in your lead.

...