Some Faction Name
  5258 active members
  5166 are Online

Year

27

Day

354

Time

21:08:47

Guest
Login
Fully Implemented

Fully Implemented

Property Details
URL: https://dev.swcombine.com/ws/v2.0/inventory/{uid}/{entity_type:ships|vehicles|stations|cities|facilities|planets|items|npcs|droids|creatures|materials}/{assign_type:owner|commander|pilot}[/]
Method: GET
Description: Gets a collection of entities in an inventory
Pattern Description: uid (Mandatory): name or UID of the inventory viewer (Character or Faction)
entity_type (Mandatory): One-of: ships, vehicles, stations, cities, facilities, planets, items, npcs, droids, creatures, or materials
assign_type (Mandatory): One-of: owner, commander, or pilot
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 200, default 200). An invalid value is replaced by the default
filter_type (array): The type of filter to apply to the inventory. (filters are optional). One of: class, city, name, planet, sector, system, type, underconstruction, opento, protected, infotext, wreck, owner, commander, pilot, id, powered, debt, deposit, cargocontaineritems, cargocontainerdroids, container, gender, working, level, race, tags. Not every filter applies to every entity type, and using one that does not apply returns an error. name, id, city, planet, sector, system, infotext, container, tags, owner, commander and pilot apply to all entity types. class applies to all except cities and planets. type applies to all except cities. protected applies to all except planets. working applies to all except planets and materials. underconstruction and opento apply to ships, vehicles, stations and facilities. wreck applies to ships, vehicles, stations, facilities and droids. powered, debt and deposit apply to facilities. cargocontaineritems and cargocontainerdroids apply to items. gender and level apply to npcs and creatures. race applies to npcs.
filter_value (array): The value of the filter to apply. Values should be in the corresponding spot in the array as the type they belong to. Alternatively, to be certain the value and type match up, an array keyed by filter_type can be used. The filter_type array would still be required. Keying this array with filter types requires that filter_inclusion by keyed by filter_type as well. Multiple values for a filter type should be passed as an array (filters are optional). Value is dependent on type. The following expect UIDs or IDs: class, city, planet, sector, system, type, id, pilot, deposit, cargocontaineritems, cargocontainerdroids, race. The following must be UIDs: owner, commander, container. The following expect a name: name, infotext, tags. The following expect booleans (use 0 for false and 1 for true): underconstruction, protected, wreck, powered, debt, working. The following expect integers: level. The following have enumerated lists of accepted values: opento (0 for none, 1 for faction, 2 for all), gender (M for male and F for female). To filter on "None" (for example no city, no infotext or no container), pass an array containing a single empty string, such as filter_value[city][]= (a bare empty value is rejected). Spaces in names must be encoded as '+' characters. Other special characters in names may need to be URL-encoded.
filter_inclusion (array): Whether to apply the filter as includes or excludes. Required for every filter_type given (omitting it returns a 400), with one value per filter type, in the corresponding spot in the array as the type they belong to. If filter_value is passed an array keyed by filter_types, this array must be keyed by filter_types. (filters are optional). One of: includes, excludes
Parameters: N/A
Requires Authentication: Yes
Permissions: personal_inv_cities_read: Read basic information about your cities
personal_inv_creatures_read: Read basic information about your creatures
personal_inv_droids_read: Read basic information about your droids
personal_inv_facilities_read: Read basic information about your facilities
personal_inv_items_read: Read basic information about your items
personal_inv_materials_read: Read basic information about your materials
personal_inv_npcs_read: Read basic information about your NPCs
personal_inv_planets_read: Read basic information about your planets
personal_inv_ships_read: Read basic information about your ships
personal_inv_stations_read: Read basic information about your space stations
personal_inv_vehicles_read: Read basic information about your vehicles
faction_inv_cities_read: Read basic information about your faction's cities
faction_inv_creatures_read: Read basic information about your faction's creatures
faction_inv_droids_read: Read basic information about your faction's droids
faction_inv_facilities_read: Read basic information about your faction's facilities
faction_inv_items_read: Read basic information about your faction's items
faction_inv_materials_read: Read basic information about your faction's materials
faction_inv_npcs_read: Read basic information about your faction's NPCs
faction_inv_planets_read: Read basic information about your faction's planets
faction_inv_ships_read: Read basic information about your faction's ships
faction_inv_stations_read: Read basic information about your faction's space stations
faction_inv_vehicles_read: Read basic information about your faction's vehicles
Returns: 200 OK: Returns a collection of all entities
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 character does not exist or you do not have authorisation to access this inventory
Examples:
GET /ws/v2.0/inventory/kira%20vane/ships/owner/
JSON
{
    "version": "2.0",
    "timestamp": 1767225600,
    "resource": "inventory_entities",
    "request": "/ws/v2.0/inventory/kira%20vane/ships/owner/",
    "swcapi": {
        "filters": {
            "filter": []
        },
        "entities": {
            "attributes": {
                "start": 1,
                "total": 1,
                "count": 1
            },
            "entity": [
                {
                    "attributes": {
                        "href": "https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1001/"
                    },
                    "value": {
                        "uid": "2:1001",
                        "entitytype": "Ship",
                        "name": "Rebel Dawn",
                        "owner": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "pilot": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "infotext": "",
                        "images": {
                            "small": "/images//ships/7/main.png",
                            "large": "/images//ships/7/large.png",
                            "customsmall": "",
                            "customlarge": ""
                        },
                        "opento": "Crewlist Only",
                        "protected": "no",
                        "wrecked": "no",
                        "hull": {
                            "attributes": {
                                "max": 1000
                            },
                            "value": 1000
                        },
                        "shield": {
                            "attributes": {
                                "max": 800
                            },
                            "value": 800
                        },
                        "ionic": {
                            "attributes": {
                                "max": 500
                            },
                            "value": 500
                        },
                        "location": {
                            "container": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "sector": {
                                "value": "Corellian",
                                "attributes": {
                                    "uid": "25:484",
                                    "type": "sector",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/"
                                }
                            },
                            "system": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "planet": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "8:1001",
                                    "type": "planet",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/"
                                }
                            },
                            "city": {},
                            "coordinates": {
                                "galaxy": {
                                    "attributes": {
                                        "x": 70,
                                        "y": -32
                                    }
                                },
                                "system": {
                                    "attributes": {
                                        "x": 10,
                                        "y": 10
                                    }
                                },
                                "surface": {
                                    "attributes": null
                                },
                                "ground": {
                                    "attributes": null
                                }
                            }
                        },
                        "type": {
                            "attributes": {
                                "uid": "2:7",
                                "href": "https://www.swcombine.com/ws/v2.0/types/ships/cr-90%20corvette/"
                            },
                            "value": "CR-90 Corvette"
                        },
                        "underconstruction": "no",
                        "tags": {
                            "tag": []
                        }
                    }
                }
            ]
        }
    }
}
XML
<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="inventory_entities" request="/ws/v2.0/inventory/kira%20vane/ships/owner/">
  <filters>
    <filter/>
  </filters>
  <entities count="1" start="1" total="1">
    <entity href="https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1001/">
      <uid>2:1001</uid>
      <entitytype>Ship</entitytype>
      <name>Rebel Dawn</name>
      <owner uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</owner>
      <pilot uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</pilot>
      <infotext/>
      <images>
        <small>/images//ships/7/main.png</small>
        <large>/images//ships/7/large.png</large>
        <customsmall/>
        <customlarge/>
      </images>
      <opento>Crewlist Only</opento>
      <protected>no</protected>
      <wrecked>no</wrecked>
      <hull max="1000">1000</hull>
      <shield max="800">800</shield>
      <ionic max="500">500</ionic>
      <location>
        <container uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</container>
        <sector uid="25:484" type="sector" href="https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/">Corellian</sector>
        <system uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</system>
        <planet uid="8:1001" type="planet" href="https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/">Corellia</planet>
        <city/>
        <coordinates>
          <galaxy x="70" y="-32"/>
          <system x="10" y="10"/>
          <surface/>
          <ground/>
        </coordinates>
      </location>
      <type uid="2:7" href="https://www.swcombine.com/ws/v2.0/types/ships/cr-90%20corvette/">CR-90 Corvette</type>
      <underconstruction>no</underconstruction>
      <tags>
        <tag/>
      </tags>
    </entity>
  </entities>
</swcapi>
filtered GET /ws/v2.0/inventory/kira%20vane/ships/owner/?filter_type[]=name&filter_value[]=Rebel+Dawn&filter_inclusion[]=includes&filter_type[]=underconstruction&filter_value[]=1&filter_inclusion[]=excludes
JSON
{
    "version": "2.0",
    "timestamp": 1767225600,
    "resource": "inventory_entities",
    "request": "/ws/v2.0/inventory/kira%20vane/ships/owner/?filter_type[]=name&filter_value[]=Rebel+Dawn&filter_inclusion[]=includes&filter_type[]=underconstruction&filter_value[]=1&filter_inclusion[]=excludes",
    "swcapi": {
        "filters": {
            "filter": [
                {
                    "type": "name",
                    "terms": {
                        "term": [
                            "Rebel Dawn"
                        ]
                    },
                    "inclusion": "includes"
                },
                {
                    "type": "underconstruction",
                    "terms": {
                        "term": [
                            "1"
                        ]
                    },
                    "inclusion": "excludes"
                }
            ]
        },
        "entities": {
            "attributes": {
                "start": 1,
                "total": 1,
                "count": 1
            },
            "entity": [
                {
                    "attributes": {
                        "href": "https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1001/"
                    },
                    "value": {
                        "uid": "2:1001",
                        "entitytype": "Ship",
                        "name": "Rebel Dawn",
                        "owner": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "pilot": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "infotext": "",
                        "images": {
                            "small": "/images//ships/7/main.png",
                            "large": "/images//ships/7/large.png",
                            "customsmall": "",
                            "customlarge": ""
                        },
                        "opento": "Crewlist Only",
                        "protected": "no",
                        "wrecked": "no",
                        "hull": {
                            "attributes": {
                                "max": 1000
                            },
                            "value": 1000
                        },
                        "shield": {
                            "attributes": {
                                "max": 800
                            },
                            "value": 800
                        },
                        "ionic": {
                            "attributes": {
                                "max": 500
                            },
                            "value": 500
                        },
                        "location": {
                            "container": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "sector": {
                                "value": "Corellian",
                                "attributes": {
                                    "uid": "25:484",
                                    "type": "sector",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/"
                                }
                            },
                            "system": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "planet": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "8:1001",
                                    "type": "planet",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/"
                                }
                            },
                            "city": {},
                            "coordinates": {
                                "galaxy": {
                                    "attributes": {
                                        "x": 70,
                                        "y": -32
                                    }
                                },
                                "system": {
                                    "attributes": {
                                        "x": 10,
                                        "y": 10
                                    }
                                },
                                "surface": {
                                    "attributes": null
                                },
                                "ground": {
                                    "attributes": null
                                }
                            }
                        },
                        "type": {
                            "attributes": {
                                "uid": "2:7",
                                "href": "https://www.swcombine.com/ws/v2.0/types/ships/cr-90%20corvette/"
                            },
                            "value": "CR-90 Corvette"
                        },
                        "underconstruction": "no",
                        "tags": {
                            "tag": []
                        }
                    }
                }
            ]
        }
    }
}
XML
<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="inventory_entities" request="/ws/v2.0/inventory/kira%20vane/ships/owner/?filter_type[]=name&amp;filter_value[]=Rebel+Dawn&amp;filter_inclusion[]=includes&amp;filter_type[]=underconstruction&amp;filter_value[]=1&amp;filter_inclusion[]=excludes">
  <filters count="2">
    <filter>
      <type>name</type>
      <terms count="1">
        <term>Rebel Dawn</term>
      </terms>
      <inclusion>includes</inclusion>
    </filter>
    <filter>
      <type>underconstruction</type>
      <terms count="1">
        <term>1</term>
      </terms>
      <inclusion>excludes</inclusion>
    </filter>
  </filters>
  <entities count="1" start="1" total="1">
    <entity href="https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1001/">
      <uid>2:1001</uid>
      <entitytype>Ship</entitytype>
      <name>Rebel Dawn</name>
      <owner uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</owner>
      <pilot uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</pilot>
      <infotext/>
      <images>
        <small>/images//ships/7/main.png</small>
        <large>/images//ships/7/large.png</large>
        <customsmall/>
        <customlarge/>
      </images>
      <opento>Crewlist Only</opento>
      <protected>no</protected>
      <wrecked>no</wrecked>
      <hull max="1000">1000</hull>
      <shield max="800">800</shield>
      <ionic max="500">500</ionic>
      <location>
        <container uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</container>
        <sector uid="25:484" type="sector" href="https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/">Corellian</sector>
        <system uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</system>
        <planet uid="8:1001" type="planet" href="https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/">Corellia</planet>
        <city/>
        <coordinates>
          <galaxy x="70" y="-32"/>
          <system x="10" y="10"/>
          <surface/>
          <ground/>
        </coordinates>
      </location>
      <type uid="2:7" href="https://www.swcombine.com/ws/v2.0/types/ships/cr-90%20corvette/">CR-90 Corvette</type>
      <underconstruction>no</underconstruction>
      <tags>
        <tag/>
      </tags>
    </entity>
  </entities>
