GET api/jcbatch/AllJobHistory?jobCode={jobCode}&startDate={startDate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
jobCode | string |
Required |
|
startDate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
ValueTupleOfIEnumerableOfPurchaseOrderLiteAndIEnumerableOfTransactionBatchLineName | Description | Type | Additional information |
---|---|---|---|
Item1 | Collection of PurchaseOrderLite |
None. |
|
Item2 | Collection of TransactionBatchLine |
None. |
Response Formats
application/json, text/json
Sample:
{ "Item1": [ { "DocumentID": 1, "OrderNumber": "sample string 2", "OrderDate": "2024-12-13T09:32:10.7340444+13:00", "BranchCode": "sample string 4", "DepartmentCode": "sample string 5", "JobCode": "sample string 6", "OrderStatus": "sample string 7", "CreditorCode": "sample string 8" }, { "DocumentID": 1, "OrderNumber": "sample string 2", "OrderDate": "2024-12-13T09:32:10.7340444+13:00", "BranchCode": "sample string 4", "DepartmentCode": "sample string 5", "JobCode": "sample string 6", "OrderStatus": "sample string 7", "CreditorCode": "sample string 8" } ], "Item2": [ { "LineId": 1, "BatchId": 2, "TransactionType": "sample string 3", "TransactionDate": "2024-12-13T09:32:10.7340444+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:32:10.7340444+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:
<ValueTupleOfArrayOfPurchaseOrderLiteArrayOfTransactionBatchLineOy6PnlQ7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System"> <Item1 xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.PO"> <d2p1:PurchaseOrderLite> <d2p1:BranchCode>sample string 4</d2p1:BranchCode> <d2p1:CreditorCode>sample string 8</d2p1:CreditorCode> <d2p1:DepartmentCode>sample string 5</d2p1:DepartmentCode> <d2p1:DocumentID>1</d2p1:DocumentID> <d2p1:JobCode>sample string 6</d2p1:JobCode> <d2p1:OrderDate>2024-12-13T09:32:10.7340444+13:00</d2p1:OrderDate> <d2p1:OrderNumber>sample string 2</d2p1:OrderNumber> <d2p1:OrderStatus>sample string 7</d2p1:OrderStatus> </d2p1:PurchaseOrderLite> <d2p1:PurchaseOrderLite> <d2p1:BranchCode>sample string 4</d2p1:BranchCode> <d2p1:CreditorCode>sample string 8</d2p1:CreditorCode> <d2p1:DepartmentCode>sample string 5</d2p1:DepartmentCode> <d2p1:DocumentID>1</d2p1:DocumentID> <d2p1:JobCode>sample string 6</d2p1:JobCode> <d2p1:OrderDate>2024-12-13T09:32:10.7340444+13:00</d2p1:OrderDate> <d2p1:OrderNumber>sample string 2</d2p1:OrderNumber> <d2p1:OrderStatus>sample string 7</d2p1:OrderStatus> </d2p1:PurchaseOrderLite> </Item1> <Item2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.JC"> <d2p1:TransactionBatchLine> <d2p1:BatchId>2</d2p1:BatchId> <d2p1:CreatedUserCode>sample string 11</d2p1:CreatedUserCode> <d2p1:Description>sample string 8</d2p1:Description> <d2p1:JobCode>sample string 5</d2p1:JobCode> <d2p1:LineId>1</d2p1:LineId> <d2p1:PostStatus>sample string 10</d2p1:PostStatus> <d2p1:ProductCode>sample string 6</d2p1:ProductCode> <d2p1:Quantity>7.1</d2p1:Quantity> <d2p1:TransactionDate>2024-12-13T09:32:10.7340444+13:00</d2p1:TransactionDate> <d2p1:TransactionType>sample string 3</d2p1:TransactionType> <d2p1:Unit>sample string 9</d2p1:Unit> </d2p1:TransactionBatchLine> <d2p1:TransactionBatchLine> <d2p1:BatchId>2</d2p1:BatchId> <d2p1:CreatedUserCode>sample string 11</d2p1:CreatedUserCode> <d2p1:Description>sample string 8</d2p1:Description> <d2p1:JobCode>sample string 5</d2p1:JobCode> <d2p1:LineId>1</d2p1:LineId> <d2p1:PostStatus>sample string 10</d2p1:PostStatus> <d2p1:ProductCode>sample string 6</d2p1:ProductCode> <d2p1:Quantity>7.1</d2p1:Quantity> <d2p1:TransactionDate>2024-12-13T09:32:10.7340444+13:00</d2p1:TransactionDate> <d2p1:TransactionType>sample string 3</d2p1:TransactionType> <d2p1:Unit>sample string 9</d2p1:Unit> </d2p1:TransactionBatchLine> </Item2> </ValueTupleOfArrayOfPurchaseOrderLiteArrayOfTransactionBatchLineOy6PnlQ7>