workflowChange

Update just workflow on finding per request body. Current workflow must have a different status.

Request
Security:
vc-security
path Parameters
id
required
string
Request Body schema: application/json
type
required
string
status
string

if null, indicates no workflow of this type present

id
string
notes
string
pciPass
boolean

not workflow property, but allowed to set this as part of workflow

Responses
200

OK

400

Bad Request. The request parameters (or body) were malformed or invalid. Fix the issues with the request and try again.

401

Unauthorized request. Make sure token was included and is valid and try again.

403

Forbidden. You are not permitted to access the requested resource.

404

Not Found. The specified resource (or resource referred to by id) was not found

405

Method Not Allowed. The API was accessed with the wrong method

409

Conflict with the current state of the target resource.

500

Internal Server Error. An unexpected error has occurred. This may be due to a transient error. Retry the request and if the issue persists, please contact support.

503

Service Unavailable. The service is temporarily unavailable. Try your request later.

post/finding-service/v1/finding/{id}/workflow
Request samples
application/json
{
  • "type": "string",
  • "status": "string",
  • "id": "string",
  • "notes": "string",
  • "pciPass": true
}
Response samples
application/json
{
  • "message": "Field \"name\" cannot be null",
  • "status": 400,
  • "error": "Bad Request",
  • "timestamp": 1413315159949,
  • "exception": "org.springframework.web.server.ResponseStatusException",
  • "path": "/finding/1"
}