GET api/v2/works/{workId}/SummaryPricesWithSamples
Request
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
workId | integer |
Required |
Response
WorkSamplesSummaryPricesName | Description | Type | Additional information |
---|---|---|---|
WorkSummaryPrices | WorkSummaryPrices | ||
SamplesSummaryPrices | Collection of WorkSampleSummaryPrices | ||
TotalPriceToNotBill | decimal number | ||
TotalPriceToBill | decimal number | ||
TotalPriceBilled | decimal number | ||
TotalPrice | decimal number |
Response Format
application/json, text/json
Sample:
{ "WorkSummaryPrices": { "ByPriceItemTypes": [ { "PriceItemType": { "Id": 1, "Identification": "sample string 2", "Active": true }, "TotalPrice": 1.1 }, { "PriceItemType": { "Id": 1, "Identification": "sample string 2", "Active": true }, "TotalPrice": 1.1 } ], "TotalPriceToNotBill": 1.1, "TotalPriceToBill": 2.1, "TotalPriceBilled": 3.1, "TotalPrice": 4.1 }, "SamplesSummaryPrices": [ { "SampleId": 1, "SampleSummaryPrices": { "ByPriceItemTypes": [ { "PriceItemType": { "Id": 1, "Identification": "sample string 2", "Active": true }, "TotalPrice": 1.1 }, { "PriceItemType": { "Id": 1, "Identification": "sample string 2", "Active": true }, "TotalPrice": 1.1 } ], "TotalPriceToNotBill": 1.1, "TotalPriceToBill": 2.1, "TotalPriceBilled": 3.1, "TotalPrice": 4.1, "TotalPriceSamples": 5.1 }, "SampleSummaryPricesConferenceInvoicing": { "TotalPrice": 1.1 }, "Amount": 2, "TotalPriceToNotBill": 3.1, "TotalPriceToBill": 4.1, "TotalPriceBilled": 5.1, "TotalPrice": 6.1 }, { "SampleId": 1, "SampleSummaryPrices": { "ByPriceItemTypes": [ { "PriceItemType": { "Id": 1, "Identification": "sample string 2", "Active": true }, "TotalPrice": 1.1 }, { "PriceItemType": { "Id": 1, "Identification": "sample string 2", "Active": true }, "TotalPrice": 1.1 } ], "TotalPriceToNotBill": 1.1, "TotalPriceToBill": 2.1, "TotalPriceBilled": 3.1, "TotalPrice": 4.1, "TotalPriceSamples": 5.1 }, "SampleSummaryPricesConferenceInvoicing": { "TotalPrice": 1.1 }, "Amount": 2, "TotalPriceToNotBill": 3.1, "TotalPriceToBill": 4.1, "TotalPriceBilled": 5.1, "TotalPrice": 6.1 } ], "TotalPriceToNotBill": 1.1, "TotalPriceToBill": 2.1, "TotalPriceBilled": 3.1, "TotalPrice": 4.1 }
text/html
Sample:
{"WorkSummaryPrices":{"ByPriceItemTypes":[{"PriceItemType":{"Id":1,"Identification":"sample string 2","Active":true},"TotalPrice":1.1},{"PriceItemType":{"Id":1,"Identification":"sample string 2","Active":true},"TotalPrice":1.1}],"TotalPriceToNotBill":1.1,"TotalPriceToBill":2.1,"TotalPriceBilled":3.1,"TotalPrice":4.1},"SamplesSummaryPrices":[{"SampleId":1,"SampleSummaryPrices":{"ByPriceItemTypes":[{"PriceItemType":{"Id":1,"Identification":"sample string 2","Active":true},"TotalPrice":1.1},{"PriceItemType":{"Id":1,"Identification":"sample string 2","Active":true},"TotalPrice":1.1}],"TotalPriceToNotBill":1.1,"TotalPriceToBill":2.1,"TotalPriceBilled":3.1,"TotalPrice":4.1,"TotalPriceSamples":5.1},"SampleSummaryPricesConferenceInvoicing":{"TotalPrice":1.1},"Amount":2,"TotalPriceToNotBill":3.1,"TotalPriceToBill":4.1,"TotalPriceBilled":5.1,"TotalPrice":6.1},{"SampleId":1,"SampleSummaryPrices":{"ByPriceItemTypes":[{"PriceItemType":{"Id":1,"Identification":"sample string 2","Active":true},"TotalPrice":1.1},{"PriceItemType":{"Id":1,"Identification":"sample string 2","Active":true},"TotalPrice":1.1}],"TotalPriceToNotBill":1.1,"TotalPriceToBill":2.1,"TotalPriceBilled":3.1,"TotalPrice":4.1,"TotalPriceSamples":5.1},"SampleSummaryPricesConferenceInvoicing":{"TotalPrice":1.1},"Amount":2,"TotalPriceToNotBill":3.1,"TotalPriceToBill":4.1,"TotalPriceBilled":5.1,"TotalPrice":6.1}],"TotalPriceToNotBill":1.1,"TotalPriceToBill":2.1,"TotalPriceBilled":3.1,"TotalPrice":4.1}