Is it possible to add the paging feature to a custom Rest API?
To give a bit more detail, when you click into the default CIMapping API via Swagger, you get a bunch of options. One of these options (the 3rd GET) allows you to specify a customer ID, page number, and page size filters to be applied to the results.
Is there a way to add these features to a custom API? Specifically the paging option.
Solved! Go to Solution.
/rest/v1/cimapping is a different API than /rest/v1/data and so while cimapping allows different options, /data is based on PQL views created in the RestAPIDataset xml. It only allows you to specify url parameters that can be used in the PQL query. It may allow you to apply filters like 'TOP N' and where-clause and nodes etc, paging is not an option it currently supports.
Having looked at the planning phase in session one of this series, we will turn our focus to the readiness phase. The all important technical capabilities assessment, ensuring the network, endpoints and users are adequately prepared for the move.
Hear first hand from IR's Global Head of Information Systems and Technology, Jason Schwendinger, on how he has been tackling these issues.Join webinar