Project Contract Types
- Get Project Contract Type Object Definition
- Query and List Project Contract Types
- Get Project Contract Type
- Get Project Contract Type by ID
- Create Project Contract Type
- Update Project Contract Type
- Delete Delete Project Contract Type
Project contract types group project contracts for reporting purposes.
You specify a project contract type when creating project contracts.
Get Project Contract Type Object Definition
lookup
List all the fields and relationships for the project contract type object:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use PROJECTCONTRACTTYPE |
Query and List Project Contract Types
query
List the record number, ID, and name for each active project contract type:
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use PROJECTCONTRACTTYPE |
filter | Optional | object | 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> |
options | Optional | object | Query options:
|
pagesize | Optional | integer | Maximum number of matching objects to return in the response, between 1 and 2000 items (Default: 100 ) |
offset | Optional | integer | Point at which to start indexing into records (Default: 0 ) |
Get Project Contract Type
read
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use PROJECTCONTRACTTYPE |
keys | Required | string | Comma-separated list of RECORDNO of the project contract type 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:
|
Get Project Contract Type by ID
readByName
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use PROJECTCONTRACTTYPE |
keys | Required | string | Comma-separated list of PROJECTCONTRACTTYPEID of the project contract type 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:
|
Create Project Contract Type
create
Parameters
Name | Required | Type | Description |
---|---|---|---|
PROJECTCONTRACTTYPE | Required | object | Object to create |
PROJECTCONTRACTTYPE
Name | Required | Type | Description |
---|---|---|---|
PROJECTCONTRACTTYPEID | Required | string | Unique ID of the Project Contract Type. |
PROJECTCONTRACTTYPENAME | Required | string | Name of the Project Contract Type. |
STATUS | Optional | string | Status. Use active or 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 Project Contract Type
You can use the RECORDNO
or the PROJECTCONTRACTTYPEID
to specify the project contract type to update. The only fields that can be changed are PROJECTCONTRACTTYPENAME
, STATUS
and any custom fields.
update
Parameters
Name | Required | Type | Description |
---|---|---|---|
PROJECTCONTRACTTYPE | Required | object | Object to update |
PROJECTCONTRACTTYPE
Name | Required | Type | Description |
---|---|---|---|
RECORDNO | Optional | string | Record number of the project contract type to update. Required if not providing the project contract type ID. |
PROJECTCONTRACTTYPEID | Optional | string | Unique ID of the project contract type. Required if not providing the record number. |
PROJECTCONTRACTTYPENAME | Optional | string | Name of the Project Contract Type. |
STATUS | Optional | string | Status. Use active or 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 #~# . |
Delete Delete Project Contract Type
delete
Parameters
Name | Required | Type | Description |
---|---|---|---|
object | Required | string | Use PROJECTCONTRACTTYPE |
keys | Required | string | Comma-separated list of project contract type RECORDNO to delete |