Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL).
select
Required
sequence
The names of the fields that you want included in the response, and an optional aggregate function such as count or sum. Returning all fields is not supported.
orderby
Optional
object
Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> <field>RECORDNO</field> <descending/> </order>
Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query
Required
string
SQL-like query based on fields on the object. The following operators are supported: <, >, >=, <=, =, like, not like, in, not in, IS NOT NULL, IS NULL, AND, OR. Illegal XML characters must be properly encoded, and single quotes must be escaped with backslashes ('Jane\'s Deli'). Joins are not supported.
pagesize
Optional
integer
Custom page size between 1 and 1000 items (Default: 100)
Comma-separated list of RECORDNO of the labor class to get.
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.
Comma-separated list of LABORCLASSID of the labor class to get.
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.
returnFormat
Optional
string
Data format for the response body:
xml (default)
json
csv
Create Labor Class
create
<create><LABORCLASS><LABORCLASSID>LC001</LABORCLASSID><NAME>Labor Class 001</NAME><DESCRIPTION>Supervisors</DESCRIPTION></LABORCLASS></create>
Parameters
Name
Required
Type
Description
LABORCLASS
Required
object
Object type to create.
LABORCLASS
Name
Required
Type
Description
LABORCLASSID
Required
string
User-defined unique ID of the labor class.
NAME
Required
string
Name of the labor class.
DESCRIPTION
Optional
string
Description of the labor class.
STATUS
Optional
enum
Whether this labor class is active and can be assigned to employees.
active (default)
inactive
Custom field name
varies
varies
Custom field names and values as defined for this object. For a multi-pick-list custom field, implode multiple field values with #~#.
Update a Labor Class
update
<update><LABORCLASS><LABORCLASSID>PCO-66</LABORCLASSID><NAME>Labor Class 001b</NAME></LABORCLASS></update>
Parameters
Name
Required
Type
Description
LABORCLASS
Required
object
Object type to update.
LABORCLASS
Name
Required
Type
Description
RECORDNO
Required
string
RECORDNO of the labor class to update. Required if not including LABORCLASSID.
LABORCLASSID
Optional
string
LABORCLASSID of the labor class to update. Required if not including RECORDNO.
NAME
Optional
string
Name of the labor class.
DESCRIPTION
Optional
string
Description of the labor class.
STATUS
Optional
enum
Whether this labor class is active and can be assigned to employees.
active (default)
inactive
Custom field name
varies
varies
Custom field names and values as defined for this object. For a multi-pick-list custom field, implode multiple field values with #~#.
Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL).
select
Required
sequence
The names of the fields that you want included in the response, and an optional aggregate function such as count or sum. Returning all fields is not supported.
orderby
Optional
object
Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> <field>RECORDNO</field> <descending/> </order>
Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query
Required
string
SQL-like query based on fields on the object. The following operators are supported: <, >, >=, <=, =, like, not like, in, not in, IS NOT NULL, IS NULL, AND, OR. Illegal XML characters must be properly encoded, and single quotes must be escaped with backslashes ('Jane\'s Deli'). Joins are not supported.
pagesize
Optional
integer
Custom page size between 1 and 1000 items (Default: 100)
Comma-separated list of RECORDNO of the labor shift to get.
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.
Comma-separated list of LABORSHIFTID of the labor shift to get.
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.
Filter expression to limit the response to only objects that match the expression. Check the value of a single field using operators such as equalto/like, or multiple fields using and/or. Query fields on related objects using the dot operator (for example, VENDOR.CREDITLIMIT on APBILL).
select
Required
sequence
The names of the fields that you want included in the response, and an optional aggregate function such as count or sum. Returning all fields is not supported.
orderby
Optional
object
Provide an order element with a field name and choose an ascending or descending sort order, for example: <order> <field>RECORDNO</field> <descending/> </order>
Comma-separated list of fields on the object to list. For best performance and predictability, limit the number of fields. To return all fields, omit the element or provide * for the value.
query
Required
string
SQL-like query based on fields on the object. The following operators are supported: <, >, >=, <=, =, like, not like, in, not in, IS NOT NULL, IS NULL, AND, OR. Illegal XML characters must be properly encoded, and single quotes must be escaped with backslashes ('Jane\'s Deli'). Joins are not supported.
pagesize
Optional
integer
Custom page size between 1 and 1000 items (Default: 100)
Comma-separated list of RECORDNO of the labor union to get.
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.
Comma-separated list of LABORUNIONID of the labor union to get.
fields
Optional
string
Comma-separated list of fields on the object to get. To return all fields, omit the element or provide * for the value. For best performance and predictability, limit the number of fields.
returnFormat
Optional
string
Data format for the response body:
xml (default)
json
csv
Create Labor Union
create
<create><LABORUNION><LABORUNIONID>IBEWC</LABORUNIONID><NAME>International Brotherhood of Electrical Workers</NAME><DESCRIPTION>IBEW - Chicago</DESCRIPTION></LABORUNION></create>
Parameters
Name
Required
Type
Description
LABORUNION
Required
object
Object type to create.
LABORUNION
Name
Required
Type
Description
LABORUNIONID
Required
string
User-defined unique ID of the labor union.
NAME
Required
string
Name of the labor union.
DESCRIPTION
Optional
string
Description of the labor union.
STATUS
Optional
enum
Whether this labor union is active and can be assigned to employees.
active (default)
inactive
Custom field name
varies
varies
Custom field names and values as defined for this object. For a multi-pick-list custom field, implode multiple field values with #~#.