Skip to content

API (People Search)

Alex Sheikhi edited this page Dec 21, 2017 · 1 revision

URL

https://apitestbeacon.ses.nsw.gov.au/api/v2/people/get

Method

GET

Authentication

Bearer Token

Optional Params

  • Ids
  • EntityIds

Sample Response

{
    "CurrentPage": 1,
    "PageSize": 100,
    "TotalItems": 1,
    "Results": [
        {
            "Id": 8102,
            "FirstName": "First Name",
            "LastName": "Last Name",
            "FullName": "Last Name, First Name",
            "Gender": null,
            "EntityName": "Blue Mountains",
            "ExternalAgency": null,
            "ExternalAgencyPhoneNumber": null,
            "Description": "Electrical services",
            "IsUser": false,
            "Deleted": true,
            "RegistrationNumber": null,
            "Email": null,
            "Phone": null,
            "Entity": {
                "Id": 58,
                "Code": "BLU",
                "Name": "Blue Mountains",
                "Latitude": -33.70897,
                "Longitude": 123.30065,
                "EntityTypeId": 1,
                "HeadquartersStatusTypeId": 2,
                "ParentEntity": {
                    "Id": 8,
                    "Code": "SWR",
                    "Name": "Sydney Western Region"
                },
                "AriaCode": null
            },
            "AssignedTo": null,
            "TeamActiveOn": null,
            "CurrentOOAARecord": null,
            "AvailableEntityIds": [
                58
            ]
        }
    ]
}