Skip to content
Last updated

Referencing URIs

URI stands for Uniform Resource Identifier

Within the Interu data model, various records reference other records. The way we do this is to use the URI of the record but without the hostname prefix. This is illustrated in the following example:

Record URI
https://<hostname>/organisations/c0a77915-4109-46b2-b5d5-ff98ece128f0/location/123
Referenced
{
  ...
  "to": "/organisations/c0a77915-4109-46b2-b5d5-ff98ece128f0/location/123"
  ...
}