Get Report
GET/api/v1/reports/:report_id
Get Report
Request​
Path Parameters
Responses​
- 200
- 400
- 401
- 422
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
Array [
]
]
Array [
]
Array [
Array [
Array [
Array [
]
]
]
]
data
object
Areas to improve
assessmentExecution
object
Information on the execution of the assessment
Is able to complete the case
Is able to reject the assessment
Is able to reopen the case
Is able to request a self-assessment
Is able to request a verification assessment
Due date of the assessment
Unique identifier of the assessment
Request date of the assessment
Start date of the assessment
Submit date of the assessment
assignedUsers
object[]
nullable
Information of the assigned user
Email of the assigned user
Firstname of the assigned user
Id of the assigned user
Lastname of the assigned user
assignee
object
Information of the organization
Unique identifier of the organization
Name of the organization
Type of the organization, e.g. RETAILER, FACTORY, PARTNER, etc.
Unique technical identifier of the organization
The date ended auditing
The date started auditing
auditors
object[]
nullable
List of auditor for this assessment
Id of the auditor
Email of the auditor
Name of the auditor
Phone number of the auditor
case
object
Case of the assessment
Due date of the case
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 identifier of the case
Status of the case, e.g. OPEN, REOPEN, CLOSED
Unique technical identifier of the case
Case index of the assessment representing the order of the assessments
confidentialNote
object
List of confidential notes
Description
The reason for which the report is declined
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
List of locations of the execution
Unique technical identifier of the assessment execution information
nextAssessment
object
Next follow up assessment
The date by which the next follow-up assessment should be submitted
The location where the next follow-up assessment will be conducted
The type of the next follow-up assessment
reason
object
Information on the reason of the assessment
Unique identifier
Name
requestee
object
Information of the organization who has received the assessment
Address of the organization who submitted the assessment
City of the organization who submitted the assessment
Country of the organization who submitted the assessment
Contact email of the organization who submitted the assessment
Unique identifier of the organization who submitted the assessment
Name of the organization who submitted the assessment
Province of the organization who submitted the assessment
Type of the organization who submitted the assessment
Unique technical identifier of the organization who submitted the assessment
Unique identifier of the source of the assessment execution
Status of the assessment
Type of the assessment
workflow
object
Information of the workflow
Unique identifier of the workflow
Name of the workflow
standard
object
Information of the standard of the workflow
Creation date of the standard
Unique identifier of the standard
Name of the standard
owner
object
Information of the owner of the standard
Unique identifier of the organization
Name of the organization
Type of the organization, e.g. RETAILER, FACTORY, PARTNER, etc.
Unique technical identifier of the organization
Type of the standard
The standard version of the report
capa
object
CAPA report information
The date by which the CAPA should be submitted by the requestee organization
Follow-up type of the CAPA
Unique identifier of the CAPA
Resolution date
List of root causes
Status of the CAPA
completionEvent
object
Information on the completion of the events
Unique identifier of an event
updatedByOrg
object
Information of the organization who last updated the event
Unique identifier of the organization
Name of the organization
Type of the organization, e.g. RETAILER, FACTORY, PARTNER, etc.
Unique technical identifier of the organization
updatedByUser
object
Information of the user who last updated the event
Email address of the user
First name of the user
Unique identifier of the user
Last name of the user
Updated date
Creation date of the report
Exception of the report
Expiration date set by the user or calculated using Validity Duration
Unique identifier of the report
Indicates whether the preview of the score is hidden
Indicates whether the score is hidden
Indicates whether this report is last in the case
Indicates whether the report is non-compliant
labels
object[]
nullable
Labels
Type of label assigned in the assignment/report/CAPA
Label assigned in the assignment/report/CAPA
Name of the report
Status of the report
stepExecutions
object[]
nullable
Information on the execution of the steps
Unique identifier of the assessment
Unique technical identifier
questionnaire
object
Information on the questionnaire
Unique identifier
Name
report
object
Information on the report
Creation date of the step
Unique identifier of the step
Indicates whether the score is hidden
Maximum score of the step
ratingLabel
object
Rating label
Unique identifier
Name
Score of the step
sections
object[]
nullable
List of sections
Unique identifier of the section
improvements
object[]
nullable
List of improvements of the section
Unique identifier of the answer of the improvement
Content of the improvement
customTags
object[]
nullable
List of custom tags of the improvement
Unique identifier
Name
Unique identifier of the improvement
Level of the section
Maximum score as an float
Name of the section
Unique identifier of the parent of the section
Path of the section
Score of the section as an float
Unique technical identifier of the step
step
object
Information on the step
Unique identifier of the step
Name of the step
Order of the step
Type of the report
Update date of the report
{
"data": {
"areaToImprove": 1,
"assessmentExecution": {
"ableToCompleteCase": "true",
"ableToReject": "false",
"ableToReopenCase": "false",
"ableToRequestAssessment": "false",
"ableToRequestVerification": "false",
"assessmentDueDate": "2021-06-27T06:04:19+00:00",
"assessmentId": "12313-2",
"assessmentRequestDate": "2021-06-23T06:06:19.116000+00:00",
"assessmentStartDate": "2021-06-23T06:06:35.880000+00:00",
"assessmentSubmitDate": "2021-06-27T09:35:40.899000+00:00",
"assignedUsers": [
{
"email": "[email protected]",
"firstName": "John",
"id": "abc123",
"lastName": "Doe"
}
],
"assignee": {
"id": "abc67433-c8d8-4779-a0f1-3f1490e2dde9",
"name": "Acme Corp",
"type": "RETAILER",
"uid": "V123"
},
"auditEndDate": "2022-02-24",
"auditStartDate": "2022-02-24",
"auditors": [
{
"auditorId": "abc123",
"email": "[email protected]",
"name": "John Doe",
"phoneNumber": "0123456789"
}
],
"case": {
"dueDate": "2021-05-31T10:06:39+00:00",
"history": {
"comment": "Updated validity duration",
"reasons": [
"string"
],
"updatedDate": "2021-05-31T10:06:39+00:00",
"updatedValidityDuration": "1 Month"
},
"id": "abc1eab1-5163-4b52-861e-048de01be509",
"status": "OPEN",
"uid": "991072"
},
"caseIndex": 2,
"confidentialNote": {
"description": "string"
},
"declineReasons": [
"string"
],
"escalations": [
{
"createdDate": "2024-09-26T07:09:45.557Z",
"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.557Z",
"status": "string"
}
],
"executionLocations": "Factory Visit",
"id": "4d9fc6cc-18d9-466c-922c-259843651506",
"nextAssessment": {
"assessmentDueDate": "2021-05-31T10:06:39+00:00",
"assessmentLocation": "string",
"followUpType": "string"
},
"reason": {
"id": "string",
"name": "string"
},
"requestee": {
"address": "5 Tao Bao Road",
"city": "Taizhou",
"country": "CN",
"email": "[email protected]",
"id": "13440bd6-2915-495f-9b34-796fa80e3feb",
"name": "Lex Corp",
"province": "Zhejiang",
"type": "FACTORY",
"uid": "F123596"
},
"sourceAssessmentExecId": "84e969e2-d5a0-4514-9ce2-25ec898ec409",
"status": "DONE",
"type": "Verification Assessment",
"workflow": {
"id": "a96104b2-9e16-4438-b7be-45cc4a51f066",
"name": "QAFA Workflow",
"standard": {
"createdDate": "2021-06-27T09:35:40.899000+00:00",
"id": "2d42fee0-f9df-4469-8a13-39032f1d1d37",
"name": "Quality Assurance Factory Assessment",
"owner": {
"id": "abc67433-c8d8-4779-a0f1-3f1490e2dde9",
"name": "Acme Corp",
"type": "RETAILER",
"uid": "V123"
},
"type": "PRODUCTION",
"version": 1.23
}
}
},
"capa": {
"dueDate": "2021-05-31T10:06:39+00:00",
"followUpType": "",
"id": "1235330e-b74b-4be6-8d8a-cb0560effc11",
"resolutionDate": "2024-09-26T07:09:45.558Z",
"rootCauses": [
"string"
],
"status": "NEW"
},
"completionEvent": {
"id": "123299f1-b5de-4556-823c-75c9efa042a6",
"updatedByOrg": {
"id": "abc67433-c8d8-4779-a0f1-3f1490e2dde9",
"name": "Acme Corp",
"type": "RETAILER",
"uid": "V123"
},
"updatedByUser": {
"email": "[email protected]",
"firstName": "John",
"id": "cc94fc4e-dcbe-44a5-863e-3255281e02ca",
"lastName": "Doe"
},
"updatedDate": "2021-06-27T09:35:40.899000+00:00"
},
"createdDate": "2021-06-24T15:33:23.461000+00:00",
"exception": "string",
"expirationDate": "2021-06-02T05:28:49.303000+00:00",
"id": "123bdb6d-9037-41a3-b0b5-42bdd30a8423",
"isHidePreview": true,
"isHideScore": true,
"isLastInCase": true,
"isNonCompliant": true,
"labels": [
{
"label": "string",
"value": "string"
}
],
"reportName": "QAFA123",
"status": "Verification Requested",
"stepExecutions": [
{
"assessmentExeId": "4d9fc6cc-18d9-466c-922c-259843651506",
"id": "1232ef21-2ed2-47c2-b969-b308f9e8edb3",
"questionnaire": {
"id": "string",
"name": "string"
},
"report": {
"createdDate": "2021-06-27T09:35:21.380000+00:00",
"id": "1239c6ab-55ad-47a2-847d-2973ed4b00aa",
"isHideScore": "false",
"maxScore": 135,
"ratingLabel": {
"id": "string",
"name": "string"
},
"score": 72,
"sections": [
{
"id": "123b8df5-6174-4b88-abb7-74b183ec1e70",
"improvements": [
{
"answerId": "12372c66-f8ec-40c8-a0c7-355f6205c81e",
"content": "Is the facility clean and organized?",
"customTags": [
{
"id": "string",
"name": "string"
}
],
"id": "123df8c5-6b69-4ae2-9cb8-f94fff3ce1f2"
}
],
"level": 0,
"maxScore": 7.5,
"name": "Manufacturing Control Plan",
"parentId": "123f99a2-b857-4b9c-986d-54a224cad9ec",
"path": "123f99a2-b857-4b9c-986d-54a224cad9ec",
"score": 6
}
],
"stepExeId": "13ccab58-b11f-486b-9dc9-05ced81729d8"
},
"step": {
"id": "66db47a0-2ca8-463a-9ac1-6c8d7830ee74",
"name": "Overview Instructions",
"order": 0
}
}
],
"type": "internal",
"updatedDate": "2021-06-24T17:34:25.690000+00:00"
}
}
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"
}