65.0 Add a Location

This function is used to add location objects to the system.

65.1 Request Data

Required Information
Name Description
action adminlocations
operation add
format xml
name Location name. Any text, 32 character max.
Optional Information
active flag to specify if you want the location to be set as active or inactive. Active locations will show up in the location filter dropdowns in GTC, inactive will not.
Possible values are
  • true
  • false
Note: If no value is passed for active, true is assumed.

65.2 Data Returned

Returned information:
A success or error message.

Example Request:

http://development.zonarsystems.net/interface.php?action=adminlocations&operation=add&format=xml&name=Home

Example Success Reply,
Example Error Reply