You can create a quote by sending a POST
request to the following endpoint:
https://staging.ap-southeast-2.aws.helloclaims.com/integrations/repairer/jobs/{jobId}/quotes
When sending a quote, you should include the Quote object in the body of the request. For a detailed breakdown of the Quote object, please click here.
POST https://staging.ap-southeast-2.aws.helloclaims.com/integrations/repairer/jobs/{jobId}/quotes
Authorization: "Bearer " + access_token
Content-Type: application/json
{
"status": "Draft",
"rates": [
{
"type": "RemoveReplaceLabour",
"rate": 50
},
...
],
"items": [
{
"id": "QI-1",
"order": 1,
"type": "RemoveReplaceLabour",
"description": "Front Bar Disassembly",
"quantity": 1.0,
"price": 50,
"total": 50,
"metadata": {
"key": "value",
...
}
},
...
],
...
}
You will receive back a response with the created Quote object.
{
"status": "Draft",
"rates": [
{
"type": "RemoveReplaceLabour",
"rate": 50
},
...
],
"items": [
{
"id": "QI-1",
"order": 1,
"type": "RemoveReplaceLabour",
"description": "Front Bar Disassembly",
"quantity": 1.0,
"price": 50,
"total": 50,
"metadata": {
"key": "value",
...
}
},
...
],
...
}
While the quote is in the Draft
status, you will be able to modify the quote.
Note, as the quote was submitted with a status of Draft, it will not be submitted for assessment. You can submit a quote directly for assessment by ensuring the status property is set to Submitted.