Í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 de entidad de negocio
  9. Uso de las API de REST para añadir registros de entidades de negocio

Guía de servicios de entidad de negocio

Guía de servicios de entidad de negocio

Ejemplo de respuesta de API

Ejemplo de respuesta de API

El ejemplo siguiente muestra un fragmento de la estructura de datos de la entidad de negocio de persona en el formato JSON:
{ "object":{ "field":[ { "allowedValues":[ "Person" ], "name":"partyType", "label":"Party Type", "dataType":"String", "length":255, "totalDigits":0, "fractionDigits":0, "readOnly":false, "required":false, "system":false }, { "name":"DUNSNumber", "label":"DUNS Number", "dataType":"String", "length":9, "totalDigits":0, "fractionDigits":0, "readOnly":false, "required":false, "system":false }, { "name":"boolFld", "label":"Bool_fld", "dataType":"String", "length":1, "totalDigits":0, "fractionDigits":0, "readOnly":false, "required":false, "system":false }, { "name":"intFld", "label":"Int_fld", "dataType":"Integer", "length":38, "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":"floatFld", "label":"Float_fld", "dataType":"Decimal", "length":0, "totalDigits":38, "fractionDigits":1, "readOnly":false, "required":false, "system":false }, { "name":"lastName", "label":"Last Name", "dataType":"String", "length":50, "totalDigits":0, "fractionDigits":0, "readOnly":false, "required":true, "system":false }, { "name":"middleName", "label":"Middle Name", "dataType":"String", "length":50, "totalDigits":0, "fractionDigits":0, "readOnly":false, "required":false, "system":false }, { "name":"imageUrl", "label":"image_url", "dataType":"ImageURL", "length":512, "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":true, "system":false }, { "name":"taxID", "label":"Tax ID", "dataType":"String", "length":29, "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":"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":"deletedBy", "label":"Deleted By", "dataType":"String", "length":50, "totalDigits":0, "fractionDigits":0, "readOnly":true, "required":false, "system":true }, { "name":"interactionId", "label":"Interaction Id", "dataType":"Integer", "length":38, "totalDigits":0, "fractionDigits":0, "readOnly":true, "required":false, "system":true }, { "name":"deletedDate", "label":"Deleted Date", "dataType":"Date", "length":23, "totalDigits":23, "fractionDigits":3, "readOnly":true, "required":false, "system":true }, { "name":"rowidObject", "label":"Rowid Object", "dataType":"String", "length":14, "totalDigits":0, "fractionDigits":0, "readOnly":true, "required":false, "system":true }, { "name":"deletedInd", "label":"Deleted Indicator", "dataType":"Integer", "length":38, "totalDigits":0, "fractionDigits":0, "readOnly":true, "required":false, "system":true }, { "name":"lastUpdateDate", "label":"Last Update Date", "dataType":"Date", "length":23, "totalDigits":23, "fractionDigits":3, "readOnly":true, "required":false, "system":true }, { "name":"updatedBy", "label":"Updated By", "dataType":"String", "length":50, "totalDigits":0, "fractionDigits":0, "readOnly":true, "required":false, "system":true }, { "name":"creator", "label":"Creator", "dataType":"String", "length":50, "totalDigits":0, "fractionDigits":0, "readOnly":true, "required":false, "system":true }, { "name":"consolidationInd", "label":"Consolidation Ind", "dataType":"Integer", "length":38, "totalDigits":0, "fractionDigits":0, "readOnly":true, "required":false, "system":true }, { "name":"createDate", "label":"Create Date", "dataType":"Date", "length":23, "totalDigits":23, "fractionDigits":3, "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-orcl-DS_UI1/LUGender?action=list", "rel":"list" }, { "href":"http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/LUGender?action=list&idlabel=genderCode%3AgenderDisp", "rel":"lookup" } ], "object":"LUGender", "key":"genderCode", "value":"genderDisp" } }, { "name":"generationSuffixCd", "label":"Generation Suffix Cd", "dataType":"lookup", "readOnly":false, "required":false, "system":false, "lookup":{ "link":[ { "href":"http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/LUGenerationSuffix?action=list&idlabel=generationSuffixCode%3AgenerationSuffixCode", "rel":"lookup" }, { "href":"http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/LUGenerationSuffix?action=list", "rel":"list" } ], "object":"LUGenerationSuffix", "key":"generationSuffixCode", "value":"generationSuffixCode" } }, { "name":"namePrefixCd", "label":"Name Prefix Cd", "dataType":"lookup", "readOnly":false, "required":false, "system":false, "lookup":{ "link":[ { "href":"http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/LUNamePrefix?action=list&idlabel=namePrefixCode%3AnamePrefixDisp", "rel":"lookup" }, { "href":"http://localhost:8080/cmx/cs/localhost-orcl-DS_UI1/LUNamePrefix?action=list", "rel":"list" } ], "object":"LUNamePrefix", "key":"namePrefixCode", "value":"namePrefixDisp" } } } }
En el siguiente ejemplo se muestra un fragmento de los metadatos de la relación
HouseholdContainsMemberPerson
:
{ "objectType": "RELATIONSHIP", "timeline": true, "object": { "field": [16] } "name": "HouseholdContainsMemberPerson", "label": "Household contains member Person", "bidirectional": false, "from": { "dataType": "BusinessEntity", "required": true, "lookup": { "object": "Household" } }, "to": { "dataType": "BusinessEntity", "required": true, "lookup": { "object": "Person" } } } }