Create Object Records

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

https://developer.veevavault.com/api/22.1/#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-MigrationModebooleanSet to true to create object records in a specific state or state type. If not specified, records will be created in their initial state. You must have the Record Migration permission to use this header.
X-VaultAPI-UnchangedFieldBehaviornullWhen upserting, set to IgnoreSetOnCreateOnly (default) 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. 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.