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
Property | Note | Constraints |
---|---|---|
MaterialID : integer |
Id of the Material |
|
ReferenceNo : string |
Your Art Reference Number |
|
TransactionType : string |
Type of transaction |
|
Site : string |
Provider of the material
|
|
After : date |
After Transaction Date : Default 3 Months From Now |
|
Before : date |
Before TransactionDate : Default Today |
|
role : string |
Response Information
Property | Note | Constraints |
---|---|---|
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": "2024-09-26T03:02:27.2521735-07:00",
"transactionType": "test 6",
"site": "test 7"
},
{
"materialID": 1,
"material": "test 2",
"comments": "test 3",
"quantity": 4,
"referenceNo": "test 5",
"transactionDate": "2024-09-26T03:02:27.2521735-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>2024-09-26T03:02:27.2521735-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>2024-09-26T03:02:27.2521735-07:00</TransactionDate>
<TransactionType>test 6</TransactionType>
</MaterialTransactionResponseDTO>
</ArrayOfMaterialTransactionResponseDTO>