Retrieve Object Metadata
Retrieve all metadata configured on a standard or custom Vault Object.
GET
/api/{version}/metadata/vobjects/{object_name}Headers
Section link for Headers| Name | Description |
|---|---|
Accept | application/json (default) or application/xml |
URI Path Parameters
Section link for URI Path Parameters| Name | Description |
|---|---|
{object_name} | The object name__v field value. For example, product__v, country__v, custom_object__c. |
Query Parameters
Section link for Query Parameters| Name | Description |
|---|---|
loc | Set to true to retrieve the localized_data array, which contains the localized (translated) strings for the label and label_plural object fields. If omitted, defaults to false and localized Strings are not included. |
Request
Section link for Requestcurl -X GET -H "Authorization: {SESSION_ID}" \
https://myvault.veevavault.com/api/v23.2/metadata/vobjects/product__vResponse
Section link for Response{
"responseStatus": "SUCCESS",
"object": {
"available_lifecycles": [],
"label_plural": "Products",
"prefix": "00P",
"data_store": "standard",
"description": null,
"enable_esignatures": false,
"source": "standard",
"allow_attachments": false,
"relationships": [
{
"relationship_name": "product_family__vr",
"relationship_label": "Product Family",
"field": "product_family__v",
"relationship_type": "reference_outbound",
"localized_data": {
"relationship_label": {
"de": "Produktfamilie",
"ru": "Семейство продуктов",
"kr": "제품군",
"en": "Product Family",
"it": "Famiglia di prodotti",
"pt_BR": "Família de produtos",
"fr": "Famille de produits",
"hu": "Termékcsalád",
"es": "Familia de productos",
"zh": "产品系列",
"zh_TW": "產品系列",
"th": "ตระกูลผลิตภัณฑ์",
"ja": "製品ファミリー",
"pl": "Rodzina produktów",
"nl": "Productgroep",
"tr": "Ürün Ailesi",
"pt_PT": "Família do produto"
}
},
"relationship_deletion": "block",
"object": {
"url": "/api/v23.2/metadata/vobjects/product_family__v",
"label": "Product Family",
"name": "product_family__v",
"label_plural": "Product Families",
"prefix": "V95",
"localized_data": {
"label_plural": {
"de": "Produktfamilien",
"ru": "Семейства продуктов",
"kr": "제품군",
"en": "Product Families",
"it": "Famiglie di prodotti",
"pt_BR": "Famílias de produtos",
"fr": "Familles de produits",
"hu": "Termékcsaládok",
"es": "Familias de productos",
"zh": "产品系列",
"zh_TW": "產品系列",
"th": "ตระกูลผลิตภัณฑ์",
"ja": "製品ファミリー",
"pl": "Rodziny produktów",
"nl": "Productfamilies",
"tr": "Ürün Aileleri",
"pt_PT": "Famílias de produto"
},
"label": {
"de": "Produktfamilie",
"ru": "Семейство продуктов",
"kr": "제품군",
"en": "Product Family",
"it": "Famiglia di prodotti",
"pt_BR": "Família de produtos",
"fr": "Famille de produits",
"hu": "Termékcsalád",
"es": "Familia de productos",
"zh": "产品系列",
"zh_TW": "產品系列",
"th": "ตระกูลผลิตภัณฑ์",
"ja": "製品ファミリー",
"pl": "Rodzina produktów",
"nl": "Productgroep",
"tr": "Ürün Ailesi",
"pt_PT": "Família do produto"
}
}
}
}
],
"urls": {
"field": "/api/v23.2/metadata/vobjects/product__v/fields/{name}",
"record": "/api/v23.2/vobjects/product__v/{id}",
"list": "/api/v23.2/vobjects/product__v",
"metadata": "/api/v23.2/metadata/vobjects/product__v"
},
"role_overrides": false,
"localized_data": {
"label_plural": {
"de": "Produkte",
"ru": "Продукты",
"sv": "Produkter",
"kr": "제품",
"en": "Products",
"pt_BR": "Produtos",
"it": "Prodotti",
"fr": "Produits",
"hu": "Termékek",
"es": "Productos",
"zh": "产品",
"zh_TW": "產品",
"ja": "製品",
"pl": "Produkty",
"tr": "Ürünler",
"nl": "Producten",
"pt_PT": "Produtos"
},
"label": {
"de": "Produkt",
"ru": "Продукт",
"sv": "Produkt",
"kr": "제품",
"en": "Product",
"pt_BR": "Produto",
"it": "Prodotto",
"fr": "Produit",
"hu": "Termék",
"es": "Producto",
"zh": "产品",
"zh_TW": "產品",
"ja": "製品",
"pl": "Produkt",
"tr": "Ürün",
"nl": "Product",
"pt_PT": "Produto"
}
},
"object_class": "base",
"order": 12,
"allow_types": false,
"help_content": null,
"in_menu": true,
"label": "Product",
"modified_date": "2020-12-23T04:00:21.000Z",
"created_by": 1,
"secure_audit_trail": false,
"secure_sharing_settings": false,
"dynamic_security": false,
"auditable": true,
"name": "product__v",
"modified_by": 1,
"user_role_setup_object": null,
"secure_attachments": false,
"prevent_record_overwrite": false,
"created_date": "2020-05-26T10:19:27.000Z",
"system_managed": false,
"fields": [
{
"help_content": null,
"editable": false,
"lookup_relationship_name": null,
"label": "ID",
"source": "standard",
"type": "ID",
"modified_date": "2020-05-26T10:19:27.000Z",
"created_by": 1,
"required": false,
"no_copy": true,
"localized_data": {
"label": {
"de": "ID",
"ru": "Идентификатор",
"sv": "ID",
"kr": "ID",
"en": "ID",
"pt_BR": "ID",
"it": "ID",
"fr": "ID",
"hu": "Azonosító",
"es": "ID",
"zh": "ID",
"zh_TW": "識別碼",
"ja": "ID",
"pl": "Identyfikator",
"tr": "Kimlik",
"nl": "ID",
"pt_PT": "ID"
}
},
"name": "id",
"list_column": false,
"modified_by": 1,
"facetable": false,
"created_date": "2020-05-26T10:19:27.000Z",
"lookup_source_field": null,
"status": [
"active__v"
],
"order": 0
}
],
"status": [
"active__v"
],
"default_obj_type": "base__v"
}
}Response Details
Section link for Response DetailsThe response includes all metadata configured on the object, such as: