A project resource is an assignment of an employee to a project, including associated billing rates.
Returns up to 100 project resources from the collection with a key, ID, and link for each resource. This operation is mostly for use in testing; use the query service to find project resources that meet certain criteria and specify the properties that are returned.
Subscription | Projects |
---|---|
User type | Business user with admin privileges, Project Manager |
Permissions | Project resource: List, View |
OK
Bad Request
{- "ia::result": [
- {
- "key": "12345",
- "id": "12345",
- "href": "/objects/projects/project-resource/12345"
}, - {
- "key": "85",
- "id": "EXP-00002",
- "href": "/objects/projects/employee-expense/85"
}, - {
- "key": "60",
- "id": "EXP-00003",
- "href": "/objects/projects/employee-expense/60"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 5,
- "next": 0,
- "previous": 0
}
}
Creates a new project resource.
Subscription | Projects |
---|---|
User type | Business user with admin privileges, Project Manager |
Permissions | Project resources: Add |
required | object The project to which this resource is assigned. | ||||||
| |||||||
description | string or null Description of the project resource. Example: "Hourly resource" | ||||||
startDate | string or null <date> Start date of the resource on the project. Example: "2025-04-01" | ||||||
object Reference to the employee resource assigned to the project. | |||||||
| |||||||
object Reference to an item to be used for setting project-specific pricing.
| |||||||
| |||||||
object Pricing information for the project resource. If an | |||||||
|
Created
Bad Request
{- "description": "Hourly resource",
- "startDate": "2025-04-01",
- "employee": {
- "key": "244"
}, - "item": {
- "key": "23"
}, - "pricing": {
- "laborRate": 100,
- "expenseRate": 110,
- "apPurchasingRate": 120
}, - "project": {
- "key": "23"
}
}
{- "ia::result": {
- "key": "12345",
- "id": "12345",
- "href": "/objects/projects/project-resource/12345"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a particular project resource.
Subscription | Projects |
---|---|
User type | Business user with admin privileges, Project Manager |
Permissions | Project resource: List, View |
key required | string system-assigned unique key for a project resource. Example: 23 |
OK
Bad Request
{- "ia::result": {
- "id": "3",
- "key": "3",
- "audit": {
- "createdDateTime": "2018-02-10T06:32:48Z",
- "modifiedDateTime": "2018-02-10T06:32:48Z",
- "createdByUser": {
- "key": "104",
- "href": "/objects/company-config/user/104"
}, - "createdBy": "104",
- "modifiedByUser": {
- "key": "104",
- "href": "/objects/company-config/user/104"
}, - "modifiedBy": "104"
}, - "project": {
- "key": "67",
- "id": "100001",
- "name": "R1_2018",
- "href": "/objects/projects/project/67"
}, - "employee": {
- "key": "1",
- "id": "1",
- "href": "/objects/company-config/employee/1"
}, - "employeeContact": {
- "id": "Reser",
- "key": "8",
- "href": "/objects/company-config/contact/8"
}, - "item": {
- "key": "212",
- "id": "SUBPACKFIN",
- "name": "Subscription Package Finance",
- "href": "/objects/inventory-control/item/212"
}, - "description": null,
- "startDate": null,
- "pricing": {
- "laborPricingMethod": "billingRate",
- "laborRate": 23,
- "expensePricingMethod": "costPlusFee",
- "expenseRate": null,
- "apPurchasingPricingMethod": "costPlusFee",
- "apPurchasingRate": null
}, - "entity": {
- "key": null,
- "id": null,
- "name": null
}, - "href": "/objects/projects/project-resource/3"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing project resource by setting field values. Any fields not provided remain unchanged.
Subscription | Projects |
---|---|
User type | Business user with admin privileges, Project Manager |
Permissions | Project resource: Edit |
key required | string system-assigned unique key for a project resource. Example: 23 |
description | string or null Description of the project resource. Example: "Hourly resource" | ||||||
startDate | string or null <date> Start date of the resource on the project. Example: "2025-04-01" | ||||||
object Reference to the employee resource assigned to the project. | |||||||
| |||||||
object Reference to an item to be used for setting project-specific pricing.
| |||||||
| |||||||
object Pricing information for the project resource. If an | |||||||
| |||||||
object The project to which this resource is assigned. | |||||||
|
OK
Bad Request
{- "description": "Project resource"
}
{- "ia::result": {
- "key": "12345",
- "id": "ID123",
- "href": "/objects/projects/project-resource/12345"
}, - "ia::meta": {
- "totalCount": 3,
- "totalSuccess": 2,
- "totalError": 1
}
}
Deletes a project resource.
Subscription | Projects |
---|---|
User type | Business user with admin privileges, Project Manager |
Permissions | Project resource: Delete |
key required | string system-assigned unique key for a project resource. Example: 23 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Use the query service to find project resources that meet certain criteria and to specify the properties that are returned.
OK
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}