GET api/BuyInvoice_DetailsAPI/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of BuyInvoice_Details
NameDescriptionTypeAdditional information
Id

integer

None.

Header_Id

integer

None.

ItemName

string

None.

Item_Id

integer

None.

Price

decimal number

None.

Qty

integer

None.

Total

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Header_Id": 2,
    "ItemName": "sample string 3",
    "Item_Id": 4,
    "Price": 5.1,
    "Qty": 6,
    "Total": 7.1
  },
  {
    "Id": 1,
    "Header_Id": 2,
    "ItemName": "sample string 3",
    "Item_Id": 4,
    "Price": 5.1,
    "Qty": 6,
    "Total": 7.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfBuyInvoice_Details xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models">
  <BuyInvoice_Details>
    <Header_Id>2</Header_Id>
    <Id>1</Id>
    <ItemName>sample string 3</ItemName>
    <Item_Id>4</Item_Id>
    <Price>5.1</Price>
    <Qty>6</Qty>
    <Total>7.1</Total>
  </BuyInvoice_Details>
  <BuyInvoice_Details>
    <Header_Id>2</Header_Id>
    <Id>1</Id>
    <ItemName>sample string 3</ItemName>
    <Item_Id>4</Item_Id>
    <Price>5.1</Price>
    <Qty>6</Qty>
    <Total>7.1</Total>
  </BuyInvoice_Details>
</ArrayOfBuyInvoice_Details>