| Metadata | Wrapper for name/value pairs. |
| MetadataList | Container for Metadata objects. |
| MetadataRestRequest | Request wrapper for type REST methods. |
| MetadataRestResponse | Response wrapper for type REST methods. |
The Metadata object is used when receiving data from the Harmony RightAddress metadata API methods.
{
"name": "CUL-DE-SAC",
"value": "CDS"
}
A MetadataList object is an array or list of Metadata structures. It is used to transport multiple instances of Metadata objects (e.g. to return a list of Floor Level or Flat/Unit types).
[
{
"name": "ACCESS",
"value": "ACCS"
},
{
"name": "ACCS",
"value": "ACCS"
},
{
"name": "ALLEY",
"value": "ALLY"
},
...
]
A MetadataRestRequest object is used when invoking the Harmony RightAddress metadata REST service methods.
{
"sourceOfTruth": "AUPAF"
}
A MetadataRestResponse object is returned from the Harmony RightAddress metadata REST service method invocations.
{
"status": "SUCCESS",
"messages": [],
"payload": [ { "name": "ACCESS", "value": "ACCS" }, ... ]
}