GIS Changes
Introduction
Verify
{
"carat_weight": 0.160,
"shape_group": "Princess"
}{
"status": "success",
"is_locked": true | false
}{
"status": "failure",
"data": {
"carat_weight": {
"matched": false,
"known_value": "0.160",
"given_value": "2.010",
"tolerance": "0.020"
},
"shape_group": {
"matched": true,
"known_value": "Princess",
"given_value": "Princess"
}
}
}Validate
{
"shape_group": "Cushion",
"estimated_weight_crt": 0.88,
"girdle_avg_mm": 0.14,
"table_avg_mm": 0.015,
"total_depth_mm": 0.006,
"crown_angle_deg": 0.005,
"pavillion_angle_deg": 0.045
}{
"diamond_id": "kzsrfx4dxupa7a8uyn15wund",
"request_id": "un33utr58f8zm6twyl6eaqym",
"status_url": "https://api.gis.uat.tracr.com/v2/diamonds/kzsrfx4dxupa7a8uyn15wund/validate/un33utr58f8zm6twyl6eaqym",
"verification_status": "Pending"
}{
"reason": "diamond_has_been_deleted"
}{
"reason": "diamond_is_not_polished"
}{
"reason": "diamond_has_no_scan_report"
}{
"reason": "scan_report_not_supported",
"detail": {
"generic_error": "'.csv' is not a supported file type for polished scan reports"
}
}{
"reason": "scan_report_parse_error",
"detail": {
{
"table_size_average": [
{
"value": "Some",
"xpath": "/sarinDetails/stone/stone_part[@type='table']/width[@type='avg']/mm/text()",
"error_type": "value_not_a_decimal"
}
]
}
}
}Last updated