locations

Locations (or Pay Points) are an organisational division that can be assigned to an employee and used for reporting purposes. Historically, would be used for physical payslip distribution

Get locations

SecuritybearerAuth
Responses
200

locations - Array

400

Bad Request

401

Unauthorized - Authorization Required

422

Unprocessable Entity

default

General Error

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

Create a new location

Create a new location

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

new location object

object
Responses
200

location

400

Bad Request

401

Unauthorized - Authorization Required

422

Unprocessable Entity

default

General Error

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

Get location by Id

SecuritybearerAuth
Request
path Parameters
id
required
string <guid>

Location Id

Example: 07f9dc0f-8064-b59f-43d6-9d612612f1e6
Responses
200

location

400

Bad Request

401

Unauthorized - Authorization Required

404

Not Found

422

Unprocessable Entity

default

General Error

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