PUT api/projects/budget?filterBy={filterBy}
Bulk-updates the financial/budgetary info for several projects.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
filterBy |
The field upon which you're filtering - projectId or meta field by label/guid. |
string |
Required |
Body Parameters
The list of changes for each project.
Collection of ProjectChangeItemName | Description | Type | Additional information |
---|---|---|---|
filterValue | string |
None. |
|
id | integer |
None. |
|
actualOOP | ProjectOOPList |
None. |
Request Formats
application/json, text/json
Sample:
[ { "filterValue": "sample string 1", "id": 2, "actualOOP": { "mode": "sample string 1", "expenses": [ { "category": "sample string 1", "item": "sample string 2", "amount": 3.1 }, { "category": "sample string 1", "item": "sample string 2", "amount": 3.1 } ] } }, { "filterValue": "sample string 1", "id": 2, "actualOOP": { "mode": "sample string 1", "expenses": [ { "category": "sample string 1", "item": "sample string 2", "amount": 3.1 }, { "category": "sample string 1", "item": "sample string 2", "amount": 3.1 } ] } } ]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ProjectChangeResponseName | Description | Type | Additional information |
---|---|---|---|
updated | Collection of ProjectResultItem |
None. |
|
failed | Collection of ProjectErrorItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "updated": [ { "filterValue": "sample string 1", "id": 2, "title": "sample string 3" }, { "filterValue": "sample string 1", "id": 2, "title": "sample string 3" } ], "failed": [ { "filterValue": "sample string 1", "status": "sample string 2" }, { "filterValue": "sample string 1", "status": "sample string 2" } ] }