Create Object Records

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

https://developer.veevavault.com/api/24.2/#Create_Object_Record

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 on object fields using ID values or based on a unique field on the target object. This API does not support object lookup fields

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-TypestringCan be text/csv or application/json
AcceptstringCan be text/csv or application/json
X-VaultAPI-MigrationModebooleanIf set to true, Vault allows you to set the lifecycle state of an updated record while also bypassing entry criteria, entry actions, event actions, and reference constraints (Criteria VQL). Field requiredness and validation rules are still enforced. When updating lifecycle states, if a valid state or state type is not specified, records are created in their initial state. You must have the Record Migration permission to use this header.