

Now click to “ Next:Add to unified schema” button keeping other section as default selected. Press confirm button will display the updated detail here.Select customerId as primary key here and press confirm button.You will see option to define Primary key and Select Default Query method.Click on the “ Enable Collaboration” button. This Page has below yellow highlighted section.Click Customer tab from left yellow highlighted panel. We can make visible/hidden query method here.Anypoint Datagraph is smart enough to populate the details from RAML. Below page displays the schema details populated from the RAML specification.Note:- Please refer the API Manager snippet for the reference in below section. Since we have not applied any policies in API manager so we should select authentication policy as No Auth here and click “ Next preview Schema” button. Please refer Snippet 2 for the reference. Note:- These values populated from the API manager configuration which we set during the API manager configuration. Click “Next Configure Security” button now. Add/Edit API URL section will be enabled with default selected values.Click “ Confirm Selection ” button with default selected API version and Asset Version. Select Customer System API from the list and click “Next Configure URL”.This page has displayed all the discoverable API available on exchange. Go to the Anypoint Datagraph page using the main menu from the top left menu.And mentioned APIs below are also published on exchange.Assuming that following API’s deployed on sandbox environment with mentioned endpoint.Here are the steps below for enabling a datagraph endpoint in MuleSoft Customer API response schema has 6 attributes (customerId,Name,Age,phone,email,pincode and address) and they want to send separate response to mobile and web application. Mobile and Web application needs separate response data.Į.g.

Here Anypoint Datagraph help us to send the aggregated response to the client application just through configuration only.
DATAGRAPH VS SUBMARINER CODE
So basically, developer don’t have to write code for parsing the data from these API’s. Now we wanted to send aggregated response from these API without writing any process/business orchestration layer. Let’s consider we have 3 system APIs(Ledger, Customer and Account API) available on exchange and deployed.
