GET api/MaterialPrices/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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"
}
application/xml, text/xml
Sample:
<MaterialPrice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models"> <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>