GET api/MaterialPrices?materialId={materialId}&code={code}&offset={offset}&limit={limit}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| materialId | integer |
None. |
|
| code | string |
None. |
|
| offset | integer |
None. |
|
| limit | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of MaterialPrice| Name | Description | Type | Additional information |
|---|---|---|---|
| MaterialPriceId | integer |
None. |
|
| MaterialId | integer |
None. |
|
| Code | string |
None. |
|
| ClassWeight | integer |
None. |
|
| GrossWeight | decimal number |
None. |
|
| ReleasePrice | decimal number |
None. |
|
| CalculatePrice | decimal number |
None. |
|
| AvgPrice | decimal number |
None. |
|
| RegionId | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"MaterialPriceId": 1,
"MaterialId": 2,
"Code": "sample string 3",
"ClassWeight": 1,
"GrossWeight": 1.0,
"ReleasePrice": 1.0,
"CalculatePrice": 1.0,
"AvgPrice": 1.0,
"RegionId": "sample string 4"
},
{
"MaterialPriceId": 1,
"MaterialId": 2,
"Code": "sample string 3",
"ClassWeight": 1,
"GrossWeight": 1.0,
"ReleasePrice": 1.0,
"CalculatePrice": 1.0,
"AvgPrice": 1.0,
"RegionId": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfMaterialPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models">
<MaterialPrice>
<AvgPrice>1</AvgPrice>
<CalculatePrice>1</CalculatePrice>
<ClassWeight>1</ClassWeight>
<Code>sample string 3</Code>
<GrossWeight>1</GrossWeight>
<MaterialId>2</MaterialId>
<MaterialPriceId>1</MaterialPriceId>
<RegionId>sample string 4</RegionId>
<ReleasePrice>1</ReleasePrice>
</MaterialPrice>
<MaterialPrice>
<AvgPrice>1</AvgPrice>
<CalculatePrice>1</CalculatePrice>
<ClassWeight>1</ClassWeight>
<Code>sample string 3</Code>
<GrossWeight>1</GrossWeight>
<MaterialId>2</MaterialId>
<MaterialPriceId>1</MaterialPriceId>
<RegionId>sample string 4</RegionId>
<ReleasePrice>1</ReleasePrice>
</MaterialPrice>
</ArrayOfMaterialPrice>