Organization Location
This endpoint is used to fetch all the organization locations in the current organization
GET /ux/common/org/location/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "text",
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
]
This endpoint is used to save a new user for the current organization
No response body
No content
POST /ux/common/org/location/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 204
{
"location_name": "JP Nagar",
"country": "India",
"address": "3rd floor",
"state": "Karnataka",
"city": "Bangalore",
"area": "JP Nagar",
"subarea": "3rd phase",
"pincode": "574221",
"description": "Branch office address"
}
No response body
No content
This endpoint is used to fetch a organization location details in the current organization
GET /ux/common/org/location/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
This endpoint is used to edit an existing organization location for the current organization
Serializes organization location querysets.
PUT /ux/common/org/location/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 348
{
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
{
"id": "text",
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
This endpoint is used to delete an existing organization location for the current organization
No response body
No content
DELETE /ux/common/org/location/{id}/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No response body
No content
API endpoint that allows users to be viewed or edited.
Serializes organization location querysets.
POST /ux/common/org/location/create-csv/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 348
{
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
{
"id": "text",
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
API endpoint that allows users to be viewed or edited.
Serializes organization location querysets.
POST /ux/common/org/location/csv_cols/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 348
{
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
{
"id": "text",
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
API endpoint that allows users to be viewed or edited.
GET /ux/common/org/location/download_csv/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
API endpoint that allows users to be viewed or edited.
GET /ux/common/org/location/location_details/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
API endpoint that allows users to be viewed or edited.
GET /ux/common/org/location/team_location/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "text",
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
API endpoint that allows users to be viewed or edited.
Serializes organization location querysets.
POST /ux/common/org/location/upload-csv/ HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 348
{
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}
{
"id": "text",
"location_id": "text",
"region": "text",
"location_name": "text",
"description": "text",
"country": "text",
"state": "text",
"city": "text",
"area": "text",
"subarea": "text",
"address": "text",
"city_bb": "text",
"pincode": "text",
"landmark": "text",
"latitude": 1,
"longitude": 1,
"district": "text",
"address_type": "text",
"is_ci": true,
"base_radius": 1,
"is_preconfigured": true
}