cost code allocations

A cost code allocation can be assigned to an employee in order to track financial costs and produce journals destined for your accounting system

Get Cost Code Allocation by Employment ID

Get Cost Code Allocation by Employment ID

SecuritybearerAuth
Request
path Parameters
employmentId
required
string <guid>

employment guid.

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

Cost Code Allocation Response

400

Bad Request

401

Unauthorized - Authorization Required

404

Not Found

422

Unprocessable Entity

default

General Error

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

Add or update a cost code allocation

Add or update a cost code allocation

SecuritybearerAuth
Request
path Parameters
employmentId
required
string <guid>

employment guid.

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

CostCode allocation object that needs to be added or updated

object
Responses
200

Cost Code Allocation Response

400

Bad Request

401

Unauthorized - Authorization Required

422

Unprocessable Entity

default

General Error

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