</swcapi>
multitype GET /ws/v2.0/inventory/kira%20vane/ships/owner/?filter_type[]=type&filter_value[type][]=2:7&filter_value[type][]=2:19&filter_inclusion[type]=includes
JSON
{
    "version": "2.0",
    "timestamp": 1767225600,
    "resource": "inventory_entities",
    "request": "/ws/v2.0/inventory/kira%20vane/ships/owner/?filter_type[]=type&filter_value[type][]=2:7&filter_value[type][]=2:19&filter_inclusion[type]=includes",
    "swcapi": {
        "filters": {
            "filter": [
                {
                    "type": "type",
                    "terms": {
                        "term": [
                            7,
                            19
                        ]
                    },
                    "inclusion": "includes"
                }
            ]
        },
        "entities": {
            "attributes": {
                "start": 1,
                "total": 2,
                "count": 2
            },
            "entity": [
                {
                    "attributes": {
                        "href": "https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1001/"
                    },
                    "value": {
                        "uid": "2:1001",
                        "entitytype": "Ship",
                        "name": "Rebel Dawn",
                        "owner": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "pilot": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "infotext": "",
                        "images": {
                            "small": "/images//ships/7/main.png",
                            "large": "/images//ships/7/large.png",
                            "customsmall": "",
                            "customlarge": ""
                        },
                        "opento": "Crewlist Only",
                        "protected": "no",
                        "wrecked": "no",
                        "hull": {
                            "attributes": {
                                "max": 1000
                            },
                            "value": 1000
                        },
                        "shield": {
                            "attributes": {
                                "max": 800
                            },
                            "value": 800
                        },
                        "ionic": {
                            "attributes": {
                                "max": 500
                            },
                            "value": 500
                        },
                        "location": {
                            "container": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "sector": {
                                "value": "Corellian",
                                "attributes": {
                                    "uid": "25:484",
                                    "type": "sector",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/"
                                }
                            },
                            "system": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "planet": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "8:1001",
                                    "type": "planet",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/"
                                }
                            },
                            "city": {},
                            "coordinates": {
                                "galaxy": {
                                    "attributes": {
                                        "x": 70,
                                        "y": -32
                                    }
                                },
                                "system": {
                                    "attributes": {
                                        "x": 10,
                                        "y": 10
                                    }
                                },
                                "surface": {
                                    "attributes": null
                                },
                                "ground": {
                                    "attributes": null
                                }
                            }
                        },
                        "type": {
                            "attributes": {
                                "uid": "2:7",
                                "href": "https://www.swcombine.com/ws/v2.0/types/ships/cr-90%20corvette/"
                            },
                            "value": "CR-90 Corvette"
                        },
                        "underconstruction": "no",
                        "tags": {
                            "tag": []
                        }
                    }
                },
                {
                    "attributes": {
                        "href": "https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1002/"
                    },
                    "value": {
                        "uid": "2:1002",
                        "entitytype": "Ship",
                        "name": "Blue Five",
                        "owner": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "infotext": "",
                        "images": {
                            "small": "/images//ships/19/main.jpg",
                            "large": "/images//ships/19/large.jpg",
                            "customsmall": "",
                            "customlarge": ""
                        },
                        "opento": "Crewlist Only",
                        "protected": "no",
                        "wrecked": "no",
                        "hull": {
                            "attributes": {
                                "max": 50
                            },
                            "value": 50
                        },
                        "shield": {
                            "attributes": {
                                "max": 50
                            },
                            "value": 50
                        },
                        "ionic": {
                            "attributes": {
                                "max": 15
                            },
                            "value": 15
                        },
                        "location": {
                            "container": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "sector": {
                                "value": "Corellian",
                                "attributes": {
                                    "uid": "25:484",
                                    "type": "sector",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/"
                                }
                            },
                            "system": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "planet": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "8:1001",
                                    "type": "planet",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/"
                                }
                            },
                            "city": {},
                            "coordinates": {
                                "galaxy": {
                                    "attributes": {
                                        "x": 70,
                                        "y": -32
                                    }
                                },
                                "system": {
                                    "attributes": {
                                        "x": 10,
                                        "y": 10
                                    }
                                },
                                "surface": {
                                    "attributes": null
                                },
                                "ground": {
                                    "attributes": null
                                }
                            }
                        },
                        "type": {
                            "attributes": {
                                "uid": "2:19",
                                "href": "https://www.swcombine.com/ws/v2.0/types/ships/rz-1%20a-wing%20interceptor/"
                            },
                            "value": "RZ-1 A-wing Interceptor"
                        },
                        "underconstruction": "no",
                        "tags": {
                            "tag": []
                        }
                    }
                }
            ]
        }
    }
}
XML
<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="inventory_entities" request="/ws/v2.0/inventory/kira%20vane/ships/owner/?filter_type[]=type&amp;filter_value[type][]=2:7&amp;filter_value[type][]=2:19&amp;filter_inclusion[type]=includes">
  <filters count="1">
    <filter>
      <type>type</type>
      <terms count="2">
        <term>7</term>
        <term>19</term>
      </terms>
      <inclusion>includes</inclusion>
    </filter>
  </filters>
  <entities count="2" start="1" total="2">
    <entity href="https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1001/">
      <uid>2:1001</uid>
      <entitytype>Ship</entitytype>
      <name>Rebel Dawn</name>
      <owner uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</owner>
      <pilot uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</pilot>
      <infotext/>
      <images>
        <small>/images//ships/7/main.png</small>
        <large>/images//ships/7/large.png</large>
        <customsmall/>
        <customlarge/>
      </images>
      <opento>Crewlist Only</opento>
      <protected>no</protected>
      <wrecked>no</wrecked>
      <hull max="1000">1000</hull>
      <shield max="800">800</shield>
      <ionic max="500">500</ionic>
      <location>
        <container uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</container>
        <sector uid="25:484" type="sector" href="https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/">Corellian</sector>
        <system uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</system>
        <planet uid="8:1001" type="planet" href="https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/">Corellia</planet>
        <city/>
        <coordinates>
          <galaxy x="70" y="-32"/>
          <system x="10" y="10"/>
          <surface/>
          <ground/>
        </coordinates>
      </location>
      <type uid="2:7" href="https://www.swcombine.com/ws/v2.0/types/ships/cr-90%20corvette/">CR-90 Corvette</type>
      <underconstruction>no</underconstruction>
      <tags>
        <tag/>
      </tags>
    </entity>
    <entity href="https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1002/">
      <uid>2:1002</uid>
      <entitytype>Ship</entitytype>
      <name>Blue Five</name>
      <owner uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</owner>
      <infotext/>
      <images>
        <small>/images//ships/19/main.jpg</small>
        <large>/images//ships/19/large.jpg</large>
        <customsmall/>
        <customlarge/>
      </images>
      <opento>Crewlist Only</opento>
      <protected>no</protected>
      <wrecked>no</wrecked>
      <hull max="50">50</hull>
      <shield max="50">50</shield>
      <ionic max="15">15</ionic>
      <location>
        <container uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</container>
        <sector uid="25:484" type="sector" href="https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/">Corellian</sector>
        <system uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</system>
        <planet uid="8:1001" type="planet" href="https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/">Corellia</planet>
        <city/>
        <coordinates>
          <galaxy x="70" y="-32"/>
          <system x="10" y="10"/>
          <surface/>
          <ground/>
        </coordinates>
      </location>
      <type uid="2:19" href="https://www.swcombine.com/ws/v2.0/types/ships/rz-1%20a-wing%20interceptor/">RZ-1 A-wing Interceptor</type>
      <underconstruction>no</underconstruction>
      <tags>
        <tag/>
      </tags>
    </entity>
  </entities>
