GET api/PostHeader/GetInvDetailByGRNNOOpt?GRNNo={GRNNo}&BranchCode={BranchCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
GRNNo

string

Required

BranchCode

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of P_PostHeaderLineTaxViewOpt
NameDescriptionTypeAdditional information
ItemCode

string

None.

Qty

decimal number

None.

PaymentTermId

integer

None.

ATaxCode

string

None.

AssValue

decimal number

None.

PODate

date

None.

PoLineNumber

integer

None.

TaxAmount

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ItemCode": "sample string 1",
    "Qty": 1.0,
    "PaymentTermId": 1,
    "ATaxCode": "sample string 2",
    "AssValue": 1.0,
    "PODate": "2024-04-27T19:01:22.3982195+00:00",
    "PoLineNumber": 4,
    "TaxAmount": 5.0
  },
  {
    "ItemCode": "sample string 1",
    "Qty": 1.0,
    "PaymentTermId": 1,
    "ATaxCode": "sample string 2",
    "AssValue": 1.0,
    "PODate": "2024-04-27T19:01:22.3982195+00:00",
    "PoLineNumber": 4,
    "TaxAmount": 5.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfP_PostHeaderLineTaxViewOpt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models.Views">
  <P_PostHeaderLineTaxViewOpt>
    <ATaxCode>sample string 2</ATaxCode>
    <AssValue>1</AssValue>
    <ItemCode>sample string 1</ItemCode>
    <PODate>2024-04-27T19:01:22.3982195+00:00</PODate>
    <PaymentTermId>1</PaymentTermId>
    <PoLineNumber>4</PoLineNumber>
    <Qty>1</Qty>
    <TaxAmount>5</TaxAmount>
  </P_PostHeaderLineTaxViewOpt>
  <P_PostHeaderLineTaxViewOpt>
    <ATaxCode>sample string 2</ATaxCode>
    <AssValue>1</AssValue>
    <ItemCode>sample string 1</ItemCode>
    <PODate>2024-04-27T19:01:22.3982195+00:00</PODate>
    <PaymentTermId>1</PaymentTermId>
    <PoLineNumber>4</PoLineNumber>
    <Qty>1</Qty>
    <TaxAmount>5</TaxAmount>
  </P_PostHeaderLineTaxViewOpt>
</ArrayOfP_PostHeaderLineTaxViewOpt>