Skip to content

Instantly share code, notes, and snippets.

@smarquez1
Created November 2, 2023 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smarquez1/d82b09e82970034eb178f01008bcca0d to your computer and use it in GitHub Desktop.
Save smarquez1/d82b09e82970034eb178f01008bcca0d to your computer and use it in GitHub Desktop.
response.json
{
"id": 1,
"user_id": 1,
"estimate_id": 3,
"query": "test",
"status": "success",
"message": "",
"job_status": "success",
"operations": [
{
"source": "decisiv",
"total_count": 100,
"total_pages": 10,
"count": 3,
"operations": [
{
"source": "decisiv",
"name": "Operation 0",
"opcode": "DECISIV-0",
"source_opcode": "123123120",
"fixed_price": "152.55",
"labor_time": "3.0",
"variation_id": 0,
"variation_description": "Variation 0",
"part_count": 1,
"related_operation_count": 1
},
{
"source": "decisiv",
"name": "Operation 0",
"opcode": "DECISIV-0",
"source_opcode": "123123120",
"fixed_price": "152.55",
"labor_time": "3.0",
"variation_id": 1,
"variation_description": "Variation 1",
"part_count": 1,
"related_operation_count": 0
},
{
"source": "decisiv",
"name": "Operation 0",
"opcode": "DECISIV-0",
"source_opcode": "123123120",
"fixed_price": "152.55",
"labor_time": "3.0",
"variation_id": 2,
"variation_description": "Variation 2",
"part_count": 1,
"related_operation_count": 0
}
],
"success": true,
"message": ""
},
{
"source": "motor",
"total_count": 2,
"count": 2,
"operations": [
{
"source": "motor",
"name": "MOTOR AIR CONDITIONING",
"opcode": "motor1",
"source_opcode": "123123",
"labor_time": "0.9",
"fixed_price": null,
"variation_description": null,
"assembly": "001-001",
"labor_note": "INCLUDES: THE REMOVAL OF COMPONENT"
},
{
"source": "motor",
"name": "MOTOR AIR CONDITIONING 2",
"opcode": "motor2",
"source_opcode": "123123",
"labor_time": "0.5",
"fixed_price": null,
"variation_description": null,
"assembly": "001-002",
"labor_note": "INCLUDES: THE REMOVAL OF COMPONENT"
}
],
"success": true,
"message": ""
},
{
"source": "isuzu_srt",
"total_count": 2,
"count": 2,
"operations": [
{
"source": "isuzu_srt",
"name": "Isuzu Clean high-touch asset 1",
"opcode": "H1380",
"source_opcode": null,
"labor_time": null,
"fixed_price": null,
"variation_description": null,
"add_on_hours": 0,
"base_labour_hours": 0.9
},
{
"source": "isuzu_srt",
"name": "Isuzu Clean high-touch asset 2",
"opcode": "ASD123",
"source_opcode": null,
"labor_time": null,
"fixed_price": null,
"variation_description": null,
"add_on_hours": 0,
"base_labour_hours": 0.9
}
],
"success": true,
"message": ""
}
],
"created_at": "2023-10-10",
"updated_at": "2023-10-10"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment