These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

What is Flag in fitting type?

Author
Mandor M Sawall
Whiskey Tango Zulu
#1 - 2017-04-10 08:11:21 UTC
I want to save a fitting through ESI.
I get errors that flag parameter is not valid or internal error.
What is "flag"?

The fitting i pull looks something like this
  {
    "fitting_id": 17386298,
    "name": "PVP 2013-05-18",
    "description": "",
    "ship_type_id": 24696,
    "items": [
      {
        "type_id": 2048,
        "flag": 11,
        "quantity": 1
      },
      {
        "type_id": 2183,
        "flag": 87,
        "quantity": 5
      },
      {
        "type_id": 3244,
        "flag": 22,
        "quantity": 1
      },
      {
        "type_id": 4027,
        "flag": 20,
        "quantity": 1
      },
      {
        "type_id": 4573,
        "flag": 14,
        "quantity": 1
      },
      {
        "type_id": 4833,
        "flag": 19,
        "quantity": 1
      },
      {
        "type_id": 5849,
        "flag": 15,
        "quantity": 1
      },
      {
        "type_id": 5849,
        "flag": 16,
        "quantity": 1
      },
      {
        "type_id": 6005,
        "flag": 21,
        "quantity": 1
      },
      {
        "type_id": 6923,
        "flag": 27,
        "quantity": 1
      },
      {
        "type_id": 6923,
        "flag": 28,
        "quantity": 1
      },
      {
        "type_id": 6923,
        "flag": 29,
        "quantity": 1
      },
      {
        "type_id": 6923,
        "flag": 30,
        "quantity": 1
      },
      {
        "type_id": 6923,
        "flag": 31,
        "quantity": 1
      },
      {
        "type_id": 6923,
        "flag": 32,
        "quantity": 1
      },
      {
        "type_id": 11269,
        "flag": 13,
        "quantity": 1
      },
      {
        "type_id": 11289,
        "flag": 5,
        "quantity": 3
      },
      {
        "type_id": 11325,
        "flag": 12,
        "quantity": 1
      },
      {
        "type_id": 16511,
        "flag": 33,
        "quantity": 1
      },
      {
        "type_id": 23097,
        "flag": 5,
        "quantity": 6
      },
      {
        "type_id": 23707,
        "flag": 87,
        "quantity": 3
      },
      {
        "type_id": 31360,
        "flag": 92,
        "quantity": 1
      },
      {
        "type_id": 31360,
        "flag": 93,
        "quantity": 1
      },
      {
        "type_id": 31360,
        "flag": 94,
        "quantity": 1
      },
      {
        "type_id": 32787,
        "flag": 87,
        "quantity": 2
      }
    ]
  }
Bloemkoolsaus
Deep Core Mining Inc.
Caldari State
#2 - 2017-04-10 10:37:59 UTC
Flag is the location of an item on the fit.

For exemple:
flag-id 11 = low-slot 1
flag-id 12 = low-slot 2
flag-id 87 = drone bay

You can find all flags in the invFlags.yaml from the SDE
https://developers.eveonline.com/resource/resources
Mandor M Sawall
Whiskey Tango Zulu
#3 - 2017-04-10 17:28:25 UTC
I got the sde, just didnt notice the invlags table... thanks, kind sir.