corporations

Batch corporations statistics

Changed on

Resolve stats for up to 100 corporations in a single call. Prefer this over looping the single-corporation endpoint.

post/corporations/stats

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/corporations/stats
  • Auth: none declared

Request body

fromstring date

Start of the window, for type=range.

idsinteger[] required

Entity IDs to resolve, at most 100 per request.

tostring date

End of the window, for type=range.

type'alltime' | 'weekly' | 'range'

Aggregation period. Falls back to the type query parameter, then alltime.

Response

OK

$schemastring uri required

A URL to the JSON Schema for this response.

periodstring required

Changes

    • breaking

      the request property became not nullable

    • breaking

      removed the enum value custom of the request property

    • breaking

      removed the enum value monthly of the request property

    • info

      added the new range enum value to the request property

    • breaking

      added required request body