payments

Payments are all standing payments attributed to an employee. This includes the payment heading type, effective dates and values

Create payment

Create payment

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

Create employee payment

One of:
object
Responses
200

Employee payment

default

General Error

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

Get payment by ID

Get payment by ID

SecuritybearerAuth
Request
path Parameters
id
required
string <guid>

payment guid

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

Employee payment

default

General Error

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

Delete payment

Delete payment

SecuritybearerAuth
Request
path Parameters
id
required
string <guid>

payment guid

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

OK

default

General Error

delete/Payments/{id}
Request samples
Response samples
application/vnd.api+json
{
  • "links": {
    },
  • "errors": [
    ]
}

Update an existing payment

Update an existing payment by ID (partial update)

SecuritybearerAuth
Request
path Parameters
id
required
string <guid>

payment guid

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

Payment object that needs to be updated

One of:
object
Responses
200

Employee payment

default

General Error

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

Get all payments for employee

Get all payments for employee

SecuritybearerAuth
Request
path Parameters
employeeId
required
string <guid>

Employee ID

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

Employee payments array

default

General Error

get/Payments/employee/{employeeId}
Request samples
Response samples
application/vnd.api+json
{}