Learn about theDocumentation Index
Fetch the complete documentation index at: https://docs.argyle.com/llms.txt
Use this file to discover all available pages before exploring further.
/activities endpoint.
An activity is a single unit of work performed by a user at a company.
The activity object
An activity object may represent a single task, as a shift, a job, or a batch of tasks depending on the company.Attributes
id(string (uuid), optional): Unique ID of the activity associated with a user’s payroll account.account(string (uuid), optional): ID of the payroll account associated with the activity.employer(string, optional): The name of the company or entity that employs the user.circumstances(object, optional): Activity-specific data attributes (metadata) provided by the Link item.duration(integer, optional): Duration time for the activity, displayed in seconds.earning_type(note, optional)income(object, optional): Contains information about the amount earned for an activity.start_location(object, optional): Geographical information for activity’s start location.lat(string, optional): The geographic latitude of where the activity started.lng(string, optional): The geographic longitude of where the activity started.formatted_address(string, optional): Full address of where the activity started.end_location(object, optional): Geographical information for activity’s end location.lat(string, optional): The geographic latitude of where the activity ended.lng(string, optional): The geographic longitude of where the activity ended.formatted_address(string, optional): Full address of where the activity ended.route(string, optional): URL to the payroll provider page that contains the route of the activity.distance(string, optional): Distance traveled during the activity.metadata(object, optional): Holds additional available, often unstructured, information about this data resource.
Retrieve an activity
GET/v1/activities/{id}
- Retrieve an activity object with the supplied ID.
- This request returns an activity object if a valid identifier was provided.
Path parameters
id(string (uuid), required): The identifier of the activity object to be retrieved.
- curl
- python
List activities
GET/v1/activities
- List all activities ordered by
start_date. Filter them by date range, account, or user ID. - This request returns an object with a
resultsproperty that contains an array of up tolimitactivities objects.
Query parameters
- curl
- python