Skip to content

Query User by VisitorCode

ulkeroz edited this page Mar 5, 2015 · 2 revisions

This API is used for getting Visitor information by Visitor Code.

  • GET /sapi/visitor/byVisitorCode/{profileId}/{visitorCode}/{timestamp}/{hash}

  • Content-Type: application/x-www-form-urlencoded

{

"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

  • visitorCode : visitorCode of the user given by Curio-SDK

  • timestamp : Current timestamp as long (in milliseconds)

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

Clone this wiki locally