| FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
| URL | http://<wmservice-url>/tokens/parseTokens |
|---|---|
| Parent Resource | Workflow Manager (Classic) Service |
| Parameter | Details |
|---|---|
| f | Description: The response format. The default response format is html. Values: html | json |
| user | Required Description: The username of the client. |
| stringtoparse | Required Description: The string with embedded tokens to parse. |
| job | Required Description: The ID of the job needed to parse the token string. |
Example 1: URL for parsing a string with embedded job start date token.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/tokens/parseTokens?user=demo&stringtoparse=[JOB%3ASTART_DATE]&job=105&f=pjsonExample 2: URL for parsing a string with embedded job assigned to token.
http://sampleserver/arcgis/rest/services/Workflow/WMServer/tokens/parseTokens?user=demo&stringtoparse=[JOB%3AASSIGNED_TO]&job=105&f=pjson
{
"output": "<parsed string with tokens replaced by values>,"
}
{
"output": "10/2/2012"
}