esi-issues icon indicating copy to clipboard operation
esi-issues copied to clipboard

Corporation Contract 'availability' is always 'personal'

Open timthedevguy opened this issue 3 months ago • 0 comments

Bug

When requesting contracts via the Corporation Contracts endpoint I also get all contracts available to the Alliance, but these contracts still have availability set to 'personal' and not 'alliance' which makes it harder to filter out the contracts I don't care about.

Request

Be sure to include the HTTP method, path (including version), and any relevant parameters. Please do not include auth tokens. E.g.:

GET https://esi.evetech.net/corporations/{corporation_id}/contracts

Response

Status Code

200

Headers

Headers aren't really relavent to the issue

Body

Please provide the response body, feel free to scrub any opsec details you wish. E.g.:

Contract json with an availability of 'personal' no matter the status of the real contract in game

Expected

Please provide either the expected return code, correct response body, header value, or some combination thereof. E.g.:

200 but with the availability as 'Alliance' and not 'personal'

{
   "acceptor_id":0,
   "assignee_id":0,
   "availability":"personal",
   "collateral":0.0,
   "contract_id":222413383,
   "date_accepted":"2025-09-14T19:32:04Z",
   "date_completed":"2025-09-14T19:32:04Z",
   "date_expired":"2025-10-11T00:40:29Z",
   "date_issued":"2025-09-13T00:40:29Z",
   "days_to_complete":0,
   "end_location_id":0,
   "for_corporation":false,
   "issuer_corporation_id":0,
   "issuer_id":0,
   "price":50000000.0,
   "reward":0.0,
   "start_location_id":0,
   "status":"finished",
   "title":"Tackle Harpy",
   "type":"item_exchange",
   "volume":16500.0
}

Checklist

Check all boxes that apply to this issue:

  • [x] Bug description is provided
  • [x] Request path is provided
  • [x] Response status code is provided
  • [ ] Response headers are provided
  • [x] Response body is provided
  • [x] Expected response is provided

timthedevguy avatar Oct 13 '25 14:10 timthedevguy