BillingItemApprovalLevels
The BillingItemApprovalLevels entity describes a multi-level approval record for an Autotask time entry. It allows developers to use the API to implement multi-tier approval for Autotask time entries. This option is only available through the REST API.
NOTE You can refer to the Online Help to find root and child access URLs of the entity you wish to query. Refer to Finding resource and child access URLs of REST API entities for more information.
Entity details
Entity Name: | BillingItemApprovalLevels |
Entity Path: |
/atservicesrest/v1.0/BillingItemApprovalLevels |
Can Create: | |
Can Update: | |
Can Query: | |
Can Delete: | |
Can Have UDFs: |
Conditions and requirements
- timeEntryID and approvalResourceID must reference existing objects.
Special field attributes
Field | Conditions and Requirements |
---|---|
approvalDateTime |
When the BillingItemApprovalLevels entity is created, the TimeEntry.BillingApprovalLevelMostRecent field is updated, but approvalDateTime and approvalResourceID are not. Instead, the approvalDateTime and approvalResourceID fields are editable on the TimeEntry entity. Workaround: If you do want these fields updated, you could make the call to create the BillingItemApprovalLevel and then follow that call up with an update to the TimeEntry to set the BillingApprovalDateTime and BillingApprovalResourceID fields. |
approvalResourceID |
Field definitions
The following table describes the standard Autotask fields for this entity. Refer to the following articles for more information about working with these fields:
- The entityInformation REST API call
- Making basic query calls to the REST API
- Advanced query features of the REST API
To learn how to query picklist endpoints, refer to Understanding picklists.
Notes
- For string datatypes, the number in parentheses ( ) indicates the maximum number of characters allowed.
- LT indicates Local Term.
- If this entity has child collections, they will appear in a Child collection access URLs or an Entity URLs and relationships drop-down in the Entity details section of this article.
- You can call the /query/count/ endpoint of a resource to determine how many records a collection holds.
Field Name | Datatype |
Read-Only | Is Re- quired |
Reference Name | Picklist |
---|---|---|---|---|---|
approvalDateTime | datetime | ||||
approvalLevel | integer | ||||
approvalResourceID | integer | Resources | |||
id | integer | ||||
timeEntryID | integer | TimeEntries |