Skip to main content
POST
/
dct
DCT - Get Module CSV Data
curl --request POST \
  --url https://api-v2.production.higg.org/api/v1/modulecsv/dct \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-developer-request-token: <api-key>' \
  --data '
{
  "from": 123,
  "size": 123,
  "oarIds": [
    "<string>"
  ],
  "assessmentIds": [
    "<string>"
  ],
  "accountIds": [
    "<string>"
  ],
  "accountSacIds": [
    "<string>"
  ],
  "version": "fem2017",
  "status": [
    "NS"
  ],
  "verified": true,
  "include": [
    "<string>"
  ],
  "lastUpdated": 123,
  "lastActivityDate": 123,
  "lastStatusChange": 123,
  "lastASCStatusDate": 123,
  "greaterThanYear": 123,
  "cafVersion": "1.7",
  "dctVersion": "<string>",
  "filters": [
    {
      "field": "<string>",
      "operator": "<string>",
      "value": {}
    }
  ],
  "nextPage": "<string>",
  "facilityPosted": true,
  "sipfacilitytype": [
    "<string>"
  ],
  "sort": [
    {
      "field": "<string>",
      "value": "asc"
    }
  ],
  "verificationPosted": 123,
  "rfi_pid": "fem2017",
  "wildcardSearch": {
    "sacId": "<string>",
    "accountName": "<string>",
    "oarId": "<string>",
    "tags": "<string>",
    "accountId": "<string>",
    "customId": "<string>",
    "ffcId": "<string>"
  },
  "reportingPeriodStart": 123,
  "reportingPeriodEnd": 123,
  "isBaseMaterialFilter": true
}
'
Retrieves Data Collection Tool (DCT) assessment data as a CSV stream. This endpoint allows you to perform bulk exports of facility data based on various filters including account IDs, status, and reporting periods.

Request body properties

An array of assessment statuses to query for. Common values include:
  • ASI: Assessment Submitted - Incomplete
  • ASC: Assessment Submitted - Complete
  • NS: Not Started
  • VRP: Verification Request Pending
Filter by a list of Worldly account IDs or SAC (Sustainable Apparel Coalition) facility IDs to limit the export to specific facilities.
Filter assessments by their reporting period. Provide Unix timestamps.
Filter for records that have changed status or been updated since the provided timestamp. Timestamps must be in Unix time (milliseconds).
The version of the Converged Assessment Framework (CAF) to include in the export (for example, 1.7, 1.6).
Boolean filter for verified (true) or unverified (false) assessments.

Implementation details

  • The response is a CSV data stream.
  • Large requests may take significant time to process; use filters to limit the result set.
  • The lastStatusChange and lastUpdated timestamps must be in Unix time in milliseconds.
  • The reportingPeriodStart and reportingPeriodEnd timestamps must be Unix timestamps.
Retrieving large volumes of assessment data without filters can impact performance. Use accountIds or lastUpdated filters to keep payloads manageable.

Limit bulk CSV data by assessment status and timestamp of last status change

Authorizations

x-api-key
string
header
required
x-developer-request-token
string
header
required

Body

application/json
from
number<double> | null
size
number<double> | null
oarIds
string[] | null
assessmentIds
string[] | null
accountIds
string[] | null
accountSacIds
string[] | null
version
enum<string>

This interface was referenced by Exports's JSON-Schema via the definition "assessmentRfiPid".

Available options:
fem2017,
fem2018,
fem2019,
fem2020,
fem2021,
fem2022,
fem2023,
fem2024,
fem2025,
fslm,
brm2019,
brm2020,
brm2021,
brm2022,
brm2023,
brm2024,
brm2025,
dct,
one2022,
ffc
status
enum<string>[] | null

This interface was referenced by Exports's JSON-Schema via the definition "assessmentStatus".

Available options:
NS,
ASI,
ASC,
VRP,
VRQ,
VRE,
VRC,
VRD,
VRF,
VRI,
ASD
verified
boolean | null
include
string[] | null
lastUpdated
number<double> | null
lastActivityDate
number<double> | null
lastStatusChange
number<double> | null
lastASCStatusDate
number<double> | null
greaterThanYear
number<double> | null
cafVersion
enum<string>
Available options:
1.7,
1.6,
1.5,
1.4,
1.3
dctVersion
string | null
filters
object[] | null
nextPage
string | null
facilityPosted
boolean | null
sipfacilitytype
string[] | null
sort
object[] | null
verificationPosted
number<double> | null
rfi_pid
enum<string>

This interface was referenced by Exports's JSON-Schema via the definition "assessmentRfiPid".

Available options:
fem2017,
fem2018,
fem2019,
fem2020,
fem2021,
fem2022,
fem2023,
fem2024,
fem2025,
fslm,
brm2019,
brm2020,
brm2021,
brm2022,
brm2023,
brm2024,
brm2025,
dct,
one2022,
ffc
wildcardSearch
object
reportingPeriodStart
number<double> | null
reportingPeriodEnd
number<double> | null
isBaseMaterialFilter
boolean | null

Response

204

No content