GET api/PurchReqLines/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PurchReqLine| Name | Description | Type | Additional information |
|---|---|---|---|
| PurchReqLineId | integer |
None. |
|
| PurchReqId | integer |
None. |
|
| ListBookId | integer |
None. |
|
| MaterialId | integer |
None. |
|
| Code | string |
None. |
|
| MaterialName | string |
None. |
|
| PurchQty | decimal number |
None. |
|
| PurchUnit | string |
None. |
|
| PurchOpenPrice | decimal number |
None. |
|
| RegionId | string |
None. |
|
| TermDelivery | integer |
None. |
|
| DescriptionDelivery | string |
None. |
|
| Description | string |
None. |
|
| ReleasePrice | decimal number |
None. |
|
| CalculatePrice | decimal number |
None. |
|
| PurchStatusLineId | integer |
None. |
|
| OriginalOnly | boolean |
None. |
|
| PriceWithDelivery | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"PurchReqLineId": 1,
"PurchReqId": 1,
"ListBookId": 1,
"MaterialId": 1,
"Code": "sample string 2",
"MaterialName": "sample string 3",
"PurchQty": 1.0,
"PurchUnit": "sample string 4",
"PurchOpenPrice": 1.0,
"RegionId": "sample string 5",
"TermDelivery": 1,
"DescriptionDelivery": "sample string 6",
"Description": "sample string 7",
"ReleasePrice": 1.0,
"CalculatePrice": 1.0,
"PurchStatusLineId": 1,
"OriginalOnly": true,
"PriceWithDelivery": true
}
application/xml, text/xml
Sample:
<PurchReqLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SadiApi.Models"> <CalculatePrice>1</CalculatePrice> <Code>sample string 2</Code> <Description>sample string 7</Description> <DescriptionDelivery>sample string 6</DescriptionDelivery> <ListBookId>1</ListBookId> <MaterialId>1</MaterialId> <MaterialName>sample string 3</MaterialName> <OriginalOnly>true</OriginalOnly> <PriceWithDelivery>true</PriceWithDelivery> <PurchOpenPrice>1</PurchOpenPrice> <PurchQty>1</PurchQty> <PurchReqId>1</PurchReqId> <PurchReqLineId>1</PurchReqLineId> <PurchStatusLineId>1</PurchStatusLineId> <PurchUnit>sample string 4</PurchUnit> <RegionId>sample string 5</RegionId> <ReleasePrice>1</ReleasePrice> <TermDelivery>1</TermDelivery> </PurchReqLine>