</swcapi>


Property Details
URL: https://dev.swcombine.com/ws/v2.0/inventory/{uid}/{entity_type:ships|vehicles|stations|cities|facilities|planets|items|npcs|droids|creatures|materials}/{assign_type:owner|commander|pilot}[/]
Method: POST
Description: Gets a collection of entities in an inventory, with the filters given in the request body. Behaves as GET does, but the filters are not limited by the length of a URL
Pattern Description: uid (Mandatory): name or UID of the inventory viewer (Character or Faction)
entity_type (Mandatory): One-of: ships, vehicles, stations, cities, facilities, planets, items, npcs, droids, creatures, or materials
assign_type (Mandatory): One-of: owner, commander, or pilot
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 200, default 200). An invalid value is replaced by the default
Parameters: filters (string): The filters as a JSON array, for example [{"type":"type","value":["2:7","2:19"],"inclusion":"includes"}]. Each entry has a "type" (one of: class, city, name, planet, sector, system, type, underconstruction, opento, protected, infotext, wreck, owner, commander, pilot, id, powered, debt, deposit, cargocontaineritems, cargocontainerdroids, container, gender, working, level, race, tags), a "value" (a string or number, or an array of them to match any of several values, following the same rules as the GET method's filter_value) and an optional "inclusion" (includes or excludes, defaults to includes). An empty array applies no filtering. To filter on "None", give an array containing a single empty string as the value.
Requires Authentication: Yes
Permissions: personal_inv_cities_read: Read basic information about your cities
personal_inv_creatures_read: Read basic information about your creatures
personal_inv_droids_read: Read basic information about your droids
personal_inv_facilities_read: Read basic information about your facilities
personal_inv_items_read: Read basic information about your items
personal_inv_materials_read: Read basic information about your materials
personal_inv_npcs_read: Read basic information about your NPCs
personal_inv_planets_read: Read basic information about your planets
personal_inv_ships_read: Read basic information about your ships
personal_inv_stations_read: Read basic information about your space stations
personal_inv_vehicles_read: Read basic information about your vehicles
faction_inv_cities_read: Read basic information about your faction's cities
faction_inv_creatures_read: Read basic information about your faction's creatures
faction_inv_droids_read: Read basic information about your faction's droids
faction_inv_facilities_read: Read basic information about your faction's facilities
faction_inv_items_read: Read basic information about your faction's items
faction_inv_materials_read: Read basic information about your faction's materials
faction_inv_npcs_read: Read basic information about your faction's NPCs
faction_inv_planets_read: Read basic information about your faction's planets
faction_inv_ships_read: Read basic information about your faction's ships
faction_inv_stations_read: Read basic information about your faction's space stations
faction_inv_vehicles_read: Read basic information about your faction's vehicles
Returns: 200 OK: Returns a collection of all entities
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 character does not exist or you do not have authorisation to access this inventory
Examples:
multiple POST /ws/v2.0/inventory/kira%20vane/ships/owner/
Request parameters
Content-Type: application/x-www-form-urlencoded

filters=[{"type":"type","value":"2:7"},{"type":"protected","value":1,"inclusion":"excludes"}]
Request parameters as JSON
Content-Type: application/json

{
    "filters": "[{\"type\":\"type\",\"value\":\"2:7\"},{\"type\":\"protected\",\"value\":1,\"inclusion\":\"excludes\"}]"
}
JSON
{
    "version": "2.0",
    "timestamp": 1767225600,
    "resource": "inventory_entities_result",
    "request": "/ws/v2.0/inventory/kira%20vane/ships/owner/",
    "swcapi": {
        "filters": {
            "filter": [
                {
                    "type": "type",
                    "terms": {
                        "term": [
                            7
                        ]
                    },
                    "inclusion": "includes"
                },
                {
                    "type": "protected",
                    "terms": {
                        "term": [
                            "1"
                        ]
                    },
                    "inclusion": "excludes"
                }
            ]
        },
        "entities": {
            "attributes": {
                "start": 1,
                "total": 1,
                "count": 1
            },
            "entity": [
                {
                    "attributes": {
                        "href": "https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1001/"
                    },
                    "value": {
                        "uid": "2:1001",
                        "entitytype": "Ship",
                        "name": "Rebel Dawn",
                        "owner": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "pilot": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "infotext": "",
                        "images": {
                            "small": "/images//ships/7/main.png",
                            "large": "/images//ships/7/large.png",
                            "customsmall": "",
                            "customlarge": ""
                        },
                        "opento": "Crewlist Only",
                        "protected": "no",
                        "wrecked": "no",
                        "hull": {
                            "attributes": {
                                "max": 1000
                            },
                            "value": 1000
                        },
                        "shield": {
                            "attributes": {
                                "max": 800
                            },
                            "value": 800
                        },
                        "ionic": {
                            "attributes": {
                                "max": 500
                            },
                            "value": 500
                        },
                        "location": {
                            "container": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "sector": {
                                "value": "Corellian",
                                "attributes": {
                                    "uid": "25:484",
                                    "type": "sector",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/"
                                }
                            },
                            "system": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "planet": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "8:1001",
                                    "type": "planet",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/"
                                }
                            },
                            "city": {},
                            "coordinates": {
                                "galaxy": {
                                    "attributes": {
                                        "x": 70,
                                        "y": -32
                                    }
                                },
                                "system": {
                                    "attributes": {
                                        "x": 10,
                                        "y": 10
                                    }
                                },
                                "surface": {
                                    "attributes": null
                                },
                                "ground": {
                                    "attributes": null
                                }
                            }
                        },
                        "type": {
                            "attributes": {
                                "uid": "2:7",
                                "href": "https://www.swcombine.com/ws/v2.0/types/ships/cr-90%20corvette/"
                            },
                            "value": "CR-90 Corvette"
                        },
                        "underconstruction": "no",
                        "tags": {
                            "tag": []
                        }
                    }
                }
            ]
        }
    }
}
XML
<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="inventory_entities_result" request="/ws/v2.0/inventory/kira%20vane/ships/owner/">
  <filters count="2">
    <filter>
      <type>type</type>
      <terms count="1">
        <term>7</term>
      </terms>
      <inclusion>includes</inclusion>
    </filter>
    <filter>
      <type>protected</type>
      <terms count="1">
        <term>1</term>
      </terms>
      <inclusion>excludes</inclusion>
    </filter>
  </filters>
  <entities count="1" start="1" total="1">
    <entity href="https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1001/">
      <uid>2:1001</uid>
      <entitytype>Ship</entitytype>
      <name>Rebel Dawn</name>
      <owner uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</owner>
      <pilot uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</pilot>
      <infotext/>
      <images>
        <small>/images//ships/7/main.png</small>
        <large>/images//ships/7/large.png</large>
        <customsmall/>
        <customlarge/>
      </images>
      <opento>Crewlist Only</opento>
      <protected>no</protected>
      <wrecked>no</wrecked>
      <hull max="1000">1000</hull>
      <shield max="800">800</shield>
      <ionic max="500">500</ionic>
      <location>
        <container uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</container>
        <sector uid="25:484" type="sector" href="https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/">Corellian</sector>
        <system uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</system>
        <planet uid="8:1001" type="planet" href="https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/">Corellia</planet>
        <city/>
        <coordinates>
          <galaxy x="70" y="-32"/>
          <system x="10" y="10"/>
          <surface/>
          <ground/>
        </coordinates>
      </location>
      <type uid="2:7" href="https://www.swcombine.com/ws/v2.0/types/ships/cr-90%20corvette/">CR-90 Corvette</type>
      <underconstruction>no</underconstruction>
      <tags>
        <tag/>
      </tags>
    </entity>
  </entities>
