Test method

Make sure your integration works properly

1) User ID creation

Go to http://parasolchauffant.com/, accept terms

2) Get encrypted user ID

Go to https://partner-api.sddan.com/api/v1/public/user/partner/[PARTNER_ID]/user

Copy the encrypted user ID into your clipboard (e.g see JSON response)

3) Force user ID into segment id

post
Force user ID

https://partner-api.sddan.com/api/v1/public/user/partner/:partnerId/user/segment
Force your user ID into a Sirdata segment. Request body is JSON format
Request
Response
Request
Path Parameters
partnerId
required
number
Your given partner id
Query Parameters
userId
required
string
Encrypted user id obtained in step 2)
Body Parameters
segments
required
array
List of segment ids you like to force your user ID into
Response
202: Accepted
User ID is into segment ID 33 and 73
curl --request POST \
--url 'https://partner-api.sddan.com/api/v1/public/user/partner/123/user/segment?userId=NThhOGZiZGE2OGFkNjQ1ZjU0ZWExOTU0u236m6%2BlAqZlUpo%2F1%2BQfCz8323YeNtOs4aV8PUduK3jCEXvsQQWnGgo4aUGW9Gcb0Y0ob5QrXXXX' \
--header 'content-type: application/json' \
--data '{
"segments": [33,73]
}'
400: Bad Request
500: Internal Server Error