List the cost breakdowns recorded for an item by the quote lines, sales order lines and jobs that costed it, newest calculatedOn first and highest id next. Breakdowns on deleted documents, and ones no document references, are left out.
Changed onRequest
- Base URLhttps://api.fulcrumpro.com
- URLhttps://api.fulcrumpro.com/api/items/{itemId}/cost-breakdowns/list
- Authnone declared
Path parameters
The item
Query parameters
Sort field
Specify sorting direction.
Sort direction
Number of records to skip. Defaults to 0. Combine with FulcrumProduct.PublicApi.Dto.Common.PagingDto.Take to page through a result set larger than one page.
Number of records to return. Validation accepts 0 through 5000, but 0 is not a page size and what an endpoint does with it varies, so send a value from 1 to 5000.
Two cases differ. A request that supplies paging but leaves this field out takes this field's default of <b>50</b>. A request that supplies no paging at all is endpoint-specific — some define their own fallback — so it does not reliably mean any particular number of records. Either way the response says nothing about records it did not return, so send this explicitly whenever the size of the answer matters. Endpoints returning a paged envelope report totalCount and hasNextPage alongside the records; endpoints returning a bare array report neither, so page those with FulcrumProduct.PublicApi.Dto.Common.PagingDto.Skip until a page comes back shorter than the value requested.
Request body
Response
The page of cost breakdowns; an empty page when the item has never been costed
Changes
- info
endpoint added
- info