| Property | Details |
|---|---|
| URL: | https://www2.swcombine.com/ws/v2.0/faction/{uid}/creditlog[/] |
| Method: | GET |
| Description: | Gets the representation of the specified faction's banking display |
| Pattern Description: |
uid (Mandatory): name or UID of faction |
| Rate Limited: | Yes |
| Query String: |
start_index (number): The first item to retrieve from the list, from 1 onwards (default 1). An invalid value is replaced by the default item_count (number): The number of items to retrieve (1 to 1000, default 1000). An invalid value is replaced by the default start_id (number): The lowest transaction id to include (default 0, meaning no minimum). Transactions are always listed oldest first, so the default starts from the oldest transaction; use start_index and item_count to page through them |
| Parameters: | N/A |
| Requires Authentication: | Yes |
| Permissions: |
faction_credits_read: See how many credits your faction owns |
| Returns: |
200 OK: Returns the representation for the specified faction's banking display 400 Bad Request: One or more of the provided parameters was invalid 401 Unauthorized: The client does not have the required permission to access this resource 404 Not Found: The specified faction does not exist or you do not have authorisation to access faction information |
| Examples: |
GET /ws/v2.0/faction/20:1001/creditlog/
JSON{
"version": "2.0",
"timestamp": 1767225600,
"resource": "faction_creditlog",
"request": "/ws/v2.0/faction/20:1001/creditlog/",
"swcapi": {
"transactions": {
"attributes": {
"uid": "20:1001",
"start": 1,
"total": 2,
"count": 2
},
"transaction": [
{
"attributes": {
"transaction_id": 87
},
"time": {
"years": 27,
"days": 298,
"hours": 10,
"mins": 37,
"secs": 5,
"timestamp": "1789839425"
},
"amount": 666,
"sender": {},
"receiver": {
"attributes": {
"uid": "20:1001",
"href": "https://www.swcombine.com/ws/v2.0/faction/corellian%20engineering/"
},
"value": "Corellian Engineering"
},
"communication": "Received payment"
},
{
"attributes": {
"transaction_id": 88
},
"time": {
"years": 27,
"days": 298,
"hours": 10,
"mins": 37,
"secs": 5,
"timestamp": "1789839425"
},
"amount": 555,
"sender": {
"attributes": {
"uid": "20:1001",
"href": "https://www.swcombine.com/ws/v2.0/faction/corellian%20engineering/"
},
"value": "Corellian Engineering"
},
"receiver": {},
"communication": "Sent payment"
}
]
}
}
}
XML<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="faction_creditlog" request="/ws/v2.0/faction/20:1001/creditlog/">
<transactions count="2" uid="20:1001" start="1" total="2">
<transaction transaction_id="87">
<time>
<years>27</years>
<days>298</days>
<hours>10</hours>
<mins>37</mins>
<secs>5</secs>
<timestamp>1789839425</timestamp>
</time>
<amount>666</amount>
<sender/>
<receiver uid="20:1001" href="https://www.swcombine.com/ws/v2.0/faction/corellian%20engineering/">Corellian Engineering</receiver>
<communication>Received payment</communication>
</transaction>
<transaction transaction_id="88">
<time>
<years>27</years>
<days>298</days>
<hours>10</hours>
<mins>37</mins>
<secs>5</secs>
<timestamp>1789839425</timestamp>
</time>
<amount>555</amount>
<sender uid="20:1001" href="https://www.swcombine.com/ws/v2.0/faction/corellian%20engineering/">Corellian Engineering</sender>
<receiver/>
<communication>Sent payment</communication>
</transaction>
</transactions>
</swcapi>
|