WebMaterialTransaction - GET

Find material transactions by query (requires special permissions).

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

Request Information

PropertyNoteConstraints
MaterialID : integer

Id of the Material

ReferenceNo : string

Your Art Reference Number

TransactionType : string

Type of transaction

Site : string

Provider of the material

  • OR
  • FL
After : date

After Transaction Date : Default 3 Months From Now

Before : date

Before TransactionDate : Default Today

role : string

Response Information

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

Response Formats

application/json, text/json

[
  {
    "materialID": 1,
    "material": "test 2",
    "comments": "test 3",
    "quantity": 4,
    "referenceNo": "test 5",
    "transactionDate": "2021-09-07T00:07:35.0992542-07:00",
    "transactionType": "test 6",
    "site": "test 7"
  },
  {
    "materialID": 1,
    "material": "test 2",
    "comments": "test 3",
    "quantity": 4,
    "referenceNo": "test 5",
    "transactionDate": "2021-09-07T00:07:35.0992542-07:00",
    "transactionType": "test 6",
    "site": "test 7"
  }
]

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 3</Comments>
    <Material>test 2</Material>
    <MaterialID>1</MaterialID>
    <Quantity>4</Quantity>
    <ReferenceNo>test 5</ReferenceNo>
    <Site>test 7</Site>
    <TransactionDate>2021-09-07T00:07:35.0992542-07:00</TransactionDate>
    <TransactionType>test 6</TransactionType>
  </MaterialTransactionResponseDTO>
  <MaterialTransactionResponseDTO>
    <Comments>test 3</Comments>
    <Material>test 2</Material>
    <MaterialID>1</MaterialID>
    <Quantity>4</Quantity>
    <ReferenceNo>test 5</ReferenceNo>
    <Site>test 7</Site>
    <TransactionDate>2021-09-07T00:07:35.0992542-07:00</TransactionDate>
    <TransactionType>test 6</TransactionType>
  </MaterialTransactionResponseDTO>
</ArrayOfMaterialTransactionResponseDTO>