I am trying to figure out where in the SDE I can find the Mission Type that an Agent can give. (Security, Distribution, Mining, etc)
Using the SDE:
- I find the Agents in FSD/Agents.yaml
- The Agent Type is found in one of the Fuzzworks tables, though I don’t know where it comes from. (Basic, Epic Arc, etc)
- The location is from BSD/staStations
I have yet to find the mission types for those agents.
Skadoos
(Skadoos)
2
It’s the divisionID
attribute of the agent.
$ curl https://sde.jita.space/latest/characters/agents/3008499 --silent | python3 -m json.tool
{
"agentTypeID": 2,
"corporationID": 1000002,
"divisionID": 22,
"isLocator": false,
"level": 1,
"locationID": 60000205,
"characterID": 3008499
}
$ curl https://sde.jita.space/latest/corporations/npcCorporationDivisions/22 --silent | python3 -m json.tool --no-ensure-ascii
{
"description": "New distribution division",
"internalName": "Distribution",
"leaderTypeNameID": {
"de": "Vertriebsleiter",
"en": "Distribution Manager",
"es": "Gerente de reparto",
"fr": "Responsable de la distribution",
"ja": "流通管理者",
"ko": "보급 관리자",
"ru": "Начальник отдела сбыта",
"zh": "分销经理"
},
"nameID": {
"de": "Vertrieb",
"en": "Distribution",
"es": "Distribución",
"fr": "Distribution",
"ja": "流通",
"ko": "보급",
"ru": "Отдел сбыта",
"zh": "物流"
},
"npcCorporationDivisionID": 22
}
TYVM
For transparency, I had a cut/paste issue with my Agent Import that hid my issue. I found it, re-imported agents.yaml, and now have proper values.