Generate a preview token
The following example shows how to generate a preview token.
Request
POST /wcs/resources/store/10101/previewToken HTTPS/1.1
Host: testserver.mycompany.com
Content-Type: application/json
{
"start":"2013/09/11 13:00:00",
"timeZoneId":"America/New_York",
"status":"true",
"invstatus":"0",
"includedMemberGroupIds":"8000000000000000007,8000000000000000006",
"workspaceId":"10001"
}
Response
HTTPS/1.1 201 Created
Content-Type: application/json
{
"previewToken": "XLWXujUEJpV3lI89vFVwSfbqCfJPdiWuYXA87DXQSJWQcNVVpDCe%2bC7HFp7rfHeCGNwX7CTyN3dX%0d%0ao0U%2fx0dUsg%3d%3d"
}