expenseQuery
Url
/V2.0/services/data/expenseQuery
HTTP Method
POST
Description
Retrieves expenses for a specific Project or Customer 
Parameters
Name Type Description
projectId entityId (string)
customerId entityId (string)
typeName* string The main entity type to query (e.g. WorkItem, User etc.)
fields string[] A list of field names to retrieve
orders orderBy[] Optionaly order the result
where condition The query criteria
relations relation[] The query relations
deleted boolean If set to true, the query is performed on Deleted entities
originalExternalID boolean
paging paging Paging setting for the query
Result
An object containing the results from a query
Name Type Description
entities entity[] Array of entities returned from this query
paging paging Paging information returned from this query. If paging.hasMore is true, this object should be passed as is, to the same query API in order to retrieve the next page
In case of failure an error object will be returned
* indicates required fields