v4

latestOpenAPI 3.0.1Apache 2.02026-08-036821,1001.5 MB
Location

Initialize organization location

Initialize the organization location hierarchy tree.

post/locations/:init

Request body

organizationstring required

The organization name.

country'4' | '8' | '12' | '16' | '20' | '24' | '10' | '28' | '32' | '51' | '533' | '36' | '40' | '31' | '44' | '48' | '50' | '52' | '112' | '56' | '84' | '204' | '60' | '64' | '68' | '70' | '72' | '76' | '92' | '96' | '100' | '854' | '108' | '116' | '120' | '124' | '132' | '136' | '140' | '148' | '152' | '156' | '170' | '174' | '178' | '180' | '184' | '188' | '191' | '196' | '203' | '384' | '208' | '262' | '212' | '214' | '218' | '818' | '222' | '226' | '232' | '233' | '231' | '238' | '234' | '242' | '246' | '250' | '254' | '258' | '266' | '270' | '268' | '276' | '288' | '292' | '300' | '304' | '308' | '312' | '316' | '320' | '831' | '324' | '624' | '328' | '332' | '336' | '340' | '344' | '348' | '352' | '356' | '360' | '364' | '368' | '372' | '833' | '376' | '380' | '388' | '4014' | '832' | '400' | '398' | '404' | '296' | '410' | '414' | '417' | '418' | '428' | '422' | '426' | '430' | '434' | '438' | '440' | '442' | '446' | '450' | '454' | '458' | '462' | '466' | '470' | '474' | '478' | '480' | '484' | '583' | '498' | '492' | '496' | '499' | '504' | '508' | '104' | '516' | '524' | '528' | '540' | '554' | '558' | '562' | '566' | '408' | '578' | '512' | '586' | '585' | '275' | '591' | '598' | '600' | '604' | '608' | '616' | '620' | '630' | '634' | '807' | '638' | '642' | '643' | '646' | '659' | '662' | '670' | '882' | '674' | '682' | '686' | '688' | '690' | '694' | '702' | '703' | '705' | '90' | '706' | '710' | '724' | '144' | '729' | '740' | '748' | '752' | '756' | '760' | '158' | '762' | '834' | '764' | '626' | '768' | '776' | '780' | '788' | '792' | '795' | '796' | '784' | '800' | '804' | '826' | '840' | '858' | '850' | '860' | '548' | '862' | '704' | '876' | '887' | '894' | '716' required

The organization country code.

Response

OK

idinteger required

The unique identifier

create_timestring date-time required

The create time in UTC (ISO 8601 format)

update_timestring date-time required

The last update time in UTC (ISO 8601 format)

org_idinteger

The organization identifier, valid when enabling HIQ feature

parent_idinteger

The parent location ID

namestring required

The location name

unique_namestring required

The unique location name

typestring required

The location type

addressstring

The address for the location