# Custom Offices - location?

**URL:** <https://forums.eveonline.com/t/custom-offices-location/228407>\
**Category:** Third Party Developers\
**Created:** [March 28, 2020, 8:39pm UTC](https://forums.eveonline.com/t/custom-offices-location/228407 "2020-03-28T20:39:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rtg\_Quack](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rtg_quack/32/259589_2.png) [@Rtg\_Quack](https://forums.eveonline.com/u/Rtg_Quack)\
**Post date:** [March 28, 2020, 8:39pm UTC](https://forums.eveonline.com/t/custom-offices-location/228407/1 "2020-03-28T20:39:50Z")

</div>

The route `/corporations/{corporation_id}/customs_offices/` gives me a list of all customs offices a corporation owns. I also get the `system_id` as well an `office_id`.

But I wonder how to gather the information about the planet the custom office belongs to.

---

<div class="post-metadata">

**Author:** ![Blacksmoke16](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/blacksmoke16/32/376589_2.png) [@Blacksmoke16](https://forums.eveonline.com/u/Blacksmoke16)\
**Post date:** [March 28, 2020, 9:27pm UTC](https://forums.eveonline.com/t/custom-offices-location/228407/2 "2020-03-28T21:27:37Z")

</div>

See [https://github.com/esi/esi-issues/issues/1050](https://github.com/esi/esi-issues/issues/1050).

---

<div class="post-metadata">

**Author:** ![Rtg\_Quack](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/rtg_quack/32/259589_2.png) [@Rtg\_Quack](https://forums.eveonline.com/u/Rtg_Quack)\
**Post date:** [March 29, 2020, 6:08pm UTC](https://forums.eveonline.com/t/custom-offices-location/228407/3 "2020-03-29T18:08:23Z")

</div>

Let me summarize the solution:  
`/corporations/{corporation_id}/customs_offices/`  
gives you a `office_id`

You may get the Custom Office Name and Location as a string with  
`/corporations/{corporation_id}/assets/names/`  
you’ll get a response like  
`"item_id": 1032123456789,`  
`"name": "Customs Office (Jita IV)"`  
With a regex or string functions it’s now easy to extract the location and to resolve the location\_id.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [June 27, 2020, 6:08pm UTC](https://forums.eveonline.com/t/custom-offices-location/228407/4 "2020-06-27T18:08:25Z")

</div>

Closed on June 27, 2020, 6:08pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
