Answer Work Item

Answer Work Item

Answers the specified work item

Request
URI
POST
https://vra-interop-222-139.lvn.broadcom.net/workitem/api/workitems/{id}/answer
COPY
Path Parameters
string
id
Required

id

Header Parameters
string
Accept
Optional

Accept


Request Body
WorkItemActionRequest of type(s) application/json
Required
{
    "formEntries": {
        "formEntries": {}
    }
}
object
formEntries
Optional

formEntries

Authentication
This operation uses the following authentication methods.
Responses
200

Success - The work item is successfully answered

Returns WorkItem of type(s) application/json
"WorkItem Object"
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 -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/workitem/api/workitems/{id}/answer