Get Work Item By Id
Returns work item by id
Request
URI
GET
https://vra-interop-222-139.lvn.broadcom.net/workitem/api/workitems/{id}
COPY
Path Parameters
string
id
Required
id
Query Parameters
boolean
expand
Optional
expand
Header Parameters
string
Accept
Optional
Accept
Responses
200
Success - returns work item for a given id
Returns
WorkItem
of type(s)
application/json
{
"actionedAt": "string",
"actionedBy": "string",
"assignees": [
{
"id": "string",
"type": "string"
}
],
"callbackURL": "string",
"createdAt": "string",
"deploymentId": "string",
"deploymentName": "string",
"description": "string",
"details": {
"details": {}
},
"expiryAt": "string",
"id": "string",
"lastUpdatedAt": "string",
"name": "string",
"orgId": "string",
"projectId": "string",
"projectName": "string",
"requestId": "string",
"requestedBy": "string",
"state": "string",
"type": "string",
"workItemDetails": {
"formDetails": {
"formDetails": {}
},
"workItemData": {
"workItemData": {}
}
},
"workflowDetails": {
"id": "string",
"muiId": "string",
"name": "string",
"runId": "string"
}
}
string As date-time
As date-time
actionedAt
Optional
actionedAt
string
actionedBy
Optional
actionedBy
array of
object
assignees
Optional
assignees
string
callbackURL
Optional
callbackURL
string As date-time
As date-time
createdAt
Optional
createdAt
string
deploymentId
Optional
deploymentId
string
deploymentName
Optional
deploymentName
string
description
Optional
description
object
details
Optional
details
string As date-time
As date-time
expiryAt
Optional
expiryAt
string
id
Optional
id
string As date-time
As date-time
lastUpdatedAt
Optional
lastUpdatedAt
string
name
Optional
name
string
orgId
Optional
orgId
string
projectId
Optional
projectId
string
projectName
Optional
projectName
string
requestId
Optional
requestId
string
requestedBy
Optional
requestedBy
string
state
Optional
state
Possible values are :
ACTIVE,
ANSWERED,
REJECTED,
EXPIRED,
string
type
Optional
type
object
workItemDetails
Optional
workItemDetails
object
workflowDetails
Optional
workflowDetails
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/workitem/api/workitems/{id}
On This Page
Work Item Service Operations
GET
Get Work Items
GET
Get Work Items For Deployment
GET
Get Work Items For Deployment Request
GET
Get Work Item By Id
POST
Answer Work Item
POST
Reject Work Item