Items API
Ainua Portal Items API provides RESTful access for data integration. It is designed for integrating data from a back-office solution to Ainua Portal.
For added security Items API is write-only as are all Ainua Portal API’s.
Integration first principle
Ainua Portal data integration is build upon “integration first” -principle. This means that when introducing a new page or changes to an existing page we approach it by:
- Create a new page (as needed)
- Using Ainua Portal administration
- Give the page a
page_id
- Use development mode
- Change page to development mode using Ainua Portal administration
- Do the integration
- Using a workflow tool or other integration method push first data item to
page_id
->
Available data becomes visible in Ainua Portal administration- Configure page data content visual appearance using Ainua Portal administration
- Using a workflow tool or other integration method push first data item to
- Return to normal mode
- Turn page development mode off using the Ainua Portal administration
- Page becomes available to end-users
Updating data
Request
Header
Body
Request will return 200 OK
on success.
To remove a user provide null
as user data.
Example
Request
Header
Body
Response