POST api/AgencyAging/GetLines
Request Information
URI Parameters
None.
Body Parameters
AgencyAgingCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| AgencyVendorID | string |
None. |
|
| CustomerNumber | string |
None. |
|
| ItemNmbr | string |
None. |
|
| AgencyItemsOnly | boolean |
None. |
|
| UserName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"FromDate": "2026-11-21T05:35:04.036494+00:00",
"ToDate": "2026-11-21T05:35:04.036494+00:00",
"AgencyVendorID": "sample string 1",
"CustomerNumber": "sample string 2",
"ItemNmbr": "sample string 3",
"AgencyItemsOnly": true,
"UserName": "sample string 5"
}
application/xml, text/xml
Sample:
<AgencyAgingModels.AgencyAgingCriteria xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarAccountingAPI.Models"> <AgencyItemsOnly>true</AgencyItemsOnly> <AgencyVendorID>sample string 1</AgencyVendorID> <CustomerNumber>sample string 2</CustomerNumber> <FromDate>2026-11-21T05:35:04.036494+00:00</FromDate> <ItemNmbr>sample string 3</ItemNmbr> <ToDate>2026-11-21T05:35:04.036494+00:00</ToDate> <UserName>sample string 5</UserName> </AgencyAgingModels.AgencyAgingCriteria>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of AgencyAgingLine| Name | Description | Type | Additional information |
|---|---|---|---|
| OpenReceivableId | integer |
None. |
|
| HistoricalOrderLineItemId | integer |
None. |
|
| DocumentType | string |
None. |
|
| DocNumber | string |
None. |
|
| DocDate | date |
None. |
|
| DueDate | date |
None. |
|
| CustNmbr | string |
None. |
|
| CustName | string |
None. |
|
| AgencyVendorID | string |
None. |
|
| Vendor | string |
None. |
|
| Rep | string |
None. |
|
| ItemNmbr | string |
None. |
|
| ItemDesc | string |
None. |
|
| Qty | decimal number |
None. |
|
| UoM | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| ExtPrice | decimal number |
None. |
|
| TaxShare | decimal number |
None. |
|
| OrigAmount | decimal number |
None. |
|
| NetDue | decimal number |
None. |
|
| DaysPastDue | integer |
None. |
|
| Bucket | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"OpenReceivableId": 1,
"HistoricalOrderLineItemId": 2,
"DocumentType": "sample string 3",
"DocNumber": "sample string 4",
"DocDate": "2026-11-21T05:35:04.036494+00:00",
"DueDate": "2026-11-21T05:35:04.036494+00:00",
"CustNmbr": "sample string 6",
"CustName": "sample string 7",
"AgencyVendorID": "sample string 8",
"Vendor": "sample string 9",
"Rep": "sample string 10",
"ItemNmbr": "sample string 11",
"ItemDesc": "sample string 12",
"Qty": 13.0,
"UoM": "sample string 14",
"UnitPrice": 15.0,
"ExtPrice": 16.0,
"TaxShare": 17.0,
"OrigAmount": 18.0,
"NetDue": 19.0,
"DaysPastDue": 20,
"Bucket": "sample string 21"
},
{
"OpenReceivableId": 1,
"HistoricalOrderLineItemId": 2,
"DocumentType": "sample string 3",
"DocNumber": "sample string 4",
"DocDate": "2026-11-21T05:35:04.036494+00:00",
"DueDate": "2026-11-21T05:35:04.036494+00:00",
"CustNmbr": "sample string 6",
"CustName": "sample string 7",
"AgencyVendorID": "sample string 8",
"Vendor": "sample string 9",
"Rep": "sample string 10",
"ItemNmbr": "sample string 11",
"ItemDesc": "sample string 12",
"Qty": 13.0,
"UoM": "sample string 14",
"UnitPrice": 15.0,
"ExtPrice": 16.0,
"TaxShare": 17.0,
"OrigAmount": 18.0,
"NetDue": 19.0,
"DaysPastDue": 20,
"Bucket": "sample string 21"
}
]
application/xml, text/xml
Sample:
<ArrayOfAgencyAgingModels.AgencyAgingLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HarAccountingAPI.Models">
<AgencyAgingModels.AgencyAgingLine>
<AgencyVendorID>sample string 8</AgencyVendorID>
<Bucket>sample string 21</Bucket>
<CustName>sample string 7</CustName>
<CustNmbr>sample string 6</CustNmbr>
<DaysPastDue>20</DaysPastDue>
<DocDate>2026-11-21T05:35:04.036494+00:00</DocDate>
<DocNumber>sample string 4</DocNumber>
<DocumentType>sample string 3</DocumentType>
<DueDate>2026-11-21T05:35:04.036494+00:00</DueDate>
<ExtPrice>16</ExtPrice>
<HistoricalOrderLineItemId>2</HistoricalOrderLineItemId>
<ItemDesc>sample string 12</ItemDesc>
<ItemNmbr>sample string 11</ItemNmbr>
<NetDue>19</NetDue>
<OpenReceivableId>1</OpenReceivableId>
<OrigAmount>18</OrigAmount>
<Qty>13</Qty>
<Rep>sample string 10</Rep>
<TaxShare>17</TaxShare>
<UnitPrice>15</UnitPrice>
<UoM>sample string 14</UoM>
<Vendor>sample string 9</Vendor>
</AgencyAgingModels.AgencyAgingLine>
<AgencyAgingModels.AgencyAgingLine>
<AgencyVendorID>sample string 8</AgencyVendorID>
<Bucket>sample string 21</Bucket>
<CustName>sample string 7</CustName>
<CustNmbr>sample string 6</CustNmbr>
<DaysPastDue>20</DaysPastDue>
<DocDate>2026-11-21T05:35:04.036494+00:00</DocDate>
<DocNumber>sample string 4</DocNumber>
<DocumentType>sample string 3</DocumentType>
<DueDate>2026-11-21T05:35:04.036494+00:00</DueDate>
<ExtPrice>16</ExtPrice>
<HistoricalOrderLineItemId>2</HistoricalOrderLineItemId>
<ItemDesc>sample string 12</ItemDesc>
<ItemNmbr>sample string 11</ItemNmbr>
<NetDue>19</NetDue>
<OpenReceivableId>1</OpenReceivableId>
<OrigAmount>18</OrigAmount>
<Qty>13</Qty>
<Rep>sample string 10</Rep>
<TaxShare>17</TaxShare>
<UnitPrice>15</UnitPrice>
<UoM>sample string 14</UoM>
<Vendor>sample string 9</Vendor>
</AgencyAgingModels.AgencyAgingLine>
</ArrayOfAgencyAgingModels.AgencyAgingLine>