To access version 2 swagger, you need to add this "api/v2/docs" to the end of your site URL
Example: https://academy.autologyx.com/api/v2/docs/

The main area you will need to use to create and update records in the system is the targetgroup section.

The main differences between version 1 and 2, is that in version 2 you can use other fields as the identifiers to update records.
Example:
If you wanted to update a record in version 1, you would need to have the target_id of the record you wanted to update. In version 2 you can utilise a unique reference number instead of target_id to update a record or another unique identifier field.
You can also use multiple identifiers to ensure you update or request the correct data against your record.
Example:
In the below configuration, we are using 2 identifiers to update the correct record as a patch request and using merge fields to populate the correct identifiers based on when the API call is fired in the sequence.

Comments
0 comments
Please sign in to leave a comment.