Reference String
When creating an item, a reference value will be returned in the metdata with this format:
<scheme>:<entity-type-str>#<owner>@<id>
This uses the full entity type string format, which can be used to reference any entity type in the THG Connect Platform. It follows the format <product>:<parent entity type>.<child entity type>, for example:
Example path
Section titled “Example path”/api/thg-fulfil/v1/providercompany/fulfilment-request/340fd-3s9f3e034-fs93434/dispatched/93sf39-wf839rs-srs3r34
the entity type str would be thg-fulfil:fulfilment-request.dispatched and the reference string would be thg:thg-fulfil:fulfilment-request.dispatched#providercompany@93sf39-wf839rs-srs3r34
Dispatched Example Response
Section titled “Dispatched Example Response”The entity type string can be found under data.type and the reference string for the entity data.meta.reference