Table des matières

Search

  1. Préface
  2. Introduction aux services d'entité commerciale
  3. Appels de services d'entité commerciale Enterprise Java Bean
  4. Appels de services d'entité commerciale Representational State Transfer
  5. Appels de services d'entité commerciale du protocole SOAP (Simple Object Access Protocol)
  6. Services d'enregistrements de références croisées et de calculs de MVV
  7. Prise en charge du service de liaison d'entreprise
  8. Appels externes pour le nettoyage, l'analyse et la transformation de données
  9. Utilisation d'API REST pour ajouter des enregistrements
  10. Utilisation d'API REST pour le chargement de fichiers

Guide des services d'entité d'entreprise

Guide des services d'entité d'entreprise

Exemple de réponse d'API

Exemple de réponse d'API

Les exemples de réponse d'une entité et d'une relation contiennent des autorisations de sécurité. La première section
operations
définit les autorisations possibles. La section
object
répertorie vos autorisations pour l'entité d'entreprise ou la relation complète. La section
fields
définit vos autorisations au niveau du champ.
L'exemple suivant montre une structure de données partielle pour l'entité d'entreprise Personne au format JSON.
{ "operations": { "read": { "allowed": true }, "search": { "allowed": true }, "create": { "allowed": true, "task": { "template": { "title": "Review changes in {taskRecord[0].label}", "priority": "NORMAL", "dueDate": "2018-04-24T09:28:13.455-04:00", "taskType": "AVOSBeUpdate", "comment": "This is urgent. Please review ASAP" }, "comment": "AS_REQUIRED", "attachment": "OPTIONAL" } }, "update": { "allowed": true, "task": { "template": { "title": "Review changes in {taskRecord[0].label}", "priority": "NORMAL", "dueDate": "2018-04-24T09:28:13.455-04:00", "taskType": "AVOSBeUpdate", "comment": "This is urgent. Please review ASAP" }, "comment": "AS_REQUIRED", "attachment": "OPTIONAL" } }, "merge": { "allowed": true, "task": { "template": { "title": "Review changes in {taskRecord[0].label}", "priority": "NORMAL", "dueDate": "2018-04-24T09:28:13.455-04:00", "taskType": "AVOSBeMerge", "comment": "This is urgent. Please review ASAP" }, "comment": "AS_REQUIRED", "attachment": "OPTIONAL" } }, "delete": { "allowed": true }, "unmerge": { "allowed": true, "task": { "template": { "title": "Review changes in {taskRecord[0].label}", "priority": "NORMAL", "dueDate": "2018-04-24T09:28:13.455-04:00", "taskType": "AVOSBeUnmerge", "comment": "This is urgent. Please review ASAP" }, "comment": "AS_REQUIRED", "attachment": "OPTIONAL" } } }, "objectType": "ENTITY", "timeline": true, "object": { "operations": { "read": { "allowed": true }, "create": { "allowed": true }, "update": { "allowed": true }, "merge": { "allowed": true }, "delete": { "allowed": true }, "unmerge": { "allowed": true } }, "field": [ { "operations": { "read": { "allowed": true }, "create": { "allowed": true }, "update": { "allowed": true } }, "allowedValues": [ "Person" ], "searchable": { "filterable": true, "facet": true }, "name": "partyType", "label": "Party Type", "dataType": "String", "length": 255 }, { "operations": { "read": { "allowed": true }, "create": { "allowed": true }, "update": { "allowed": true } }, "name": "lastName", "label": "Last Name", "dataType": "String", "length": 50 }, { "operations": { "read": { "allowed": true }, "create": { "allowed": true }, "update": { "allowed": true } }, "searchable": { "filterable": true, "facet": true }, "name": "displayName", "label": "Display Name", "dataType": "String", "length": 200 }, ... ], "name": "Person", "label": "Person", "many": false } }