| Property | Details |
|---|---|
| URL: | https://www2.swcombine.com/ws/v2.0/faction/{uid}/budget/{budgetuid:23\:\d+}[/] |
| Method: | GET |
| Description: | Gets a representation of a budget |
| Pattern Description: |
uid (Mandatory): name or UID of character budgetuid (Mandatory): UID of the budget |
| Rate Limited: | Yes |
| Query String: | N/A |
| Parameters: | N/A |
| Requires Authentication: | Yes |
| Permissions: |
faction_budgets_read: See your faction's budgets |
| Returns: |
200 OK: Returns a representation of a budget 400 Bad Request: One or more of the provided parameters was invalid 404 Not Found: Specified budget does not exist |
| Examples: |
GET /ws/v2.0/faction/corellian%20engineering/budget/23:5/
JSON{
"version": "2.0",
"timestamp": 1767225600,
"resource": "faction_budget",
"request": "/ws/v2.0/faction/corellian%20engineering/budget/23:5/",
"swcapi": {
"budget": {
"uid": "23:5",
"name": "Fleet Budget",
"description": "My first budget",
"balance": 10000,
"maxbalance": -2,
"refreshintervalweeks": 0,
"refreshamount": {
"value": "0.0000",
"attributes": {
"units": "percent"
}
},
"assignees": {
"assignee": [
{
"attributes": {
"uid": "1:1001",
"href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
},
"value": "Kira Vane"
}
]
}
}
}
}
XML<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="faction_budget" request="/ws/v2.0/faction/corellian%20engineering/budget/23:5/">
<budget>
<uid>23:5</uid>
<name>Fleet Budget</name>
<description>My first budget</description>
<balance>10000</balance>
<maxbalance>-2</maxbalance>
<refreshintervalweeks>0</refreshintervalweeks>
<refreshamount units="percent">0.0000</refreshamount>
<assignees count="1">
<assignee uid="1:1001" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</assignee>
</assignees>
</budget>
</swcapi>
|