Company Codes

Get All Company Codes

Get All Company Codes for the selected company and resource.

get/v2/companies/{companyId}/codes/{codeResource}

Request

  • Base URL
    https://dc1demogw.paylocity.com/api
  • URL
    https://dc1demogw.paylocity.com/api/v2/companies/{companyId}/codes/{codeResource}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://api.paylocity.com/IdentityServer/connect/token scopes: WebLinkAPI

Path parameters

companyIdstring required

The Paylocity Company Identifier. This is the unique value provided by Paylocity to each specific Payroll Entity. Allowable Values: 9 char max

codeResourcestring required

Type of Company Code. Common values costcenter1, costcenter2, costcenter3, deductions, earnings, taxes, paygrade, positions.

Response

Successfully retrieved

codestring

Code.<br /> Max length: 40

descriptionstring

Description. <br /> Max length: 150

Changes

No recorded changes to this operation across all 1 revision of this API.