Read budget
GET {{baseUrl}}/marketing/v3/campaigns/:campaignGuid/budget/totals
Retrieve detailed information about the budget and spend items for a specified campaign, including the total budget, total spend, and remaining budget. Budget and Spend items may be returned in any order, but the order field specifies their sequence based on the creation date. The item with order 0 is the oldest, and items with higher order values are newer
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"budgetItems":[{"amount":"\u003cnumber\u003e","createdAt":"\u003cinteger\u003e","id":"\u003cstring\u003e","name":"\u003cstring\u003e","order":"\u003cinteger\u003e","updatedAt":"\u003cinteger\u003e","description":"\u003cstring\u003e"},{"amount":"\u003cnumber\u003e","createdAt":"\u003cinteger\u003e","id":"\u003cstring\u003e","name":"\u003cstring\u003e","order":"\u003cinteger\u003e","updatedAt":"\u003cinteger\u003e","description":"\u003cstring\u003e"}],"currencyCode":"BDT","spendItems":[{"amount":"\u003cnumber\u003e","createdAt":"\u003cinteger\u003e","id":"\u003cstring\u003e","name":"\u003cstring\u003e","order":"\u003cinteger\u003e","updatedAt":"\u003cinteger\u003e","description":"\u003cstring\u003e"},{"amount":"\u003cnumber\u003e","createdAt":"\u003cinteger\u003e","id":"\u003cstring\u003e","name":"\u003cstring\u003e","order":"\u003cinteger\u003e","updatedAt":"\u003cinteger\u003e","description":"\u003cstring\u003e"}],"budgetTotal":"\u003cnumber\u003e","remainingBudget":"\u003cnumber\u003e","spendTotal":"\u003cnumber\u003e"}