GET api/v2/samples/{sampleId}/summaryprices
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sampleId | integer |
Required |
Response
SampleSummaryPrices| Name | Description | Type | Additional information |
|---|---|---|---|
| ByPriceItemTypes | Collection of SampleSummaryByPriceItemType | ||
| TotalPriceToNotBill | decimal number | ||
| TotalPriceToBill | decimal number | ||
| TotalPriceBilled | decimal number | ||
| TotalPrice | decimal number | ||
| TotalPriceSamples | decimal number |
Response Format
application/json, text/json
Sample:
{
"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
}
text/html
Sample:
{"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}