How to work with the infocenter update¶
Concepts¶
All endpoints to update data in the infocenter update api are accessible by the partner.
The idea of provided endpoints is creating/modifying/deleting entities in the infocenter. It is not possible to get any data from the infocenter-update endpoints, and there you will get only responses with success results of your actions or responses with validation errors.
API¶
Data Models¶
-
Creative work request model
Model with properties of creativeWorks available for update in the infocenter. -
Tour request model
Model with properties of tours available for update in the infocenter.
Endpoints¶
We offer endpoints for making changes in entities available over the Infocenter endpoint.
Sample endpoints:
- [POST,PUT] /creativeWorks/{project}
- [DELETE] /creativeWorks/{project}/{sourceId}
Localization¶
Since you don't get any data in the response, there is no provided localization.
Tip
It is always necessary to send the full object with all properties (no PATCH). To add values in a different language you need to add the translated values for all other languages as well. Languages you do not send we do translate automatically.
Next steps¶
- For more information see Infocenter update service endpoints
- Technical definitions of each API endpoint, sample code, test UI and Open API definitions to download could be found in the developer portal.
-> developer.discover.swiss/apis