Users

/users (Level 1)

GET https://api.englandsquash.com/users

Requires Level 2 access. Returns a list of users and associated user details, filtered by optional parameters

Query Parameters

Name
Type
Description

FirstName

string

Use this parameter to filter by first name (like match)

LastName

string

Use this parameter to filter by last name (like match)

CountyID

integer

Use this parameter to filter by County - can be used to return a list of users linked to a specified county (exact match)

EnglandSquashID

string

Use the parameter to filter by EnglandSquashID (exact match)

memberID

integer

Use this parameter to filter by legacy member ID (exact match)

SPINID

integer

Use this parameter to filter by SPIN ID (exact match)

Headers

Name
Type
Description

APIToken

string

API key required to authenticate your request

[
 {
 "title": "Mr",
 "firstName": "John",
 "lastName": "Smith",
 "sex": null,
 "dateOfBirth": "1958-07-17T00:00:00",
 "countyID": null,
 "countyname": null
 "memberID": "",
 "englandSquashID": "ES1234567",
 "spinid": "123456"
 "membershipStatus": "Active",
 "membershipType": "Club",
 "membershipExpiresOn": "2016-09-01T00:00:00"
 }
 ]

Following a succesful call, Membership Status, will return one of the following statuses:

  • Inactive (no current membership)

  • Club (active membership via a club – adult/junior)

  • Coach (active direct coach membership)

  • Adult (active direct adult membership)

  • Junior (active direct junior membership)

Last updated