reporting line

A reporting line links an employee's position to their supervisor's position within an organisation unit

Get reporting lines

SecuritybearerAuth
Request
query Parameters
page[number]
number >= 1

The page number

Example: page[number]=1
page[size]
number >= 1

The number of items per page

Example: page[size]=1
Responses
200

Reporting lines array

400

Bad Request

401

Unauthorized - Authorization Required

default

General Error

get/reportingLines
Request samples
Response samples
application/vnd.api+json
{}

post reporting line

post reporting line

SecuritybearerAuth
Request
Request Body schema: application/vnd.api+json

Post reporting line

One of:
object
Responses
200

reporting lines

400

Bad Request

401

Unauthorized - Authorization Required

422

Unprocessable Entity

default

General Error

post/reportingLines
Request samples
application/vnd.api+json
{
  • "data": {
    }
}
Response samples
application/vnd.api+json

Get reporting line by ID

Get a reporting line by ID

SecuritybearerAuth
Request
path Parameters
id
required
string <guid>

reporting line ID

Example: 906264f1-2dff-4f72-a10b-59918cf738d7
Responses
200

reporting lines

401

Unauthorized - Authorization Required

404

Not Found

default

General Error

get/reportingLines/{id}
Request samples
Response samples
application/vnd.api+json

Update reporting line

Update a reporting line

SecuritybearerAuth
Request
path Parameters
id
required
string <guid>

reporting line ID

Example: 906264f1-2dff-4f72-a10b-59918cf738d7
Request Body schema: application/vnd.api+json

Reporting line object that needs to be updated (partial update)

object
Responses
200

reporting lines

400

Bad Request

401

Unauthorized - Authorization Required

404

Not Found

422

Unprocessable Entity

default

General Error

patch/reportingLines/{id}
Request samples
application/vnd.api+json
{
  • "data": {
    }
}
Response samples
application/vnd.api+json

Delete reporting line

Delete reporting line

SecuritybearerAuth
Request
path Parameters
id
required
string <guid>

reporting line ID

Example: 906264f1-2dff-4f72-a10b-59918cf738d7
Responses
204

OK

400

Bad Request

401

Unauthorized - Authorization Required

404

Not Found

422

Unprocessable Entity

default

General Error

delete/reportingLines/{id}
Request samples
Response samples
application/vnd.api+json
{}