GET api/customeraging/{id}
Returns the specified Customer Aging record for the Customer_Id passed in
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerAgingName | Description | Type | Additional information |
---|---|---|---|
CustomerAgingId |
Sedona internal autonumber for Customer Aging |
integer |
None. |
CustomerId |
Foreign key from AR_Customer table |
integer |
Required |
Bucket1 |
1-30 days past due |
decimal number |
None. |
Bucket2 |
31-60 days past due |
decimal number |
None. |
Bucket3 |
61-90 days past due |
decimal number |
None. |
Bucket4 |
91-120 days past due |
decimal number |
None. |
Bucket5 |
120+ days past due |
decimal number |
None. |
BalCurrent |
current balance due |
decimal number |
None. |
BalUnapCredit | decimal number |
None. |
|
BalUnapCash | decimal number |
None. |
|
BalAdvanceDep | decimal number |
None. |
|
LastLatePenalty | decimal number |
None. |
|
LateChargeDate | string |
None. |
|
DateLastAged | string |
None. |
|
NFSChecks | integer |
None. |
|
AverageDaysToPay | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "CustomerAgingId": 1, "CustomerId": 2, "Bucket1": 3.0, "Bucket2": 4.0, "Bucket3": 5.0, "Bucket4": 6.0, "Bucket5": 7.0, "BalCurrent": 8.0, "BalUnapCredit": 9.0, "BalUnapCash": 10.0, "BalAdvanceDep": 11.0, "LastLatePenalty": 12.0, "LateChargeDate": "sample string 13", "DateLastAged": "sample string 14", "NFSChecks": 15, "AverageDaysToPay": 16 }
application/xml, text/xml
Sample:
<CustomerAging xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <AverageDaysToPay>16</AverageDaysToPay> <BalAdvanceDep>11</BalAdvanceDep> <BalCurrent>8</BalCurrent> <BalUnapCash>10</BalUnapCash> <BalUnapCredit>9</BalUnapCredit> <Bucket1>3</Bucket1> <Bucket2>4</Bucket2> <Bucket3>5</Bucket3> <Bucket4>6</Bucket4> <Bucket5>7</Bucket5> <CustomerAgingId>1</CustomerAgingId> <CustomerId>2</CustomerId> <DateLastAged>sample string 14</DateLastAged> <LastLatePenalty>12</LastLatePenalty> <LateChargeDate>sample string 13</LateChargeDate> <NFSChecks>15</NFSChecks> </CustomerAging>