Create Object Records

POST https://{{vaultDNS}}/api/{{version}}/vobjects/:{object_name}

https://developer.veevavault.com/api/20.3/#create-object-records

Create Object Records in bulk.

You can use this endpoint to create User Tasks or User (user__sys) records. Learn more about User Tasks and the User & Person Objects in Vault Help.

The maximum input file size is 1GB. The values in the input must be UTF-8 encoded. CSVs must follow the standard format. The maximum batch size is 500. Note that you can only add relationships through multi-value relationship fields using ID values or through a lookup based on a unique field. name__v is not a unique field.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-TypestringCan be text/csv or application/json
AcceptstringCan be text/csv or application/json
X-VaultAPI-MigrationModebooleanWhen upserting, set to IgnoreSetOnCreateOnly (default starting with API v20.3) to ignore values given for the Object Type field and parent object fields if the record already exists and the value has not changed. Set to NeverIgnore to enforce edit permission for all fields in the payload, regardless of whether or not the value has changed (default for v20.2 and below). Read-only fields such as Object Type will fail even if the value has not changed. Set to AlwaysIgnore to ignore fields that match between the record and payload values during upsert.
X-VaultAPI-UnchangedFieldBehaviornullWhen upserting, set to IgnoreSetOnCreateOnly (default starting with API v20.3) to ignore values given for the Object Type field and parent object fields if the record already exists and the value has not changed. Set to NeverIgnore to enforce edit permission for all fields in the payload, regardless of whether or not the value has changed (default for v20.2 and below). Read-only fields such as Object Type will fail even if the value has not changed. Set to AlwaysIgnore to ignore fields that match between the record and payload values during upsert.