Retrieving the identifier of an entity
To retrieve the Identifier of an entity we provide a simple and consistent way to retrieve this. As within MXTS we provide all primary identifiers in the URL.
userinfo host port ┌──┴───┐ ┌──────┴──────┐ ┌┴┐ https://john.doe@mxt.maxxton.net:443/reservationmanager/reservations/12301/?crm=enabled&filters=disabled#top └─┬─┘ └────────────┬──────────────┘└──────────────────┬─────────────────┘ └───────────┬─────────────┘ └┬┘ scheme authority path query fragment
schematic of an URL.
From the URl we store the Identifier in the path section. See examples below to understand how to retrieve these identifiers via MXTS.
URL of accommodation type
maxxton.net/contentmanager/accommodationtypes/accommodationtype/8912741
Identifier: 8912741
URL of unit
maxxton.net/contentmanager/units/unit/4391417446
Identifier: 4391417446
URL of customer
maxxton.net/reservationmanager/customers/117879141263
Identifier: 117879141263