GET Employee?accountId={accountId}

Get a list of employees using an (optional) account id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

The account id of the account which employees you want to fetch. When no account id is supplied (or zero), the users account is used

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of EmployeeDto
NameDescriptionTypeAdditional information
Name

string

None.

FullName

string

None.

Initials

string

None.

FamilyNamePrefix

string

None.

FirstName

string

None.

EmailAddress

string

None.

PersonelNumber

string

None.

Gender

Gender

None.

User

ResourceDto

None.

Code

integer

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Name": "sample string 1",
    "FullName": "sample string 2",
    "Initials": "sample string 3",
    "FamilyNamePrefix": "sample string 4",
    "FirstName": "sample string 5",
    "EmailAddress": "sample string 6",
    "PersonelNumber": "sample string 7",
    "Gender": "Male",
    "User": {
      "Id": 1,
      "Url": "https://api.fleetgo.com/api//1"
    },
    "Code": 8,
    "Id": 9
  },
  {
    "Name": "sample string 1",
    "FullName": "sample string 2",
    "Initials": "sample string 3",
    "FamilyNamePrefix": "sample string 4",
    "FirstName": "sample string 5",
    "EmailAddress": "sample string 6",
    "PersonelNumber": "sample string 7",
    "Gender": "Male",
    "User": {
      "Id": 1,
      "Url": "https://api.fleetgo.com/api//1"
    },
    "Code": 8,
    "Id": 9
  }
]