Forum Discussion
Anonymous
9 years agoNot applicable
odata uri help
I have a large report to monitor actuals in Project Online timesheets and MS Project data. Due to the various joins required in the tables to provide the information I need to visualise in the report...
- 9 years ago
Hi Anonymous,
These two articles could help. odata-filter-tips-tricks and odata-version-2-0/uri-conventions.
It seems the Boolean type are treated as true and false, but not as strings. You can try this one:
https://<tenantname>.sharepoint.com/sites/pwa/_api/projectdata/Resources?$select=ResourceId,ResourceName&$filter=ResourceIsGeneric eq false and ResourceIsActive eq true and Role ne 'Ex-RD' and Role ne 'NPI' and TypeName eq 'Work Resource'
Best Regards!
Dale
v-jiascu-msft
Microsoft Employee
9 years agoHi Anonymous,
These two articles could help. odata-filter-tips-tricks and odata-version-2-0/uri-conventions.
It seems the Boolean type are treated as true and false, but not as strings. You can try this one:
https://<tenantname>.sharepoint.com/sites/pwa/_api/projectdata/Resources?$select=ResourceId,ResourceName&$filter=ResourceIsGeneric eq false and ResourceIsActive eq true and Role ne 'Ex-RD' and Role ne 'NPI' and TypeName eq 'Work Resource'
Best Regards!
Dale