Administration/Companies

List credit transactions for a company

Changed on

Retrieve paginated list of credit transactions for a company (admin only)

get/api/admin/companies/{id}/credits

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/admin/companies/{id}/credits
  • Auth
    none declared

Path parameters

idstring required

Query parameters

pageinteger
countinteger
sortstring

Response

Default Response

Changes

    • breaking

      for the path request parameter id, the minLength was increased from 0 to 1

    • breaking

      for the query request parameter page, default value 0 was added

    • breaking

      for the query request parameter sort, default value created_at was removed

    • breaking

      removed the enum value amount from the query request parameter sort

    • breaking

      removed the enum value created_at from the query request parameter sort

    • breaking

      removed the enum value type from the query request parameter sort

    • breaking

      added the pattern ^[a-zA-Z]+:(ASC|DESC|asc|desc)$ to the query request parameter sort

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • warning

      deleted the query request parameter limit

    • warning

      deleted the query request parameter order

    • info

      added the new optional query request parameter count

    • info

      for the query request parameter page, the min was decreased from 1.00 to 0.00

    • info

      response property data/items/analysisId list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/balanceAfter list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/balanceBefore list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/description list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property data/items/userEmail list-of-types was narrowed by removing types null from media type application/json of response 200