dispatch.quoteعرض سعر للإرسال
يعيد عرض سعر لمهمة خدمة ميدانية وفق الحرفة والموقع والأولوية.
- المصادقة
- مفتاح خادم مطلوب
- REST
- POST /api/dispatch/v1/quote
شكل الإدخال المنشور
{
"type": "object",
"required": [
"trade",
"location"
],
"properties": {
"trade": {
"type": "string",
"description": "Trade code (plumbing, electrical, HVAC, etc.)"
},
"location": {
"type": "object",
"required": [
"state"
],
"properties": {
"state": {
"type": "string",
"minLength": 2,
"maxLength": 2
},
"zip": {
"type": "string",
"maxLength": 10
},
"city": {
"type": "string",
"maxLength": 255
}
}
},
"urgency": {
"type": "string",
"enum": [
"emergency",
"urgent",
"routine",
"scheduled"
],
"default": "routine"
},
"nte_cents": {
"type": "integer",
"minimum": 1
},
"description": {
"type": "string",
"maxLength": 2000
}
}
}