Get a specific workflowTaskDefinition by workflowTaskDefinition Id
get
/PASService/rest/services/v1/workflowTaskDefinitions/{workflowTaskDefinitionId}
Gets a workflowTaskDefinition based on the specified workflowTaskDefinition Id
Request
Path Parameters
-
workflowTaskDefinitionId(required): string(guid)
WorkflowTaskDefinition Id
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
successful operation
Examples
This example describes how to get a workflowTaskDefinition based on the specified workflowTaskDefinition Id.
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl \
-X GET \
-H "Content-Type: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/workflowTaskDefinition/9BC3824F-9C8A-4F43-B459-E42763357D4F"
Example Response Body
The following shows an example of the response body in JSON format:
{
"workflowTaskDefinition": {
"links": [
{
"href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/workflowTaskDefinitions/9BC3824F-9C8A-4F43-B459-E42763357D4F",
"rel": "self",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/codes?codeName=workflowQueueCode&codeValue=PCS",
"rel": "codes/workflowQueue",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://localhost:8081/PASService/rest/services/codes?codeName=entityCode&codeValue=POLICY",
"rel": "codes/entity",
"mediaType": "application/json",
"method": "GET"
},
{
"href": "http://fsgbu-mum-743.snbomprshared1.gbucdsint02bom.oraclevcn.com:7009/PASService/rest/services/v1/codes?codeName=creationalMethod&codeValue=MANUAL",
"rel": "codes/creationalMethod",
"mediaType": "application/json",
"method": "GET"
}
],
"codes": [
{
"codeName": "AsCodeWorkFlowQueue",
"codeValue": "PCS",
"longDescription": "Policy Change Services Queue",
"shortDescription": "Policy Change Services Queue"
},
{
"codeName": "AsCodeEntity",
"codeValue": "POLICY",
"longDescription": "Policy",
"shortDescription": "Policy Entity"
},
{
"codeName": "AsCodeWorkflowCreationMethod",
"codeValue": "MANUAL",
"longDescription": "Manual",
"shortDescription": "Workflow tasks are created by a user"
}
],
"workflowTaskDefinitionId": "9BC3824F-9C8A-4F43-B459-E42763357D4F",
"workflowTaskName": "MIB Inquiry",
"workflowQueueCode": "PCS",
"entityCode": "POLICY",
"description": "Reports Inspection",
"creationalMethod": "MANUAL",
"creationGmt": "2023-03-02T00:00:00Z",
"createdBy": "Prashanthib",
"updatedGmt": "2024-11-14T05:10:00Z",
"updatedBy": "prashanthib"
}
}