| GET | /invoices/recurringInvoices/obligation |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| GroupId | query | string | No | |
| UserId | query | string | No | |
| FiscalYear | query | int | No | |
| ShowHistory | query | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserId | form | string | No | |
| GroupId | form | string | No | |
| FiscalYears | form | List<ObligationYear> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FiscalYear | form | int | No | |
| Obligations | form | List<Obligation> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CreatedDate | form | DateTime | No | |
| LastUpdateDate | form | DateTime | No | |
| IsActive | form | bool | No | |
| LineItems | form | List<ObligationLineItem> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ChartOfAccountId | form | int | No | |
| ChartOfAccountRefId | form | string | No | |
| Amount | form | decimal? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /invoices/recurringInvoices/obligation HTTP/1.1 Host: devapi.billhighway.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
UserId: String,
GroupId: String,
FiscalYears:
[
{
FiscalYear: 0,
Obligations:
[
{
CreatedDate: 0001-01-01,
LastUpdateDate: 0001-01-01,
IsActive: False,
LineItems:
[
{
ChartOfAccountRefId: String,
Amount: 0
}
]
}
]
}
]
}