---
agentTools:
  projectIndex: https://docs.qdelivery.app/llms.txt
---

# Show

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Integration",
    "version": "1.6.1"
  },
  "servers": [
    {
      "url": "https://api.dev.qdelivery.app/api/integration"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/tasks/1": {
      "get": {
        "summary": "Show",
        "description": "",
        "operationId": "show-task",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\t\"id\": 1,\n\t\"integration_id\": null,\n\t\"tracking_code\": \"QD1-22027UYHAYR\",\n\t\"status_slug\": \"draft\",\n\t\"obligation_slug\": \"mandatory\",\n\t\"company_id\": 1,\n\t\"courier_id\": 1,\n\t\"team_id\": null,\n\t\"origin_hub_id\": null,\n\t\"destination_hub_id\": null,\n\t\"origin_address\": \"Alanaldı Cad. Aldemir Sk. No:3\\/1 İçerenköy, İçerenköy, 34752 Ataşehir\\/İstanbul, Türkiye\",\n\t\"origin_address_building\": null,\n\t\"origin_address_floor\": null,\n\t\"origin_address_apartment\": null,\n\t\"origin_phone\": null,\n\t\"origin_phone_country\": \"TR\",\n\t\"origin_name\": \"Anadolu Depo\",\n\t\"origin_lat\": 40.9720916,\n\t\"origin_lng\": 29.1099855,\n\t\"destination_address\": \"Alanaldı Cad. Aldemir Sk. No:3\\/1 İçerenköy, İçerenköy, 34752 Ataşehir\\/İstanbul, Türkiye\",\n\t\"destination_address_building\": null,\n\t\"destination_address_floor\": null,\n\t\"destination_address_apartment\": null,\n\t\"destination_phone\": null,\n\t\"destination_phone_country\": \"TR\",\n\t\"destination_name\": \"Mustafa Akçakaya\",\n\t\"destination_lat\": 40.9720916,\n\t\"destination_lng\": 29.1099855,\n\t\"starts_at\": null,\n\t\"ends_at\": \"2022-02-01T13:15:19.000000Z\",\n\t\"quantity\": 0,\n\t\"service_time\": 0,\n\t\"response_time\": 0,\n\t\"requires_delivery_code\": false,\n\t\"requirements_delivery_code\": null,\n\t\"requires_delivery_code_mandatory\": false,\n\t\"requires_pod_photo\": false,\n\t\"requires_pod_photo_mandatory\": false,\n\t\"requirements_pod_photo\": null,\n\t\"requirements_pod_photo_url\": null,\n\t\"notes\": null,\n\t\"status_at\": null,\n\t\"seen_at\": null,\n\t\"claimed_at\": null,\n\t\"created_at\": \"2022-03-14T10:40:09.000000Z\",\n\t\"updated_at\": \"2022-03-14T10:40:09.000000Z\",\n\t\"courier\": {\n\t\t\"id\": 1,\n\t\t\"name\": \"Clevel\",\n\t\t\"phone\": \"+905341234500\",\n\t\t\"phone_country\": \"TR\",\n\t\t\"phone_formatted\": null,\n\t\t\"locale\": \"tr\",\n\t\t\"avatar\": \"https:\\/\\/qdelivery-api.test\\/images\\/avatar.png\",\n\t\t\"mobile_platform\": null,\n\t\t\"courier_detail\": {\n\t\t\t\"code\": null,\n\t\t\t\"vehicle_license_plate\": null,\n\t\t\t\"vehicle_type\": null,\n\t\t\t\"vehicle_type_slug\": null,\n\t\t\t\"vehicle_description\": null,\n\t\t\t\"vehicle_color\": null,\n\t\t\t\"capacity\": null,\n\t\t\t\"pool_capacity\": null,\n\t\t\t\"vehicle_icon\": null\n\t\t},\n\t\t\"courier_location\": {\n\t\t\t\"is_online\": null,\n\t\t\t\"lat\": null,\n\t\t\t\"lng\": null,\n\t\t\t\"last_seen_at\": null\n\t\t},\n\t\t\"teams\": [],\n\t\t\"distance\": null,\n\t\t\"current_tasks_of_active_company_count\": null\n\t},\n\t\"team\": {\n\t\t\"id\": null,\n\t\t\"is_default\": null,\n\t\t\"hub_id\": null,\n\t\t\"name\": null,\n\t\t\"couriers_count\": null,\n\t\t\"created_at\": null,\n\t\t\"updated_at\": null\n\t},\n\t\"hub\": {\n\t\t\"id\": null,\n\t\t\"name\": null,\n\t\t\"address\": null,\n\t\t\"address_building\": null,\n\t\t\"address_apartment\": null,\n\t\t\"address_floor\": null,\n\t\t\"lat\": 0,\n\t\t\"lng\": 0,\n\t\t\"teams_count\": null,\n\t\t\"created_at\": null,\n\t\t\"updated_at\": null\n\t},\n\t\"status\": {\n\t\t\"name\": \"Taslak\",\n\t\t\"slug\": \"draft\",\n\t\t\"description\": \"Taslak şeklinde oluşturulmuş görev.\"\n\t},\n\t\"status_logs\": [\n\t\t{\n\t\t\t\"id\": 1,\n\t\t\t\"task_id\": 1,\n\t\t\t\"courier_id\": null,\n\t\t\t\"status_slug\": \"draft\",\n\t\t\t\"notes\": null,\n\t\t\t\"created_at\": \"2022-03-14T10:40:09.000000Z\",\n\t\t\t\"updated_at\": \"2022-03-14T10:40:09.000000Z\",\n\t\t\t\"status\": {\n\t\t\t\t\"slug\": \"draft\",\n\t\t\t\t\"name\": \"Taslak\"\n\t\t\t},\n\t\t\t\"courier\": {\n\t\t\t\t\"name\": null\n\t\t\t}\n\t\t}\n\t],\n\t\"path\": {\n\t\t\"type\": \"basic\",\n\t\t\"points\": [\n\t\t\t{\n\t\t\t\t\"lat\": 40.9720916,\n\t\t\t\t\"lng\": 29.1099855\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"lat\": 40.9720916,\n\t\t\t\t\"lng\": 29.1099855\n\t\t\t}\n\t\t]\n\t},\n\t\"distance\": 0,\n\t\"was_delayed\": false,\n\t\"route_order\": 0,\n\t\"is_origin_resolved\": false,\n\t\"is_destination_resolved\": false\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "integration_id": {},
                    "tracking_code": {
                      "type": "string",
                      "example": "QD1-22027UYHAYR"
                    },
                    "status_slug": {
                      "type": "string",
                      "example": "draft"
                    },
                    "obligation_slug": {
                      "type": "string",
                      "example": "mandatory"
                    },
                    "company_id": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "courier_id": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "team_id": {},
                    "origin_hub_id": {},
                    "destination_hub_id": {},
                    "origin_address": {
                      "type": "string",
                      "example": "Alanaldı Cad. Aldemir Sk. No:3/1 İçerenköy, İçerenköy, 34752 Ataşehir/İstanbul, Türkiye"
                    },
                    "origin_address_building": {},
                    "origin_address_floor": {},
                    "origin_address_apartment": {},
                    "origin_phone": {},
                    "origin_phone_country": {
                      "type": "string",
                      "example": "TR"
                    },
                    "origin_name": {
                      "type": "string",
                      "example": "Anadolu Depo"
                    },
                    "origin_lat": {
                      "type": "number",
                      "example": 40.9720916,
                      "default": 0
                    },
                    "origin_lng": {
                      "type": "number",
                      "example": 29.1099855,
                      "default": 0
                    },
                    "destination_address": {
                      "type": "string",
                      "example": "Alanaldı Cad. Aldemir Sk. No:3/1 İçerenköy, İçerenköy, 34752 Ataşehir/İstanbul, Türkiye"
                    },
                    "destination_address_building": {},
                    "destination_address_floor": {},
                    "destination_address_apartment": {},
                    "destination_phone": {},
                    "destination_phone_country": {
                      "type": "string",
                      "example": "TR"
                    },
                    "destination_name": {
                      "type": "string",
                      "example": "Mustafa Akçakaya"
                    },
                    "destination_lat": {
                      "type": "number",
                      "example": 40.9720916,
                      "default": 0
                    },
                    "destination_lng": {
                      "type": "number",
                      "example": 29.1099855,
                      "default": 0
                    },
                    "starts_at": {},
                    "ends_at": {
                      "type": "string",
                      "example": "2022-02-01T13:15:19.000000Z"
                    },
                    "quantity": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "service_time": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "response_time": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "requires_delivery_code": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "requirements_delivery_code": {},
                    "requires_delivery_code_mandatory": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "requires_pod_photo": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "requires_pod_photo_mandatory": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "requirements_pod_photo": {},
                    "requirements_pod_photo_url": {},
                    "notes": {},
                    "status_at": {},
                    "seen_at": {},
                    "claimed_at": {},
                    "created_at": {
                      "type": "string",
                      "example": "2022-03-14T10:40:09.000000Z"
                    },
                    "updated_at": {
                      "type": "string",
                      "example": "2022-03-14T10:40:09.000000Z"
                    },
                    "courier": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "name": {
                          "type": "string",
                          "example": "Clevel"
                        },
                        "phone": {
                          "type": "string",
                          "example": "+905341234500"
                        },
                        "phone_country": {
                          "type": "string",
                          "example": "TR"
                        },
                        "phone_formatted": {},
                        "locale": {
                          "type": "string",
                          "example": "tr"
                        },
                        "avatar": {
                          "type": "string",
                          "example": "https://qdelivery-api.test/images/avatar.png"
                        },
                        "mobile_platform": {},
                        "courier_detail": {
                          "type": "object",
                          "properties": {
                            "code": {},
                            "vehicle_license_plate": {},
                            "vehicle_type": {},
                            "vehicle_type_slug": {},
                            "vehicle_description": {},
                            "vehicle_color": {},
                            "capacity": {},
                            "pool_capacity": {},
                            "vehicle_icon": {}
                          }
                        },
                        "courier_location": {
                          "type": "object",
                          "properties": {
                            "is_online": {},
                            "lat": {},
                            "lng": {},
                            "last_seen_at": {}
                          }
                        },
                        "teams": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {}
                          }
                        },
                        "distance": {},
                        "current_tasks_of_active_company_count": {}
                      }
                    },
                    "team": {
                      "type": "object",
                      "properties": {
                        "id": {},
                        "is_default": {},
                        "hub_id": {},
                        "name": {},
                        "couriers_count": {},
                        "created_at": {},
                        "updated_at": {}
                      }
                    },
                    "hub": {
                      "type": "object",
                      "properties": {
                        "id": {},
                        "name": {},
                        "address": {},
                        "address_building": {},
                        "address_apartment": {},
                        "address_floor": {},
                        "lat": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "lng": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "teams_count": {},
                        "created_at": {},
                        "updated_at": {}
                      }
                    },
                    "status": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "example": "Taslak"
                        },
                        "slug": {
                          "type": "string",
                          "example": "draft"
                        },
                        "description": {
                          "type": "string",
                          "example": "Taslak şeklinde oluşturulmuş görev."
                        }
                      }
                    },
                    "status_logs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "task_id": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "courier_id": {},
                          "status_slug": {
                            "type": "string",
                            "example": "draft"
                          },
                          "notes": {},
                          "created_at": {
                            "type": "string",
                            "example": "2022-03-14T10:40:09.000000Z"
                          },
                          "updated_at": {
                            "type": "string",
                            "example": "2022-03-14T10:40:09.000000Z"
                          },
                          "status": {
                            "type": "object",
                            "properties": {
                              "slug": {
                                "type": "string",
                                "example": "draft"
                              },
                              "name": {
                                "type": "string",
                                "example": "Taslak"
                              }
                            }
                          },
                          "courier": {
                            "type": "object",
                            "properties": {
                              "name": {}
                            }
                          }
                        }
                      }
                    },
                    "path": {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "example": "basic"
                        },
                        "points": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "lat": {
                                "type": "number",
                                "example": 40.9720916,
                                "default": 0
                              },
                              "lng": {
                                "type": "number",
                                "example": 29.1099855,
                                "default": 0
                              }
                            }
                          }
                        }
                      }
                    },
                    "distance": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "was_delayed": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "route_order": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "is_origin_resolved": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "is_destination_resolved": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "6602b1495613fc002042a788:6602b14a5613fc002042a798"
}
```