Enabling the Simplified View for a Specific Reseller
Note: This feature is available from RDE version 1.4-135.
To enable a simplified view in UX1 for a specific reseller, prepare a JSON file defining a customized structure of reports to be generated, and perform a REST request using a command line or a REST client.
Important: The provider performs all REST API requests by providing the admin user's APS token. A reseller can do this for their resellers using OAuth credentials received from the provider.
To make the simplified view available in UX1, complete the following steps:
-
Make sure that the
http://www.odin.com/rde/reseller-report-customization/1.0
type resource is present on the APS bus. To do this, perform the following request:GET http://<MN_hostname>:8080/aps/2/resources?implementing(reseller-report-customization/1.0)
-
If the response is empty, the resource does not exist and you need to create it. Do this by performing the following request with the specified JSON file:
POST http://<MN_hostname>:8080/aps/2/resources
If the response is not empty, write down the aps.id (for example, 9b84656e-51e7-4d36-bb13-a50c4df36b55) of the found resource and update the resource. To do this, perform the following request with the specified JSON file:
PUT http://<MN_hostname>:8080/aps/2/resources/<aps_id_of_resource>
To remove the resource, perform the following request with the specified JSON file:
DELETE http://<MN_hostname>:8080/aps/2/resources/<aps_id_of_resource>