POST
/
journey
/
task
/
update
Submit task data
curl --request POST \
  --url https://eu.platform.go.gbgplc.com/captain/api/journey/task/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "intent": "Complete",
  "instanceId": "PiIbYsgiHp4R8JPz2vU5Y9l4",
  "taskId": "Tkob6dMMHp4R8JPz2vU5Y9l4",
  "context": {
    "subject": {
      "identity": {
        "currentAddress": {
          "country": "GBR",
          "postalCode": "BA133BN",
          "locality": "Westbury",
          "thoroughfare": "High Street",
          "building": "4",
          "administrativeArea": "Wilts"
        },
        "dateOfBirth": "1967-01-01",
        "firstName": "pari",
        "middleNames": [
          "c"
        ],
        "lastNames": [
          "powell"
        ]
      }
    }
  }
}'
{
  "instanceId": "<string>",
  "taskId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json

Task data submitted successfully.

The response is of type object.