WebMaterialTransaction - GET
Find material transactions by Reference Number (requires special permissions).
api/{role}/WebMaterialTransaction/{id}
Request Information
Property | Note | Constraints |
---|---|---|
id : string |
Reference Number |
Required |
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-11-15T15:30:08.3536747-08:00",
"transactionType": "test 6",
"site": "test 7"
},
{
"materialID": 1,
"material": "test 2",
"comments": "test 3",
"quantity": 4,
"referenceNo": "test 5",
"transactionDate": "2024-11-15T15:30:08.3536747-08: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-11-15T15:30:08.3536747-08: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-11-15T15:30:08.3536747-08:00</TransactionDate>
<TransactionType>test 6</TransactionType>
</MaterialTransactionResponseDTO>
</ArrayOfMaterialTransactionResponseDTO>