GET ai/budget
Gets all budgets paired with the actual customer-charged cost recorded within each budget's period.
Request Information
URI
https://ofd-api.blueprintcpq.net/ai/budget
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
The list of budgets with their actual cost, remaining amount and percent used.
Collection of BudgetVsCostResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| PeriodType | string |
None. |
|
| Amount | decimal number |
None. |
|
| Currency | string |
None. |
|
| ActualCost | decimal number |
None. |
|
| Remaining | decimal number |
None. |
|
| PercentUsed | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "197d3140-a714-4fb1-8090-bd18f8b2e2e1",
"Start": "2026-10-23T02:01:49.4419008Z",
"End": "2026-10-23T02:01:49.4419008Z",
"PeriodType": "sample string 4",
"Amount": 5.0,
"Currency": "sample string 6",
"ActualCost": 7.0,
"Remaining": 8.0,
"PercentUsed": 1.1
},
{
"Id": "197d3140-a714-4fb1-8090-bd18f8b2e2e1",
"Start": "2026-10-23T02:01:49.4419008Z",
"End": "2026-10-23T02:01:49.4419008Z",
"PeriodType": "sample string 4",
"Amount": 5.0,
"Currency": "sample string 6",
"ActualCost": 7.0,
"Remaining": 8.0,
"PercentUsed": 1.1
}
]
text/html
Sample:
[{"Id":"197d3140-a714-4fb1-8090-bd18f8b2e2e1","Start":"2026-10-23T02:01:49.4419008Z","End":"2026-10-23T02:01:49.4419008Z","PeriodType":"sample string 4","Amount":5.0,"Currency":"sample string 6","ActualCost":7.0,"Remaining":8.0,"PercentUsed":1.1},{"Id":"197d3140-a714-4fb1-8090-bd18f8b2e2e1","Start":"2026-10-23T02:01:49.4419008Z","End":"2026-10-23T02:01:49.4419008Z","PeriodType":"sample string 4","Amount":5.0,"Currency":"sample string 6","ActualCost":7.0,"Remaining":8.0,"PercentUsed":1.1}]
application/xml, text/xml
Sample:
<ArrayOfBudgetVsCostResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.Responses">
<BudgetVsCostResponse>
<ActualCost>7</ActualCost>
<Amount>5</Amount>
<Currency>sample string 6</Currency>
<End>2026-10-23T02:01:49.4419008+00:00</End>
<Id>197d3140-a714-4fb1-8090-bd18f8b2e2e1</Id>
<PercentUsed>1.1</PercentUsed>
<PeriodType>sample string 4</PeriodType>
<Remaining>8</Remaining>
<Start>2026-10-23T02:01:49.4419008+00:00</Start>
</BudgetVsCostResponse>
<BudgetVsCostResponse>
<ActualCost>7</ActualCost>
<Amount>5</Amount>
<Currency>sample string 6</Currency>
<End>2026-10-23T02:01:49.4419008+00:00</End>
<Id>197d3140-a714-4fb1-8090-bd18f8b2e2e1</Id>
<PercentUsed>1.1</PercentUsed>
<PeriodType>sample string 4</PeriodType>
<Remaining>8</Remaining>
<Start>2026-10-23T02:01:49.4419008+00:00</Start>
</BudgetVsCostResponse>
</ArrayOfBudgetVsCostResponse>