ContractExclusionSets
The ContractExclusionSet entity describes a reusable set of roles and work types that are excluded from the contract the set is applied to. Time entries associated with the contract cannot use the excluded roles and work types. If you attempt to save a time entry with a role or work type that is excluded by the associated contract, a warning message opens. If you continue the save, the time entry is saved without an associated contract, unless a default exclusion contract has been set up (Contract.exclusionContractID).
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: | ContractExclusionSets |
Entity Path: |
/atservicesrest/v1.0/ContractExclusionSets |
Can Create: | |
Can Update: | |
Can Query: | |
Can Delete: | |
Can Have UDFs: |
IMPORTANT Requests to this entity require special handling. Refer to the Entity URLs and relationships section of this article for details.
- If this entity has a Parent relationship, you must perform all Create, Update, and Delete actions on the parent entity.
- If this entity is a child of a parent, you can leverage our Swagger instance to find the URLs you should use in your API calls. For more information, refer to Finding resource and child access URLs of REST API entities.
- To learn how to access Swagger, refer to Using Swagger UI to explore REST API requests.
Parent | None |
Children | ContractExclusionSetExcludedRoles, ContractExclusionSetExcludedWorkTypes |
URLs | ContractExclusionSets/query (GET, POST)
ContractExclusionSets/{id} (GET, DELETE) ContractExclusionSets/query/count (GET, POST) ContractExclusionSets (PUT, POST, PATCH) ContractExclusionSets/entityInformation (GET) ContractExclusionSets/entityInformation/fields (GET) ContractExclusionSets/entityInformation/userDefinedFields (GET) |
Conditions and requirements
The contract exclusion set name must be unique.
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 Required | Reference Name | Picklist |
---|---|---|---|---|---|
description | string (500) | ||||
id | long | ||||
isActive | boolean | ||||
name | string (100) |