curl --request POST \
--url https://api-v2.production.higg.org/api/v1/moduledata/dct \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <<apiKey>>'
--header 'x-developer-request-token: <<apiKey>>'
-d '{
"reportingPeriodStart": 1704096000,
"reportingPeriodEnd": 1711954800,
"from": 0,
"size": 10
}'
{
"from": 0,
"size": 1,
"total": 1,
"assessments": [
{
"id": "dctsurvey:64775c17-fb48-444c-b9d4-fcb4ca9ecb0e",
"statusHistory": {
"NS": "2024-02-19T22:01:43.649Z",
"ASI": "2024-03-13T05:07:52.383Z",
"ASC": "2024-03-13T05:08:29.095Z",
"VRP": "",
"VRQ": "",
"VRE": "",
"VRC": "",
"VRF": "",
"VRD": "",
"VRI": "",
"ASD": ""
},
"status": "ASC",
"version": "dct",
"accountId": "651191a1137c0f000c73ac69",
"accountName": "Example Facility",
"sacId": "136929",
"country": "",
"selfPosted": true,
"verifiedPosted": false,
"verified": false,
"createdOn": 1708380103649,
"lastUpdated": 1710306509095,
"location": {
"address": "Walthamstow, London, UK",
"vicinity": "",
"country": "",
"placeid": "ChIJcUWHieYddkgRSKyvPI77v98",
"lat": 51.5901769,
"long": -0.0173437
},
"oarId": "",
"taxId": "",
"socialCreditId": "",
"customId": "",
"parentCompanyId": "",
"parentCompanyName": "",
"parentCompanySacId": "",
"statusNotes": "",
"verifierBodyName": "",
"factorydataname": "Jan 2024",
"dctVersion": "2.0.0"
}
]
}
Set your endpoint
Use the DCT moduledata endpoint for factory data.
--url https://api-v2.production.higg.org/api/v1/moduledata/dct \
Include your authorization headers
Set the request headers including content type and authentication:
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <<apiKey>>'
--header 'x-developer-request-token: <<apiKey>>'

