CROWDMANAGERCROWDMANAGER

Members

Description

A member represent a member user inside the system.
Those are created manually inside the admin panel.
Can be created just adding a new member or importing them by uploading a CSV file.
Members are linked to Users through the Phone Number (member.phone => user.phone).


GET Members

Endpoint returning system's user members list

Endpoint

GET https://{systemURL}/api/members

QUERY Parameters

Name Description Type Required Default
date_init last_update Date from Unix Timestamp no all
date_end last_update Date to Unix Timestamp no all
count_elements Number of elements per response int (max = 200) no 10
page Response Page # int no 1
order Response ASC, DESC by last_update no DESC

RESPONSE Schema

Key Type Description
count Integer Total Number of Items
page Integer Defined by QUERY parameter page or ""
items Array Array of Member Objects

Fields

Items

Name Description Type
id Unique identifier int
last_update Last update timestamp string
name Name of the person string
phone Phone number string
max_tickets_per_match Maximum tickets per match available per match int
tasks Associated tasks (if any) null or string
ticket_pool_used Tickets used int
category_id Member Category identifier int
category Member Category name string
ticket_pool_total Total tickets available int
ticket_pool_total_text Text description of total tickets string

Example

Request

GET https://aehandball.woow.no/api/members
Authorization: Basic your_access_token,
Content-Type: application/json

CURL

curl -X GET "https://aehandball.woow.no/api/members" \
     -H "Authorization: Basic your_access_token"

Tri it here

Ticketing API Members Endpoint

Response

200 OK
{
    "count": "88",
    "page": "",
    "items": [
        {
            "id": 4866,
            "last_update": "2024-08-17T08:20:01.272Z",
            "name": "Kasia Sz",
            "phone": "+4794669679",
            "max_tickets_per_match": 1,
            "tasks": null,
            "ticket_pool_used": 0,
            "category_id": 378,
            "category": "Loyalty Card",
            "ticket_pool_total": -1,
            "ticket_pool_total_text": "ubegrenset"
        },
        {
            "id": 4862,
            "last_update": "2024-07-22T09:20:00.846Z",
            "name": "AEH Account",
            "phone": "+4793474748",
            "max_tickets_per_match": 1,
            "tasks": "",
            "ticket_pool_used": 0,
            "category_id": 378,
            "category": "Loyalty Card",
            "ticket_pool_total": -1,
            "ticket_pool_total_text": "ubegrenset"
        },
        {
            "id": 4831,
            "last_update": "2024-07-22T09:20:00.846Z",
            "name": "AEH test account",
            "phone": "+4793474748",
            "max_tickets_per_match": 1,
            "tasks": "",
            "ticket_pool_used": 0,
            "category_id": 288,
            "category": "B2B-Firma-A",
            "ticket_pool_total": -1,
            "ticket_pool_total_text": "ubegrenset"
        },
        {
            "id": 4865,
            "last_update": "2024-07-10T06:21:11.827Z",
            "name": "Test User - . WERWER",
            "phone": "+4796204849",
            "max_tickets_per_match": 1,
            "tasks": null,
            "ticket_pool_used": 0,
            "category_id": 378,
            "category": "Loyalty Card",
            "ticket_pool_total": -1,
            "ticket_pool_total_text": "ubegrenset"
        },
        {
            "id": 4864,
            "last_update": "2024-05-27T21:05:53.877Z",
            "name": "Javier Test",
            "phone": "+4793474748",
            "max_tickets_per_match": 1,
            "tasks": "",
            "ticket_pool_used": 0,
            "category_id": 378,
            "category": "Loyalty Card",
            "ticket_pool_total": -1,
            "ticket_pool_total_text": "ubegrenset"
        },
        {
            "id": 4861,
            "last_update": "2024-04-30T12:01:51.374Z",
            "name": "Test User - 06f0471b550743e9a4eece792ed36f",
            "phone": "+4790000001",
            "max_tickets_per_match": 2,
            "tasks": "",
            "ticket_pool_used": 0,
            "category_id": 287,
            "category": "B2B-VIP-A",
            "ticket_pool_total": -1,
            "ticket_pool_total_text": "ubegrenset"
        },
        {
            "id": 4863,
            "last_update": "2024-04-30T12:00:57.961Z",
            "name": "Test User - 06f0471b550743e9a4eece792ed36f",
            "phone": "+4790000001",
            "max_tickets_per_match": 1,
            "tasks": null,
            "ticket_pool_used": 0,
            "category_id": 378,
            "category": "Loyalty Card",
            "ticket_pool_total": -1,
            "ticket_pool_total_text": "ubegrenset"
        },
        {
            "id": 4842,
            "last_update": "2024-04-25T19:54:13.531Z",
            "name": "Test User (cjespelet@gmail.comNaN)",
            "phone": "+4790240046",
            "max_tickets_per_match": 4,
            "tasks": "",
            "ticket_pool_used": 0,
            "category_id": 378,
            "category": "Loyalty Card",
            "ticket_pool_total": -1,
            "ticket_pool_total_text": "ubegrenset"
        },
        {
            "id": 4854,
            "last_update": "2024-04-22T12:41:22.457Z",
            "name": "Javier",
            "phone": "+4793474748",
            "max_tickets_per_match": 1,
            "tasks": "",
            "ticket_pool_used": 0,
            "category_id": 287,
            "category": "B2B-VIP-A",
            "ticket_pool_total": 1,
            "ticket_pool_total_text": "1"
        },
        {
            "id": 4708,
            "last_update": "2024-04-22T12:40:29.436Z",
            "name": "Eridan Ostberg (Eridan Ostberg)",
            "phone": "+4793474748",
            "max_tickets_per_match": 1,
            "tasks": null,
            "ticket_pool_used": 0,
            "category_id": 362,
            "category": "LIK test",
            "ticket_pool_total": -1,
            "ticket_pool_total_text": "ubegrenset"
        }
    ]
}