POST api/purchaseorder/GetJobListTransactions?token={token}&syncStamp={syncStamp}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

syncStamp

date

None.

Body Parameters

Collection of string

Request Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

TupleOfListOfIEnumerableOfPurchaseOrderLiteAndListOfIEnumerableOfTransactionBatchLine
NameDescriptionTypeAdditional information
Item1

Collection of Collection of PurchaseOrderLite

None.

Item2

Collection of Collection of TransactionBatchLine

None.

Response Formats

application/json, text/json

Sample:
{
  "m_Item1": [
    [
      {
        "DocumentID": 1,
        "OrderNumber": "sample string 2",
        "OrderDate": "2024-12-13T08:57:05.5653757+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-13T08:57:05.5653757+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-13T08:57:05.5653757+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-13T08:57:05.5653757+13:00",
        "BranchCode": "sample string 4",
        "DepartmentCode": "sample string 5",
        "JobCode": "sample string 6",
        "OrderStatus": "sample string 7",
        "CreditorCode": "sample string 8"
      }
    ]
  ],
  "m_Item2": [
    [
      {
        "LineId": 1,
        "BatchId": 2,
        "TransactionType": "sample string 3",
        "TransactionDate": "2024-12-13T08:57:05.5653757+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-13T08:57:05.5653757+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-13T08:57:05.5653757+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-13T08:57:05.5653757+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:
<TupleOfArrayOfArrayOfPurchaseOrderLiteArrayOfArrayOfTransactionBatchLineOy6PnlQ7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System">
  <m_Item1 xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.PO">
    <d2p1:ArrayOfPurchaseOrderLite>
      <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-13T08:57:05.5653757+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-13T08:57:05.5653757+13:00</d2p1:OrderDate>
        <d2p1:OrderNumber>sample string 2</d2p1:OrderNumber>
        <d2p1:OrderStatus>sample string 7</d2p1:OrderStatus>
      </d2p1:PurchaseOrderLite>
    </d2p1:ArrayOfPurchaseOrderLite>
    <d2p1:ArrayOfPurchaseOrderLite>
      <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-13T08:57:05.5653757+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-13T08:57:05.5653757+13:00</d2p1:OrderDate>
        <d2p1:OrderNumber>sample string 2</d2p1:OrderNumber>
        <d2p1:OrderStatus>sample string 7</d2p1:OrderStatus>
      </d2p1:PurchaseOrderLite>
    </d2p1:ArrayOfPurchaseOrderLite>
  </m_Item1>
  <m_Item2 xmlns:d2p1="http://schemas.datacontract.org/2004/07/AccredoWeb.Model.JC">
    <d2p1:ArrayOfTransactionBatchLine>
      <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-13T08:57:05.5653757+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-13T08:57:05.5653757+13:00</d2p1:TransactionDate>
        <d2p1:TransactionType>sample string 3</d2p1:TransactionType>
        <d2p1:Unit>sample string 9</d2p1:Unit>
      </d2p1:TransactionBatchLine>
    </d2p1:ArrayOfTransactionBatchLine>
    <d2p1:ArrayOfTransactionBatchLine>
      <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-13T08:57:05.5653757+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-13T08:57:05.5653757+13:00</d2p1:TransactionDate>
        <d2p1:TransactionType>sample string 3</d2p1:TransactionType>
        <d2p1:Unit>sample string 9</d2p1:Unit>
      </d2p1:TransactionBatchLine>
    </d2p1:ArrayOfTransactionBatchLine>
  </m_Item2>
</TupleOfArrayOfArrayOfPurchaseOrderLiteArrayOfArrayOfTransactionBatchLineOy6PnlQ7>