POST api/AgencyMatching/GetRows
Request Information
URI Parameters
None.
Body Parameters
AgencyMatchCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| AgencyVendorID | string |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| IncludeUnmatched | boolean |
None. |
|
| IncludeMatched | boolean |
None. |
|
| UserName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AgencyVendorID": "sample string 1",
"FromDate": "2026-11-21T05:35:06.8802931+00:00",
"ToDate": "2026-11-21T05:35:06.8802931+00:00",
"IncludeUnmatched": true,
"IncludeMatched": true,
"UserName": "sample string 6"
}
application/xml, text/xml
Sample:
<AgencyMatchingModels.AgencyMatchCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarAccountingAPI.Models"> <AgencyVendorID>sample string 1</AgencyVendorID> <FromDate>2026-11-21T05:35:06.8802931+00:00</FromDate> <IncludeMatched>true</IncludeMatched> <IncludeUnmatched>true</IncludeUnmatched> <ToDate>2026-11-21T05:35:06.8802931+00:00</ToDate> <UserName>sample string 6</UserName> </AgencyMatchingModels.AgencyMatchCriteria>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of AgencyMatchRow| Name | Description | Type | Additional information |
|---|---|---|---|
| HistoricalOrderLineItemId | integer |
None. |
|
| HistoricalOrderId | integer |
None. |
|
| DocDate | date |
None. |
|
| DocNumber | string |
None. |
|
| CustNmbr | string |
None. |
|
| CustName | string |
None. |
|
| State | string |
None. |
|
| ItemNmbr | string |
None. |
|
| ItemDesc | string |
None. |
|
| Qty | decimal number |
None. |
|
| UoM | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| ExtPrice | decimal number |
None. |
|
| PriceListUnitCost | decimal number |
None. |
|
| PriceListExtCost | decimal number |
None. |
|
| NoPriceListCost | boolean |
None. |
|
| NoBaseQty | boolean |
None. |
|
| AgencyMatchID | integer |
None. |
|
| VendorInvoiceNmbr | string |
None. |
|
| VoucherNmbr | string |
None. |
|
| MatchStatus | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"HistoricalOrderLineItemId": 1,
"HistoricalOrderId": 2,
"DocDate": "2026-11-21T05:35:06.8997279+00:00",
"DocNumber": "sample string 4",
"CustNmbr": "sample string 5",
"CustName": "sample string 6",
"State": "sample string 7",
"ItemNmbr": "sample string 8",
"ItemDesc": "sample string 9",
"Qty": 10.0,
"UoM": "sample string 11",
"UnitPrice": 12.0,
"ExtPrice": 13.0,
"PriceListUnitCost": 1.0,
"PriceListExtCost": 1.0,
"NoPriceListCost": true,
"NoBaseQty": true,
"AgencyMatchID": 1,
"VendorInvoiceNmbr": "sample string 16",
"VoucherNmbr": "sample string 17",
"MatchStatus": "sample string 18"
},
{
"HistoricalOrderLineItemId": 1,
"HistoricalOrderId": 2,
"DocDate": "2026-11-21T05:35:06.8997279+00:00",
"DocNumber": "sample string 4",
"CustNmbr": "sample string 5",
"CustName": "sample string 6",
"State": "sample string 7",
"ItemNmbr": "sample string 8",
"ItemDesc": "sample string 9",
"Qty": 10.0,
"UoM": "sample string 11",
"UnitPrice": 12.0,
"ExtPrice": 13.0,
"PriceListUnitCost": 1.0,
"PriceListExtCost": 1.0,
"NoPriceListCost": true,
"NoBaseQty": true,
"AgencyMatchID": 1,
"VendorInvoiceNmbr": "sample string 16",
"VoucherNmbr": "sample string 17",
"MatchStatus": "sample string 18"
}
]
application/xml, text/xml
Sample:
<ArrayOfAgencyMatchingModels.AgencyMatchRow xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarAccountingAPI.Models">
<AgencyMatchingModels.AgencyMatchRow>
<AgencyMatchID>1</AgencyMatchID>
<CustName>sample string 6</CustName>
<CustNmbr>sample string 5</CustNmbr>
<DocDate>2026-11-21T05:35:06.8997279+00:00</DocDate>
<DocNumber>sample string 4</DocNumber>
<ExtPrice>13</ExtPrice>
<HistoricalOrderId>2</HistoricalOrderId>
<HistoricalOrderLineItemId>1</HistoricalOrderLineItemId>
<ItemDesc>sample string 9</ItemDesc>
<ItemNmbr>sample string 8</ItemNmbr>
<MatchStatus>sample string 18</MatchStatus>
<NoBaseQty>true</NoBaseQty>
<NoPriceListCost>true</NoPriceListCost>
<PriceListExtCost>1</PriceListExtCost>
<PriceListUnitCost>1</PriceListUnitCost>
<Qty>10</Qty>
<State>sample string 7</State>
<UnitPrice>12</UnitPrice>
<UoM>sample string 11</UoM>
<VendorInvoiceNmbr>sample string 16</VendorInvoiceNmbr>
<VoucherNmbr>sample string 17</VoucherNmbr>
</AgencyMatchingModels.AgencyMatchRow>
<AgencyMatchingModels.AgencyMatchRow>
<AgencyMatchID>1</AgencyMatchID>
<CustName>sample string 6</CustName>
<CustNmbr>sample string 5</CustNmbr>
<DocDate>2026-11-21T05:35:06.8997279+00:00</DocDate>
<DocNumber>sample string 4</DocNumber>
<ExtPrice>13</ExtPrice>
<HistoricalOrderId>2</HistoricalOrderId>
<HistoricalOrderLineItemId>1</HistoricalOrderLineItemId>
<ItemDesc>sample string 9</ItemDesc>
<ItemNmbr>sample string 8</ItemNmbr>
<MatchStatus>sample string 18</MatchStatus>
<NoBaseQty>true</NoBaseQty>
<NoPriceListCost>true</NoPriceListCost>
<PriceListExtCost>1</PriceListExtCost>
<PriceListUnitCost>1</PriceListUnitCost>
<Qty>10</Qty>
<State>sample string 7</State>
<UnitPrice>12</UnitPrice>
<UoM>sample string 11</UoM>
<VendorInvoiceNmbr>sample string 16</VendorInvoiceNmbr>
<VoucherNmbr>sample string 17</VoucherNmbr>
</AgencyMatchingModels.AgencyMatchRow>
</ArrayOfAgencyMatchingModels.AgencyMatchRow>