# ESI sample data?

**URL:** <https://forums.eveonline.com/t/esi-sample-data/291490>\
**Category:** Third Party Developers\
**Tags:** esi\
**Created:** [January 23, 2021, 12:42pm UTC](https://forums.eveonline.com/t/esi-sample-data/291490 "2021-01-23T12:42:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Efirem](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/efirem/32/368933_2.png) [@Efirem](https://forums.eveonline.com/u/Efirem)\
**Post date:** [January 23, 2021, 12:42pm UTC](https://forums.eveonline.com/t/esi-sample-data/291490/1 "2021-01-23T12:42:44Z")

</div>

Hello!

I want to test queries to the `/corporations/{corporation_id}/structures/` endpoint. My problem is that it requires a token from a character with the Station\_Manager role and none of my chars has this role on TQ. I first though I would query the SiSi datasource (where I can easily set up a char with that role), but [it was removed one year ago](https://developers.eveonline.com/blog/article/removing-datasource-singularity).

So, is there any way to get sample (test) data for any endpoint?

I just need the JSON structure of the response (and for now, only that specific endpoint). I know the [Swagger](https://esi.evetech.net/ui/#/Corporation/get_corporations_corporation_id_structures) has a rather good description of the outgoing JSON, but sometime there are some specific details that are missing. Eg, I had a hard time finding out what the `$date-time` type was (a [POSIX timestamp](https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xbd_chap04.html#tag_21_04_16)?, an [RFC 7231 date string](https://tools.ietf.org/html/rfc7231#section-7.1.1.1)? turned out it is an [ISO 8601 string](https://www.iso.org/standard/70907.html)).

Regards,

---

<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:** [January 23, 2021, 3:02pm UTC](https://forums.eveonline.com/t/esi-sample-data/291490/2 "2021-01-23T15:02:35Z")

</div>

Your best bet is looking at the `Example Data` tab under the 200 response sections. Which yields:

```auto
[
  {
    "corporation_id": 667531913,
    "profile_id": 11237,
    "reinforce_hour": 22,
    "reinforce_weekday": 2,
    "state": "shield_vulnerable",
    "structure_id": 1021975535893,
    "system_id": 30004763,
    "type_id": 35833
  }
]

```

Then of course, as you pointed out, using the `Model` tab to get a more complete list of each property that could be returned. `date-time` are represented as like `"2016-10-25T14:46:00Z"` which i always took to be `RFC 3339`.

---

<div class="post-metadata">

**Author:** ![Efirem](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/efirem/32/368933_2.png) [@Efirem](https://forums.eveonline.com/u/Efirem)\
**Post date:** [January 23, 2021, 3:20pm UTC](https://forums.eveonline.com/t/esi-sample-data/291490/3 "2021-01-23T15:20:32Z")

</div>

Thank you very much! How could I miss that “Example Data” tab, just next to the model?

It’s a bit limited, but that’s a start. Thanks again.

Also you’re probably right about RFC 3339. I didn’t remember about that one. But since it defines a subset of ISO 8601 (a profile), as stated in [section 5.6](https://tools.ietf.org/html/rfc3339#section-5.6), I guess I was right too 🙂

Regards,

---

<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:** [April 23, 2021, 3:20pm UTC](https://forums.eveonline.com/t/esi-sample-data/291490/4 "2021-04-23T15:20:42Z")

</div>

Closed on April 23, 2021, 3:20pm UTC

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