Locations
Locations where your fundraiser can collect signups
Read locations list​
GET /locations​
Read the list of available locations
Response structure​
| Field | Type | Required | Description |
|---|---|---|---|
| id | Integer | True | Location ID |
| label | String | True | Location Label |
| code | String | True | Location Code |
| address | String | False | Location Address |
| phone | String | False | Location Phone |
| String | False | Location Email |
Example request
curl --request GET \
--url https://<cs>.metaface.it:8000/api/v3/locations/ \
--header 'Authorization: Token <secret_api_key>'
Example response
[
{
"id": 1,
"label": "Test Position 1",
"code": "10001",
"address": "",
"phone": "",
"email": ""
},
{
"id": 2,
"label": "Test Position 2",
"code": "10002",
"address": "",
"phone": "",
"email": ""
},
]