Properties
| Name | Type | Description |
|---|---|---|
| message | string | Service message. |
| data | object | Service data. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ServiceBody1",
"title": "ServiceBody1",
"required": [
"message",
"data"
],
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Service message."
},
"data": {
"$ref": "#/components/schemas/Data3",
"description": "Service data."
}
},
"example": {
"message": "Service updated successfully",
"data": {
"status": "PENDING",
"agent": {
"id": "27327489234",
"name": "Pedro",
"identification": "020323809",
"phone": "+57314855674",
"email": "[email protected]",
"vehicle": "SCOOTER"
},
"trackingUrl": "https://localhost.com",
"totalDistanceTraveled": 2,
"rating": 5,
"shippingPrice": 150000,
"shippingEstimatedDate": "2024-04-27T20:25:45.067Z"
}
}
}