client

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProductionHost = "https://dc1demogwext.paylocity.com/"
)

Variables

View Source
var ErrUnauthorized = errors.New("Unauthorized")

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, host, companyID, clientID, clientSecret string) (*Client, error)

func (*Client) ListEmployees

func (c *Client) ListEmployees(ctx context.Context, offset, limit int) (*models.EmployeesResponse, *v2.RateLimitDescription, error)

func (*Client) ListPositionCodes

func (c *Client) ListPositionCodes(ctx context.Context, offset, limit int) (*models.PositionCodeResponse, *v2.RateLimitDescription, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL