Dashboard Analytics/Audits Drill Down

The audits behind an audit KPI or chart

Changed on

A page of the latest audits (one per company and standard) shared with the company by its network — the ones the audit-compliance numbers count — each once. The id lists narrow the network like the dashboard's filter. auditTypeImpactAreaId / auditFindingUrgency list those with a finding in that impact area / of that urgency dated between startDate and endDate (the past 6 months without both); upcomingAudits those next planned between today and the end of next month; otherwise those next planned today or later. Days are read in the x-timezone header's timezone (UTC without it). Only the company itself or Retraced staff may read it.

post/api/dashboard-analytics/audits-metrics/drill-down/list

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/dashboard-analytics/audits-metrics/drill-down/list
  • Auth
    none declared

Request body

companyIdstring required
pageinteger
limitinteger
sort'auditStandardName' | 'auditedCompany' | 'auditDate' | 'nextPlannedAuditDate' | 'facilityScore'
order'asc' | 'desc' | 'ASC' | 'DESC'
supplierCompanyIdsstring[]
collaborationStatusIdsstring[]
countriesstring[]
facilityProcessesstring[]
auditTypeIdsstring[]
auditTypeImpactAreaIdstring
auditFindingUrgencystring
upcomingAuditsboolean

Response

Default Response

Changes

    • breaking

      the request property's minLength was increased from 0 to 1

    • breaking

      the request property type changed from string to no type

    • breaking

      the request property type changed from string to no type

    • 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

    • 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

    • breaking

      removed the required property // from the response with the status

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      added subschema #1 subschema #2 to the request property anyOf list

    • info

      the request property default value 15 was added

    • info

      the request property default value 1 was added

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      the response property // became required for the status

    • info

      the response property // became required for the status

    • info

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

    • info

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

    • 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

    • 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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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