POST api/Subcontracts/{subcontractId}/TMPriceList/PriceItems
Get price list items
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
Body Parameters
PriceListPagedFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| SectionId | integer |
None. |
|
| PriceListId | integer |
None. |
|
| DisciplineCode | string |
None. |
|
| DisciplineDescription | string |
None. |
|
| GroupCode | string |
None. |
|
| GroupDescription | string |
None. |
|
| PartCode | string |
None. |
|
| PartDescription | string |
None. |
|
| CommodityCode | string |
None. |
|
| CommodityDescription | string |
None. |
|
| IsInScope | boolean |
None. |
|
| Quantity | Collection of decimal number |
None. |
|
| QuantityMin | decimal number |
None. |
|
| QuantityMax | decimal number |
None. |
|
| SupplyPrice | Collection of decimal number |
None. |
|
| SupplyPriceMin | decimal number |
None. |
|
| SupplyPriceMax | decimal number |
None. |
|
| ErectionPrice | Collection of decimal number |
None. |
|
| ErectionPriceMin | decimal number |
None. |
|
| ErectionPriceMax | decimal number |
None. |
|
| BothPrice | Collection of decimal number |
None. |
|
| BothPriceMin | decimal number |
None. |
|
| BothPriceMax | decimal number |
None. |
|
| PriceListTypeId | PriceListTypeId |
None. |
|
| OrdersRead | Collection of IOrder |
None. |
|
| BlockCode | string |
None. |
|
| SubBlock1Code | string |
None. |
|
| SubBlock2Code | string |
None. |
|
| SubBlock3Code | string |
None. |
|
| IsValid | boolean |
None. |
|
| Remarks | string |
None. |
|
| MeasurementUnit | string |
None. |
|
| Page | Page |
None. |
|
| Orders | Collection of Order |
None. |
Request Formats
application/json, text/json
Sample:
{
"sectionId": 1,
"priceListId": 1,
"disciplineCode": "sample string 3",
"disciplineDescription": "sample string 4",
"groupCode": "sample string 5",
"groupDescription": "sample string 6",
"partCode": "sample string 7",
"partDescription": "sample string 8",
"commodityCode": "sample string 9",
"commodityDescription": "sample string 10",
"isInScope": true,
"quantity": [
1.0,
1.0
],
"quantityMin": 1.0,
"quantityMax": 1.0,
"supplyPrice": [
1.0,
1.0
],
"supplyPriceMin": 1.0,
"supplyPriceMax": 1.0,
"erectionPrice": [
1.0,
1.0
],
"erectionPriceMin": 1.0,
"erectionPriceMax": 1.0,
"bothPrice": [
1.0,
1.0
],
"bothPriceMin": 1.0,
"bothPriceMax": 1.0,
"priceListTypeId": 1,
"ordersRead": [
{
"name": "sample string 1",
"descending": true
},
{
"name": "sample string 1",
"descending": true
}
],
"blockCode": "sample string 11",
"subBlock1Code": "sample string 12",
"subBlock2Code": "sample string 13",
"subBlock3Code": "sample string 14",
"isValid": true,
"remarks": "sample string 15",
"measurementUnit": "sample string 16",
"page": {
"number": 1,
"size": 2,
"skip": 0
},
"orders": [
{
"name": "sample string 1",
"descending": true
},
{
"name": "sample string 1",
"descending": true
}
]
}
text/html
Sample:
{"sectionId":1,"priceListId":1,"disciplineCode":"sample string 3","disciplineDescription":"sample string 4","groupCode":"sample string 5","groupDescription":"sample string 6","partCode":"sample string 7","partDescription":"sample string 8","commodityCode":"sample string 9","commodityDescription":"sample string 10","isInScope":true,"quantity":[1.0,1.0],"quantityMin":1.0,"quantityMax":1.0,"supplyPrice":[1.0,1.0],"supplyPriceMin":1.0,"supplyPriceMax":1.0,"erectionPrice":[1.0,1.0],"erectionPriceMin":1.0,"erectionPriceMax":1.0,"bothPrice":[1.0,1.0],"bothPriceMin":1.0,"bothPriceMax":1.0,"priceListTypeId":1,"ordersRead":[{"name":"sample string 1","descending":true},{"name":"sample string 1","descending":true}],"blockCode":"sample string 11","subBlock1Code":"sample string 12","subBlock2Code":"sample string 13","subBlock3Code":"sample string 14","isValid":true,"remarks":"sample string 15","measurementUnit":"sample string 16","page":{"number":1,"size":2,"skip":0},"orders":[{"name":"sample string 1","descending":true},{"name":"sample string 1","descending":true}]}
application/xml, text/xml
Sample:
<PriceListPagedFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.PriceListAgg">
<Orders xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
<Order>
<Descending>true</Descending>
<Name>sample string 1</Name>
</Order>
<Order>
<Descending>true</Descending>
<Name>sample string 1</Name>
</Order>
</Orders>
<Page xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
<Number>1</Number>
<Size>2</Size>
</Page>
<BlockCode>sample string 11</BlockCode>
<BothPrice xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>1</d2p1:decimal>
</BothPrice>
<CommodityCode>sample string 9</CommodityCode>
<CommodityDescription>sample string 10</CommodityDescription>
<DisciplineCode>sample string 3</DisciplineCode>
<DisciplineDescription>sample string 4</DisciplineDescription>
<ErectionPrice xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>1</d2p1:decimal>
</ErectionPrice>
<GroupCode>sample string 5</GroupCode>
<GroupDescription>sample string 6</GroupDescription>
<IsInScope>true</IsInScope>
<IsValid>true</IsValid>
<MeasurementUnit>sample string 16</MeasurementUnit>
<PartCode>sample string 7</PartCode>
<PartDescription>sample string 8</PartDescription>
<PriceListId>1</PriceListId>
<PriceListTypeId>MCA</PriceListTypeId>
<Quantity xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>1</d2p1:decimal>
</Quantity>
<Remarks>sample string 15</Remarks>
<SectionId>1</SectionId>
<SubBlock1Code>sample string 12</SubBlock1Code>
<SubBlock2Code>sample string 13</SubBlock2Code>
<SubBlock3Code>sample string 14</SubBlock3Code>
<SupplyPrice xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>1</d2p1:decimal>
</SupplyPrice>
</PriceListPagedFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfIPagedListOfTMPriceItemDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | IPagedListOfTMPriceItemDto |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.