Paylocity
Costcenter2

Paylocity Costcenter2 API

Sync costcenter2 data with Paylocity through Apideck's unified API. One integration, instant access.

In Apideck, this resource is called Departments (API: departments)

Supported Operations for Paylocity Costcenter2

List, Get operations available through our unified API

list
get
create
update
delete

Supported Fields

4 fields

Fields available for Paylocity Costcenter2

idnamecodedescription

API Model Preview

Sample response structure for costcenter2

{
  "id": "12345",
  "name": "Example Name",
  "code": "CODE-001",
  "description": "Example Description"
}

Quick Start Example

Start syncing Paylocity costcenter2 in minutes

Node.js
import { Apideck } from '@apideck/unify'

const apideck = new Apideck({
  apiKey: process.env.APIDECK_API_KEY,
  appId: 'YOUR_APP_ID',
  consumerId: 'YOUR_CONSUMER_ID'
})

// List costcenter2 from Paylocity
const result = await apideck.hris.departments.list({
  serviceId: 'paylocity'
})

for await (const page of result) {
  console.log(page)
}
// Returns unified costcenter2 data

Paylocity SDKs

Build Paylocity integrations in your favorite language with our official SDKs.

Launch accounting integrations in weeks, not months

Sign Up