Returns a list of locations in the system.
Required Information | |
---|---|
Name | Description |
action | showopen (Deprecated action: extgetlocations) |
operation | location |
format | xml |
Optional Information | |
logvers | Possible values:
If no value is passed, 1 is assumed. |
showinactive | Possible values:
If no value is passed, false is assumed. |
Returned information
A list of locations
DTD for logvers=1
<!ELEMENT locationlist (location*)>
<!ATTLIST locationlist ver CDATA #REQUIRED>
<!ELEMENT location (#PCDATA)>
DTD for logvers=2
<!ELEMENT locationlist (location*)>
<!ATTLIST locationlist ver CDATA #REQUIRED>
<!ELEMENT location (#PCDATA)>
<!ATTLIST location active CDATA #REQUIRED>
Example Request (Deprecated form)
https://omi.zonarsystems.net/interface.php?customer=zzo2544&username=zonar&password=secret.pw.2019&action=extgetlocations
Example Request (Preferred form)
https://omi.zonarsystems.net/interface.php?customer=zzo2544&username=zonar&password=secret.pw.2019&action=showopen&operation=location&format=xml
Example Success Reply logvers=1
<locationlist ver="1">
<location>Home</location>
<location>Outreach</location>
<location>Training</location>
</locationlist>
Example Success Reply logvers=2
<locationlist ver="1">
<location active="t">Home</location>
<location active="t">Outreach</location>
<location active="t">Training</location>
</locationlist>