</swcapi>
types POST /ws/v2.0/inventory/kira%20vane/ships/owner/
Request parameters
Content-Type: application/x-www-form-urlencoded

filters=[{"type":"type","value":["2:7","2:19"]}]
Request parameters as JSON
Content-Type: application/json

{
    "filters": "[{\"type\":\"type\",\"value\":[\"2:7\",\"2:19\"]}]"
}
JSON
{
    "version": "2.0",
    "timestamp": 1767225600,
    "resource": "inventory_entities_result",
    "request": "/ws/v2.0/inventory/kira%20vane/ships/owner/",
    "swcapi": {
        "filters": {
            "filter": [
                {
                    "type": "type",
                    "terms": {
                        "term": [
                            7,
                            19
                        ]
                    },
                    "inclusion": "includes"
                }
            ]
        },
        "entities": {
            "attributes": {
                "start": 1,
                "total": 2,
                "count": 2
            },
            "entity": [
                {
                    "attributes": {
                        "href": "https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1001/"
                    },
                    "value": {
                        "uid": "2:1001",
                        "entitytype": "Ship",
                        "name": "Rebel Dawn",
                        "owner": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "pilot": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "infotext": "",
                        "images": {
                            "small": "/images//ships/7/main.png",
                            "large": "/images//ships/7/large.png",
                            "customsmall": "",
                            "customlarge": ""
                        },
                        "opento": "Crewlist Only",
                        "protected": "no",
                        "wrecked": "no",
                        "hull": {
                            "attributes": {
                                "max": 1000
                            },
                            "value": 1000
                        },
                        "shield": {
                            "attributes": {
                                "max": 800
                            },
                            "value": 800
                        },
                        "ionic": {
                            "attributes": {
                                "max": 500
                            },
                            "value": 500
                        },
                        "location": {
                            "container": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "sector": {
                                "value": "Corellian",
                                "attributes": {
                                    "uid": "25:484",
                                    "type": "sector",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/"
                                }
                            },
                            "system": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "planet": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "8:1001",
                                    "type": "planet",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/"
                                }
                            },
                            "city": {},
                            "coordinates": {
                                "galaxy": {
                                    "attributes": {
                                        "x": 70,
                                        "y": -32
                                    }
                                },
                                "system": {
                                    "attributes": {
                                        "x": 10,
                                        "y": 10
                                    }
                                },
                                "surface": {
                                    "attributes": null
                                },
                                "ground": {
                                    "attributes": null
                                }
                            }
                        },
                        "type": {
                            "attributes": {
                                "uid": "2:7",
                                "href": "https://www.swcombine.com/ws/v2.0/types/ships/cr-90%20corvette/"
                            },
                            "value": "CR-90 Corvette"
                        },
                        "underconstruction": "no",
                        "tags": {
                            "tag": []
                        }
                    }
                },
                {
                    "attributes": {
                        "href": "https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1002/"
                    },
                    "value": {
                        "uid": "2:1002",
                        "entitytype": "Ship",
                        "name": "Blue Five",
                        "owner": {
                            "value": "Kira Vane",
                            "attributes": {
                                "uid": "1:1001",
                                "type": "character",
                                "href": "https://www.swcombine.com/ws/v2.0/character/kira%20vane/"
                            }
                        },
                        "infotext": "",
                        "images": {
                            "small": "/images//ships/19/main.jpg",
                            "large": "/images//ships/19/large.jpg",
                            "customsmall": "",
                            "customlarge": ""
                        },
                        "opento": "Crewlist Only",
                        "protected": "no",
                        "wrecked": "no",
                        "hull": {
                            "attributes": {
                                "max": 50
                            },
                            "value": 50
                        },
                        "shield": {
                            "attributes": {
                                "max": 50
                            },
                            "value": 50
                        },
                        "ionic": {
                            "attributes": {
                                "max": 15
                            },
                            "value": 15
                        },
                        "location": {
                            "container": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "sector": {
                                "value": "Corellian",
                                "attributes": {
                                    "uid": "25:484",
                                    "type": "sector",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/"
                                }
                            },
                            "system": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "9:1001",
                                    "type": "system",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/"
                                }
                            },
                            "planet": {
                                "value": "Corellia",
                                "attributes": {
                                    "uid": "8:1001",
                                    "type": "planet",
                                    "href": "https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/"
                                }
                            },
                            "city": {},
                            "coordinates": {
                                "galaxy": {
                                    "attributes": {
                                        "x": 70,
                                        "y": -32
                                    }
                                },
                                "system": {
                                    "attributes": {
                                        "x": 10,
                                        "y": 10
                                    }
                                },
                                "surface": {
                                    "attributes": null
                                },
                                "ground": {
                                    "attributes": null
                                }
                            }
                        },
                        "type": {
                            "attributes": {
                                "uid": "2:19",
                                "href": "https://www.swcombine.com/ws/v2.0/types/ships/rz-1%20a-wing%20interceptor/"
                            },
                            "value": "RZ-1 A-wing Interceptor"
                        },
                        "underconstruction": "no",
                        "tags": {
                            "tag": []
                        }
                    }
                }
            ]
        }
    }
}
XML
<?xml version="1.0" encoding="UTF-8"?>
<swcapi xmlns="https://www.swcombine.com/ws/swcapi-ns/" version="2.0" timestamp="1767225600" resource="inventory_entities_result" request="/ws/v2.0/inventory/kira%20vane/ships/owner/">
  <filters count="1">
    <filter>
      <type>type</type>
      <terms count="2">
        <term>7</term>
        <term>19</term>
      </terms>
      <inclusion>includes</inclusion>
    </filter>
  </filters>
  <entities count="2" start="1" total="2">
    <entity href="https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1001/">
      <uid>2:1001</uid>
      <entitytype>Ship</entitytype>
      <name>Rebel Dawn</name>
      <owner uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</owner>
      <pilot uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</pilot>
      <infotext/>
      <images>
        <small>/images//ships/7/main.png</small>
        <large>/images//ships/7/large.png</large>
        <customsmall/>
        <customlarge/>
      </images>
      <opento>Crewlist Only</opento>
      <protected>no</protected>
      <wrecked>no</wrecked>
      <hull max="1000">1000</hull>
      <shield max="800">800</shield>
      <ionic max="500">500</ionic>
      <location>
        <container uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</container>
        <sector uid="25:484" type="sector" href="https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/">Corellian</sector>
        <system uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</system>
        <planet uid="8:1001" type="planet" href="https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/">Corellia</planet>
        <city/>
        <coordinates>
          <galaxy x="70" y="-32"/>
          <system x="10" y="10"/>
          <surface/>
          <ground/>
        </coordinates>
      </location>
      <type uid="2:7" href="https://www.swcombine.com/ws/v2.0/types/ships/cr-90%20corvette/">CR-90 Corvette</type>
      <underconstruction>no</underconstruction>
      <tags>
        <tag/>
      </tags>
    </entity>
    <entity href="https://www.swcombine.com/ws/v2.0/inventory/ships/2%3A1002/">
      <uid>2:1002</uid>
      <entitytype>Ship</entitytype>
      <name>Blue Five</name>
      <owner uid="1:1001" type="character" href="https://www.swcombine.com/ws/v2.0/character/kira%20vane/">Kira Vane</owner>
      <infotext/>
      <images>
        <small>/images//ships/19/main.jpg</small>
        <large>/images//ships/19/large.jpg</large>
        <customsmall/>
        <customlarge/>
      </images>
      <opento>Crewlist Only</opento>
      <protected>no</protected>
      <wrecked>no</wrecked>
      <hull max="50">50</hull>
      <shield max="50">50</shield>
      <ionic max="15">15</ionic>
      <location>
        <container uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</container>
        <sector uid="25:484" type="sector" href="https://www.swcombine.com/ws/v2.0/galaxy/sectors/corellian/">Corellian</sector>
        <system uid="9:1001" type="system" href="https://www.swcombine.com/ws/v2.0/galaxy/systems/corellia/">Corellia</system>
        <planet uid="8:1001" type="planet" href="https://www.swcombine.com/ws/v2.0/galaxy/planets/corellia/">Corellia</planet>
        <city/>
        <coordinates>
          <galaxy x="70" y="-32"/>
          <system x="10" y="10"/>
          <surface/>
          <ground/>
        </coordinates>
      </location>
      <type uid="2:19" href="https://www.swcombine.com/ws/v2.0/types/ships/rz-1%20a-wing%20interceptor/">RZ-1 A-wing Interceptor</type>
      <underconstruction>no</underconstruction>
      <tags>
        <tag/>
      </tags>
    </entity>
  </entities>
</swcapi>