Returns a collection with a key, ID, and link for each project resource.
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.
required | object | ||||||
| |||||||
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: "2023-04-01" | ||||||
object The employee resource assigned to the project. | |||||||
| |||||||
object | |||||||
| |||||||
object | |||||||
|
Created
Bad Request
{- "description": "Hourly resource",
- "startDate": "2023-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.
key required | string system-assigned unique key for the project resource. Example: 181 |
OK
Bad Request
{- "ia::result": {
- "key": "23",
- "id": "23",
- "href": "/objects/projects/project-resource/23",
- "description": "Hourly resource",
- "startDate": "2023-04-01",
- "employee": {
- "href": "/objects/company-config/employee/23",
- "key": "244",
- "id": "jsmith",
- "startDate": "2022-01-01",
- "endDate": "2023-01-01"
}, - "employeeContact": {
- "key": "977",
- "id": "John Smith",
- "firstName": "John",
- "lastName": "Smith",
- "href": "/objects/company-config/contact/977"
}, - "item": {
- "href": "/objects/inventory-control/item/23",
- "key": "23",
- "id": "B002",
- "name": "Monitor-Acer"
}, - "pricing": {
- "laborPricingMethod": "billingRate",
- "laborRate": 100,
- "expensePricingMethod": "billingRate",
- "expenseRate": 100,
- "apPurchasingPricingMethod": "costPlusFee",
- "apPurchasingRate": 120
}, - "project": {
- "href": "/objects/projects/project/23",
- "key": "23",
- "id": "P-0045",
- "name": "Implementation Project"
}, - "audit": {
- "createdDateTime": "2022-04-20T16:20:00Z",
- "modifiedDateTime": "2022-04-20T16:20:00Z",
- "createdBy": "1",
- "modifiedBy": "95"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing project resource by setting field values. Any fields not provided remain unchanged.
key required | string system-assigned unique key for the project resource. Example: 181 |
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: "2023-04-01" | ||||||
object The employee resource assigned to the project. | |||||||
| |||||||
object | |||||||
| |||||||
object | |||||||
| |||||||
object | |||||||
|
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.
key required | string system-assigned unique key for the project resource. Example: 181 |
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