GET Workflow/GetWorkflowRolesByWorkflowID?workflowID={workflowID}
Gets the workflow role definitions for the specified workflow.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workflowID |
The ID of the workflow. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WorkflowRoleDTOName | Description | Type | Additional information |
---|---|---|---|
WorkflowID |
ID of Workflow |
globally unique identifier |
None. |
Name |
Name |
string |
None. |
Description |
Description |
string |
None. |
IsRequestCreator |
Gets or sets the flag to indicate the requestor of role |
boolean |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "WorkflowID": "9ff7b9c9-410c-40ac-86f8-750152f05f53", "Name": "sample string 2", "Description": "sample string 3", "IsRequestCreator": true, "ID": "8588f120-fb20-47a5-8abe-642a27d2a7b3", "Timestamp": "QEA=" }, { "WorkflowID": "9ff7b9c9-410c-40ac-86f8-750152f05f53", "Name": "sample string 2", "Description": "sample string 3", "IsRequestCreator": true, "ID": "8588f120-fb20-47a5-8abe-642a27d2a7b3", "Timestamp": "QEA=" } ] }
text/javascript
Sample:
{"results":[{"WorkflowID":"9ff7b9c9-410c-40ac-86f8-750152f05f53","Name":"sample string 2","Description":"sample string 3","IsRequestCreator":true,"ID":"8588f120-fb20-47a5-8abe-642a27d2a7b3","Timestamp":"QEA="},{"WorkflowID":"9ff7b9c9-410c-40ac-86f8-750152f05f53","Name":"sample string 2","Description":"sample string 3","IsRequestCreator":true,"ID":"8588f120-fb20-47a5-8abe-642a27d2a7b3","Timestamp":"QEA="}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfWorkflowRoleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <WorkflowRoleDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">8588f120-fb20-47a5-8abe-642a27d2a7b3</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Description>sample string 3</Description> <IsRequestCreator>true</IsRequestCreator> <Name>sample string 2</Name> <WorkflowID>9ff7b9c9-410c-40ac-86f8-750152f05f53</WorkflowID> </WorkflowRoleDTO> <WorkflowRoleDTO> <ID xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">8588f120-fb20-47a5-8abe-642a27d2a7b3</ID> <Timestamp xmlns="http://schemas.datacontract.org/2004/07/Lpp.Objects">QEA=</Timestamp> <Description>sample string 3</Description> <IsRequestCreator>true</IsRequestCreator> <Name>sample string 2</Name> <WorkflowID>9ff7b9c9-410c-40ac-86f8-750152f05f53</WorkflowID> </WorkflowRoleDTO> </ArrayOfWorkflowRoleDTO>