GET api/SaleInvoice_DetailsAPI/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SaleInvoice_Details
NameDescriptionTypeAdditional information
Id

integer

None.

Header_Id

integer

None.

Item_Id

integer

None.

ItemName

string

None.

Price

decimal number

None.

BuyPrice

decimal number

None.

Qty

integer

None.

Total

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Header_Id": 2,
    "Item_Id": 3,
    "ItemName": "sample string 4",
    "Price": 5.1,
    "BuyPrice": 6.1,
    "Qty": 7,
    "Total": 8.1
  },
  {
    "Id": 1,
    "Header_Id": 2,
    "Item_Id": 3,
    "ItemName": "sample string 4",
    "Price": 5.1,
    "BuyPrice": 6.1,
    "Qty": 7,
    "Total": 8.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfSaleInvoice_Details xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models">
  <SaleInvoice_Details>
    <BuyPrice>6.1</BuyPrice>
    <Header_Id>2</Header_Id>
    <Id>1</Id>
    <ItemName>sample string 4</ItemName>
    <Item_Id>3</Item_Id>
    <Price>5.1</Price>
    <Qty>7</Qty>
    <Total>8.1</Total>
  </SaleInvoice_Details>
  <SaleInvoice_Details>
    <BuyPrice>6.1</BuyPrice>
    <Header_Id>2</Header_Id>
    <Id>1</Id>
    <ItemName>sample string 4</ItemName>
    <Item_Id>3</Item_Id>
    <Price>5.1</Price>
    <Qty>7</Qty>
    <Total>8.1</Total>
  </SaleInvoice_Details>
</ArrayOfSaleInvoice_Details>