Location Management
Last updated
Was this helpful?
Last updated
Was this helpful?
This API is associated with deleting the location data based on the location id.
/data/v1/location/delete
Location id of location
To make use of any Location API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here.
{{authorization}}
{"id":"api.location.delete","ver":"v1","ts":"2020-11-20 13:17:44:741+0000","params":{"resmsgid":null,"msgid":"c549ef41-faa8-4db2-9136-3490a6ee2607","err":null,"status":"success","errmsg":null},"responseCode":"OK","result":{"response":"SUCCESS"}}
This API is used to create a physical location of a user or an organization, depending upon the usecase
/data/v1/location/create
To make use of any Location API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here.
{{authorization}}
{"code":"APCODE1","name":"APSTATE","type":"state"}
{"id":"api.location.create","ver":"v1","ts":"2020-11-20 07:09:36:098+0000","params":{"resmsgid":null,"msgid":"f794b084-d4e9-4ce3-9795-82c88ada6b66","err":null,"status":"success","errmsg":null},"responseCode":"OK","result":{"response":"SUCCESS","id":"6824e3d3-5512-4344-a481-7bac011edaa8"}}
This API is associated with fetching the location data based on the criterias specified in the request body.
/data/v1/location/search
To make use of any Location API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here.
{{authorization}}
{"filters":{"code":"APCODE1"}}
{"id":"api.location.search","ver":"v1","ts":"2020-11-20 07:20:43:770+0000","params":{"resmsgid":null,"msgid":"2d12c998-96c4-43d6-8937-4ebbb8b68d02","err":null,"status":"success","errmsg":null},"responseCode":"OK","result":{"response":[{"identifier":"6824e3d3-5512-4344-a481-7bac011edaa8","code":"APCODE","name":"APSTATE","id":"6824e3d3-5512-4344-a481-7bac011edaa8","type":"state"}],"count":1}}
This API is associated with updating the location data based on the location id,
/data/v1/location/update
To make use of any Location API, you require authorization. Raise a request to the administrator for the use of the API. You will receive the authorization key. Specify the key received, here.
{{authorization}}
{"name":"APSTATE1","id":"e4e60956-277c-439e-bbf7-5c99730341f3"}
{"id":"api.location.update","ver":"v1","ts":"2020-11-20 12:58:11:871+0000","params":{"resmsgid":null,"msgid":"9e447000-03f7-43ee-9e3e-342c4a6d5acf","err":null,"status":"success","errmsg":null},"responseCode":"OK","result":{"response":"SUCCESS"}}