From 71beb060a901bb568d7721e91902c7e4ee43646e Mon Sep 17 00:00:00 2001 From: Makar Date: Tue, 4 Apr 2017 20:41:52 +0300 Subject: [PATCH] BAP-13934: Absent "Channel" field in created via API Magento Customer (#9331) --- .../Resources/config/oro/api.yml | 1 + .../Resources/doc/api/channel.md | 15 +++++++++++++++ .../Resources/translations/messages.en.yml | 12 +++++++++--- 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 src/Oro/Bundle/IntegrationBundle/Resources/doc/api/channel.md diff --git a/src/Oro/Bundle/IntegrationBundle/Resources/config/oro/api.yml b/src/Oro/Bundle/IntegrationBundle/Resources/config/oro/api.yml index 8f25b6f6416..7dc80850a5b 100644 --- a/src/Oro/Bundle/IntegrationBundle/Resources/config/oro/api.yml +++ b/src/Oro/Bundle/IntegrationBundle/Resources/config/oro/api.yml @@ -1,6 +1,7 @@ api: entities: Oro\Bundle\IntegrationBundle\Entity\Channel: + documentation_resource: '@OroIntegrationBundle/Resources/doc/api/channel.md' actions: create: false update: false diff --git a/src/Oro/Bundle/IntegrationBundle/Resources/doc/api/channel.md b/src/Oro/Bundle/IntegrationBundle/Resources/doc/api/channel.md new file mode 100644 index 00000000000..a80952ff285 --- /dev/null +++ b/src/Oro/Bundle/IntegrationBundle/Resources/doc/api/channel.md @@ -0,0 +1,15 @@ +# Oro\Bundle\IntegrationBundle\Entity\Channel + +## ACTIONS + +### get + +Retrieve a specific Integration channel record. + +{@inheritdoc} + +### get_list + +Retrieve a collection of Integration channel records. + +{@inheritdoc} diff --git a/src/Oro/Bundle/IntegrationBundle/Resources/translations/messages.en.yml b/src/Oro/Bundle/IntegrationBundle/Resources/translations/messages.en.yml index f1dfe3ac21e..5a45c1dfbcc 100644 --- a/src/Oro/Bundle/IntegrationBundle/Resources/translations/messages.en.yml +++ b/src/Oro/Bundle/IntegrationBundle/Resources/translations/messages.en.yml @@ -60,12 +60,18 @@ oro: entity_plural_label: Integrations entity_description: Represent integration id.label: Id - type.label: Type + type: + label: Type + description: Integration type transport.label: Transport type - enabled.label: Enabled + enabled: + label: Enabled + description: Enable or disable integration mapping_settings.label: Mapping Setting statuses.label: Statuses - name.label: Name + name: + label: Name + description: Integration name connectors.label: Connectors synchronization_settings.label: Synchronization Settings organization.label: Organization