1972 active members
  189 are Online

Year

27

Day

307

Time

19:10:22

Guest
Login
Fully Implemented

Fully Implemented

Property Details
URL: https://www2.swcombine.com/ws/v2.0/datacards/{uid}[/]
Method: GET
Description: Gets the collection of datacards owned by the specified faction
Pattern Description: uid (Mandatory): name or UID of faction whose datacards should be retrieved
Rate Limited: No
Query String: N/A
Parameters: N/A
Requires Authentication: No
Permissions: N/A
Returns: 200 OK: Returns the collection of inventories
400 Bad Request: One or more of the provided parameters was invalid
404 Not Found: The specified faction does not exist
Examples:
GET /ws/v2.0/datacards/20:1001/
JSON
{
    "version": "2.0",
    "timestamp": 1767225600,
    "resource": "datacards",
    "request": "/ws/v2.0/datacards/20:1001/",
    "swcapi": {
        "datacards": {
            "datacard": [
                {
                    "entity": {
                        "attributes": {
                            "uid": "2:6",
                            "href": "https://www.swcombine.com/ws/v2.0/types/ships/dreadnaught-class%20heavy%20cruiser/"
                        },
                        "value": "Dreadnaught-class Heavy Cruiser"
                    },
                    "attributes": {
                        "uid": "14:1001",
                        "href": "https://www.swcombine.com/ws/v2.0/datacard/14%3A1001/"
                    }
                },
                {
                    "entity": {
                        "attributes": {
                            "uid": "2:13",
                            "href": "https://www.swcombine.com/ws/v2.0/types/ships/ef76%20nebulon-b%20escort%20frigate/"
                        },
                        "value": "EF76 Nebulon-B Escort Frigate"
                    },
                    "attributes": {
                        "uid": "14:1004",
                        "href": "https://www.swcombine.com/ws/v2.0/datacard/14%3A1004/"
                    }
                },
                {
                    "entity": {
                        "attributes": {
                            "uid": "2:215",
                            "href": "https://www.swcombine.com/ws/v2.0/types/ships/corona-class%20frigate/"
                        },
                        "value": "Corona-class Frigate"
                    },
                    "attributes": {
                        "uid": "14:1007",
                        "href": "https://www.swcombine.com/ws/v2.0/datacard/14%3A1007/"
                    }
                }
            ]
        }
    }
}
XML
<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="datacards" request="/ws/v2.0/datacards/20:1001/">
  <datacards count="3">
    <datacard uid="14:1001" href="https://www.swcombine.com/ws/v2.0/datacard/14%3A1001/">
      <entity uid="2:6" href="https://www.swcombine.com/ws/v2.0/types/ships/dreadnaught-class%20heavy%20cruiser/">Dreadnaught-class Heavy Cruiser</entity>
    </datacard>
    <datacard uid="14:1004" href="https://www.swcombine.com/ws/v2.0/datacard/14%3A1004/">
      <entity uid="2:13" href="https://www.swcombine.com/ws/v2.0/types/ships/ef76%20nebulon-b%20escort%20frigate/">EF76 Nebulon-B Escort Frigate</entity>
    </datacard>
    <datacard uid="14:1007" href="https://www.swcombine.com/ws/v2.0/datacard/14%3A1007/">
      <entity uid="2:215" href="https://www.swcombine.com/ws/v2.0/types/ships/corona-class%20frigate/">Corona-class Frigate</entity>
    </datacard>
  </datacards>
</swcapi>