Receive ExternalRequestApi(GET)
Get all info about a part by part_id if the main process chain is finished analyzed or return Http404
Response Data
Empty, if part_id is not passed
{
analysis_finished=true,
analysis_report: {
see Part.GET
},
}
{
analysis_finished=false,
analysis_report: null,
}
Errors
Precondition | Status code | Error message |
part_id is valid | 422 | Invalid user input. |
User is manager of the owners organization or owner of part | 403 | Access forbidden. |
Usage
# GET "https://platform.3dspark.de/api/v1/analysisResult/6ba40dc05533401caa9f47f014efd1f8/"
this.axiosInstance
.get("/api/v1/analysisResult/6ba40dc05533401caa9f47f014efd1f8/")
.then((response) => {
console.log(response.data);
})
Receive ExternalRequestApi(GET) (simplified)
Get all info about a part by part_id if the main process chain is finished analyzed or return Http404
Response Data
Empty, if part_id is not passed
{
analysis_finished=true,
analysis_report: {
'part_id': 6ba40dc05533401caa9f47f014efd1f8,
'bb_x': 10,
'bb_y': 2.5,
'bb_z': 8.2,
'part_vol': 105.322,
'part_srf_area': 65.4,
'cost_pp': 205.4,
'thickness': 0.9,
'gap_size': 0.2,
'fits_mac': true,
'market_price_pp': 86.7
},
}
{
analysis_finished=false,
analysis_report: null,
}
Errors
Precondition | Status code | Error message |
part_id is valid | 422 | Invalid user input. |
User is manager of the owners organization or owner of part | 403 | Access forbidden. |
Usage
# GET "https://platform.3dspark.de/api/v1/analysisResult/simplified/6ba40dc05533401caa9f47f014efd1f8/"
this.axiosInstance
.get("/api/v1/analysisResult/simplified/6ba40dc05533401caa9f47f014efd1f8/")
.then((response) => {
console.log(response.data);
})