WebMaterialTransaction - GET

Find material transactions by query (requires special permissions).

api/{role}/WebMaterialTransaction
?MaterialID={MaterialID}
&ReferenceNo={ReferenceNo}
&TransactionType={TransactionType}
&After={After}
&Before={Before}

Request Information

PropertyNoteConstraints
MaterialID : integer

Id of the Material

ReferenceNo : string

Your Art Reference Number

TransactionType : string

Type of transaction

After : date

After Transaction Date : Default 3 Months From Now

Before : date

Before TransactionDate : Default Today

role : string

Response Information

PropertyNoteConstraints
MaterialID : integer
Comments : string
Quantity : integer
ReferenceNo : string
TransactionDate : date
TransactionType : string

Response Formats

application/json, text/json

[
  {
    "materialID": 1,
    "comments": "test 2",
    "quantity": 3,
    "referenceNo": "test 4",
    "transactionDate": "2018-10-16T12:56:23.8117145-07:00",
    "transactionType": "test 5"
  },
  {
    "materialID": 1,
    "comments": "test 2",
    "quantity": 3,
    "referenceNo": "test 4",
    "transactionDate": "2018-10-16T12:56:23.8117145-07:00",
    "transactionType": "test 5"
  }
]

application/xml, text/xml

<ArrayOfMaterialTransactionResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FOTS.DTO">
  <MaterialTransactionResponseDTO>
    <Comments>test 2</Comments>
    <MaterialID>1</MaterialID>
    <Quantity>3</Quantity>
    <ReferenceNo>test 4</ReferenceNo>
    <TransactionDate>2018-10-16T12:56:23.8117145-07:00</TransactionDate>
    <TransactionType>test 5</TransactionType>
  </MaterialTransactionResponseDTO>
  <MaterialTransactionResponseDTO>
    <Comments>test 2</Comments>
    <MaterialID>1</MaterialID>
    <Quantity>3</Quantity>
    <ReferenceNo>test 4</ReferenceNo>
    <TransactionDate>2018-10-16T12:56:23.8117145-07:00</TransactionDate>
    <TransactionType>test 5</TransactionType>
  </MaterialTransactionResponseDTO>
</ArrayOfMaterialTransactionResponseDTO>