List reports
GET/api/v1/reports
List Reports
Request
Query Parameters
Possible values: [Self Assessment
, Verification Assessment
]
Type of the assessment between "Self Assessment" or "Verification Assessment"
Possible values: [New
, Verification Requested
, Declined
, Case Completed
, Assessment Canceled
]
Status of the reports
Earliest date of the report date range
From the date reports are updated
Possible values: >= 1
and <= 10
Default value: 10
Limit result of list
To the date reports are updated
Latest date of the report date range
Default value: report_generate_date:desc
Order used to sort the reports whether ascending or descending
Default value: 0
Responses
- 200
- 400
- 401
- 422
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
Array [
]
]
data
object[]
nullable
Report data
assessment
object
Due date of assessment
Unique identifier
Unique technical identifier
Type, e.g. 'Self-Assessment', 'Verification Assessment'
The business areas involved in the report
capa
object
Unique identifier
Name
case
object
history
object
History of the case
Comment of the update
Reasons set by user for the case history update
Updated data of the case
Validity Duration set by user or calculated using Expiration Date
Unique technical identifier
Unique identifier
Completed date of the case
The country code of the organization being evaluated or audited, in standard ISO 3166-1 Alpha-2 code, e.g. CN for China
Creation date of the report
The list of department numbers involved in the report
escalations
object[]
nullable
List of escalations of the assessment
Date when the Escalation was created
escalatedBy
object
Information of the user
Email address of the user
First name of the user
Unique identifier of the user
Last name of the user
escalatedTo
object[]
nullable
The user who receives the escalation
Email address of the user
First name of the user
Unique identifier of the user
Last name of the user
Escalation note
resolvedByUser
object
Information of the user
Email address of the user
First name of the user
Unique identifier of the user
Last name of the user
Resolution date of the escalation
Status of the escalation
Rating exception”
The locations of the execution, e.g. 'Desktop Review', 'Factory Visit', 'Scheme Onsite', 'Target Onsite'
executor
object
Name
Unique identifier
Expiration date set by the user or calculated using Validity Duration
Unique technical identifier of the report
labels
object[]
Labels
Type of label assigned in the assignment/report/CAPA
Label assigned in the assignment/report/CAPA
The name of the office being evaluated or audited
The list of product lines involved in the report
The province of the organization being evaluated or audited
Rating, e.g. 'Acceptable for Production', 'Acceptable', 'Auto-Fail', 'Critical', 'Factory at Risk', 'Failed Out of Tolerance', 'Needs Improvement', 'Non Compliant', 'Not Acceptable', 'Not Acceptable/Invalid', 'Outstanding', 'Unknown', 'Zero Tolerance'
reason
object
Unique identifier
Name
The date the case was reopen
Declined date of the report
Generation date of the report
Name of the report
requestee
object
Contact email of the organization who submitted the assessment
Name
Unique identifier
requester
object
Name
Unique identifier
Score of the report
Score in percentage of the report
standard
object
Unique identifier
Name
Standard Version
The status of the report
The total available capacity in units
Type of report, e.g. 'internal', 'external'
Updated date of the report
workflow
object
Unique identifier
Name
Possible values: >= 1
and <= 10
Default value: 10
Limit result of list
Default value: 0
Number of items are skipped
{
"data": [
{
"assessment": {
"assessmentDueDate": "2021-06-02T05:28:49.303000+00:00",
"assessmentId": "762546-1",
"id": "7d100d4b-80c4-4bb7-9005-1793c3c8dff7",
"type": "Verification Assessment"
},
"businessAreas": "[Apparel & Accessories]",
"capa": {
"id": "string",
"name": "string"
},
"case": {
"history": {
"comment": "Updated validity duration",
"reasons": [
"string"
],
"updatedDate": "2021-05-31T10:06:39+00:00",
"updatedValidityDuration": "1 Month"
},
"id": "string",
"uid": "string"
},
"completeCaseDate": "2021-06-02T05:28:49.303000+00:00",
"country": "CN",
"createdDate": "2021-06-02T05:28:49.303000+00:00",
"departmentNumbers": "[017]",
"escalations": [
{
"createdDate": "2024-09-26T07:09:45.516Z",
"escalatedBy": {
"email": "[email protected]",
"firstName": "John",
"id": "cc94fc4e-dcbe-44a5-863e-3255281e02ca",
"lastName": "Doe"
},
"escalatedTo": [
{
"email": "[email protected]",
"firstName": "John",
"id": "cc94fc4e-dcbe-44a5-863e-3255281e02ca",
"lastName": "Doe"
}
],
"escalationNote": "string",
"resolvedByUser": {
"email": "[email protected]",
"firstName": "John",
"id": "cc94fc4e-dcbe-44a5-863e-3255281e02ca",
"lastName": "Doe"
},
"resolvedDate": "2024-09-26T07:09:45.517Z",
"status": "string"
}
],
"exception": "Non Compliant - Exception",
"executionLocations": "[Desktop Review]",
"executor": {
"name": "string",
"uid": "string"
},
"expirationDate": "2021-06-02T05:28:49.303000+00:00",
"id": "a32ec460-c327-4d3d-a264-a666c559ccef",
"labels": [
{
"label": "string",
"value": "string"
}
],
"office": "Acme China",
"productLines": "[PATIO & OUTDOOR DECOR]",
"province": "Jiangsu",
"rating": "Non Compliant",
"reason": {
"id": "string",
"name": "string"
},
"reopenCaseDate": "2021-06-02T05:28:49.303000+00:00",
"reportDeclineDate": "2021-06-02T05:28:49.303000+00:00",
"reportGenerateDate": "2021-06-02T05:28:49.303000+00:00",
"reportName": "F_TFC_QAFA_13186_Ver_25092019\"",
"requestee": {
"email": "[email protected]",
"name": "string",
"uid": "string"
},
"requester": {
"name": "string",
"uid": "string"
},
"score": "44/130",
"scoreInPercentage": "33.85%",
"standard": {
"id": "string",
"name": "string",
"version": "string"
},
"status": "New",
"totalAvailableCapacityInUnits": 8,
"type": "internal",
"updatedDate": "2021-06-02T05:28:49.303000+00:00",
"workflow": {
"id": "string",
"name": "string"
}
}
],
"limit": 10,
"offset": 0,
"total": 0
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"message": "Cannot retrieve session data because of expired token"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"errors": {
"type": [
"Input type is not valid"
]
},
"message": "Validation error"
}
Internal Error
- application/json
- Schema
- Example (from schema)
Schema
{
"errorCode": "Generic",
"errors": {
"system": [
"Internal error detail message"
]
},
"message": "Internal server error"
}