GET api/jcbatch/producttransactionhistory?productCode={productCode}&startDate={startDate}&endDate={endDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productCode

string

Required

startDate

date

None.

endDate

date

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TransactionBatchLine
NameDescriptionTypeAdditional information
LineId

integer

None.

BatchId

integer

None.

TransactionType

string

None.

TransactionDate

date

None.

JobCode

string

None.

ProductCode

string

None.

Quantity

decimal number

None.

Description

string

None.

Unit

string

None.

PostStatus

string

None.

CreatedUserCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LineId": 1,
    "BatchId": 2,
    "TransactionType": "sample string 3",
    "TransactionDate": "2024-12-13T09:41:29.8366655+13:00",
    "JobCode": "sample string 5",
    "ProductCode": "sample string 6",
    "Quantity": 7.1,
    "Description": "sample string 8",
    "Unit": "sample string 9",
    "PostStatus": "sample string 10",
    "CreatedUserCode": "sample string 11"
  },
  {
    "LineId": 1,
    "BatchId": 2,
    "TransactionType": "sample string 3",
    "TransactionDate": "2024-12-13T09:41:29.8366655+13:00",
    "JobCode": "sample string 5",
    "ProductCode": "sample string 6",
    "Quantity": 7.1,
    "Description": "sample string 8",
    "Unit": "sample string 9",
    "PostStatus": "sample string 10",
    "CreatedUserCode": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTransactionBatchLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.JC">
  <TransactionBatchLine>
    <BatchId>2</BatchId>
    <CreatedUserCode>sample string 11</CreatedUserCode>
    <Description>sample string 8</Description>
    <JobCode>sample string 5</JobCode>
    <LineId>1</LineId>
    <PostStatus>sample string 10</PostStatus>
    <ProductCode>sample string 6</ProductCode>
    <Quantity>7.1</Quantity>
    <TransactionDate>2024-12-13T09:41:29.8366655+13:00</TransactionDate>
    <TransactionType>sample string 3</TransactionType>
    <Unit>sample string 9</Unit>
  </TransactionBatchLine>
  <TransactionBatchLine>
    <BatchId>2</BatchId>
    <CreatedUserCode>sample string 11</CreatedUserCode>
    <Description>sample string 8</Description>
    <JobCode>sample string 5</JobCode>
    <LineId>1</LineId>
    <PostStatus>sample string 10</PostStatus>
    <ProductCode>sample string 6</ProductCode>
    <Quantity>7.1</Quantity>
    <TransactionDate>2024-12-13T09:41:29.8366655+13:00</TransactionDate>
    <TransactionType>sample string 3</TransactionType>
    <Unit>sample string 9</Unit>
  </TransactionBatchLine>
</ArrayOfTransactionBatchLine>