POST
/
api
/
v1
/
submission
/
{id}
/
add_data_items
Store Additional Data on Submission
curl --request POST \
  --url https://vision.pingintel.com/api/v1/submission/{id}/add_data_items \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "items": {},
  "action": "upsert"
}'
{
"data_items": {},
"status": "<string>"
}

Authorizations

Authorization
string
header
required

Supports Token-prefixed API keys and Bearer-prefixed JWT-based authentication.

Path Parameters

id
string
required

The pingid of the submission.

Body

items
object
required

Key/value pairs to tag on the submission. items is merged into existing data per the action.

action
enum<string>
required

Action to perform on the data items.

  • upsert - UPSERT
  • replace - REPLACE
Available options:
upsert,
replace

Response

Success response.

data_items
object
required

All current data items on the submission after action is complete.

status
string
required

Status of the operation.