Índice

Search

  1. Prólogo
  2. Introducción a los servicios de entidad de negocio
  3. Llamadas de servicio de entidad de negocio Enterprise Java Bean
  4. Llamadas del servicio de entidad de negocio de transferencia de estado representacional
  5. Llamadas de servicios de entidad de negocio de Protocolo simple de acceso a objetos
  6. Servicios para registros de referencias cruzadas y cálculos de BVT
  7. Compatibilidad del servicio de vinculación empresarial
  8. Llamadas externas para limpiar, analizar y transformar datos
  9. Uso de las API de REST para añadir registros
  10. Uso de las API de REST para cargar archivos
  11. Uso de las API de REST para administrar informes

Guía de servicios de entidad de negocio

Guía de servicios de entidad de negocio

Obtener la respuesta de los metadatos

Obtener la respuesta de los metadatos

El siguiente ejemplo muestra algunos fragmentos de la estructura de datos de la entidad de negocio de persona:
{ "object": { "field": [ { "allowedValues": [ "Person" ], "name": "partyType", "label": "Party Type", "dataType": "String", "length": 255, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "imageUrl", "label": "Image URL", "dataType": "ImageURL", "length": 255, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "statusCd", "label": "Status Cd", "dataType": "String", "length": 2, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "displayName", "label": "Display Name", "dataType": "String", "length": 200, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "birthdate", "label": "Birthdate", "dataType": "Date", "length": 0, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "firstName", "label": "First Name", "dataType": "String", "length": 50, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "lastName", "label": "Last Name", "dataType": "String", "length": 50, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "middleName", "label": "Middle Name", "dataType": "String", "length": 50, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "dirtyIndicator", "label": "Dirty Indicator", "dataType": "Integer", "length": 38, "totalDigits": 0, "fractionDigits": 0, "readOnly": true, "required": false, "system": true }, { "name": "hubStateInd", "label": "Hub State Ind", "dataType": "Integer", "length": 38, "totalDigits": 0, "fractionDigits": 0, "readOnly": true, "required": false, "system": true }, { "name": "cmDirtyInd", "label": "Content metadata dirty Ind", "dataType": "Integer", "length": 38, "totalDigits": 0, "fractionDigits": 0, "readOnly": true, "required": false, "system": true }, { "name": "lastRowidSystem", "label": "Last Rowid System", "dataType": "String", "length": 14, "totalDigits": 0, "fractionDigits": 0, "readOnly": true, "required": false, "system": true }, ----------------------------------------------------------------------------------------- { "name": "genderCd", "label": "Gender Cd", "dataType": "lookup", "readOnly": false, "required": false, "system": false, "lookup": { "link": [ { "href": "http://localhost:8080/cmx/cs/localhost-hub101-ds_ui1/LUGender?action=list&idlabel=genderCode%3AgenderDisp", "rel": "lookup" }, { "href": "http://localhost:8080/cmx/cs/localhost-hub101-ds_ui1/LUGender?action=list", "rel": "list" } ], "object": "LUGender", "key": "genderCode", "value": "genderDisp" } } ], ----------------------------------------------------------------------------------------- "child": [ { "field": [ { "name": "cityName", "label": "City Name", "dataType": "String", "length": 100, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "addressLine2", "label": "Address Line2", "dataType": "String", "length": 100, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "addressLine1", "label": "Address Line1", "dataType": "String", "length": 100, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "isValidInd", "label": "Is Valid Ind", "dataType": "String", "length": 1, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, { "name": "postalCd", "label": "Postal Cd", "dataType": "String", "length": 10, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, ----------------------------------------------------------------------------------------- { "name": "countryCode", "label": "Country Code", "dataType": "lookup", "readOnly": false, "required": false, "system": false, "dependents": [ "Person.Address.Address.stateCd" ], "lookup": { "link": [ { "href": "http://localhost:8080/cmx/cs/localhost-hub101-ds_ui1/LUCountry?action=list", "rel": "list" }, { "href": "http://localhost:8080/cmx/cs/localhost-hub101-ds_ui1/LUCountry?action=list&idlabel=countryCode%3AcountryNameDisp", "rel": "lookup" } ], "object": "LUCountry", "key": "countryCode", "value": "countryNameDisp" } }, { "name": "stateCd", "label": "State Cd", "dataType": "lookup", "readOnly": false, "required": false, "system": false, "parents": [ "Person.Address.Address.countryCode" ], "lookup": { "link": [ { "href": "http://localhost:8080/cmx/cs/localhost-hub101-ds_ui1/LUCountry/{Person.Address.Address.countryCode}/LUState?action=list", "rel": "list" }, { "href": "http://localhost:8080/cmx/cs/localhost-hub101-ds_ui1/LUCountry/{Person.Address.Address.countryCode}/LUState?action=list&idlabel=stateAbbreviation%3AstateNameDisp", "rel": "lookup" } ], "object": "LUCountry.LUState", "key": "stateAbbreviation", "value": "stateNameDisp" } } ], "name": "Address", "label": "Address", "many": false } ], "name": "Address", "label": "Contact Address", "many": true }, { "field": [ { "name": "phoneNum", "label": "Phone Number", "dataType": "String", "length": 13, "totalDigits": 0, "fractionDigits": 0, "readOnly": false, "required": false, "system": false }, ----------------------------------------------------------------------------------------- { "name": "phoneTypeCd", "label": "Phone Type", "dataType": "lookup", "readOnly": false, "required": false, "system": false, "lookup": { "link": [ { "href": "http://localhost:8080/cmx/cs/localhost-hub101-ds_ui1/LUPhoneType?action=list&idlabel=phoneType%3AphoneTypeDisp", "rel": "lookup" }, { "href": "http://localhost:8080/cmx/cs/localhost-hub101-ds_ui1/LUPhoneType?action=list", "rel": "list" } ], "object": "LUPhoneType", "key": "phoneType", "value": "phoneTypeDisp" } } ], "name": "Telephone", "label": "Telephone", "many": true } ], "name": "Person", "label": "Person", "many": false } }