Skip to content

Query User By CustomId

ulkeroz edited this page Mar 9, 2015 · 5 revisions

This API is used for getting Visitor information(s) by Custom ID.

  • POST /sapi/visitor/byCustomId/{profileId}/{timestamp}/{hash}

  • Content-Type: application/json

  • Request Body:

{customId}

{

["trackingCode": "508RW8WA",
"visitorCode": "f0cdc133-791a-4dde-8445-3478249b4939",
"lastTime": 1422430549118,
"ip": "127.0.0.1",
"os": "Windows 7",
"screen": "1920x1080",
"visitCount": 396,
"pushToken": "f0cdc133-791a-4dde-8445-3478249b4939",
"customId": "5304556753"]

}

  • profileId : ID of profile definition @Curio

  • timestamp : Current timestamp as long (in milliseconds)

  • hash : a token which is generated using HmacMD5 encryption on “profileId + timestamp + apiKey of the application @Curio”

  • customId : customId to be queried is given as request body

Clone this wiki locally