Get Recurring Route Details

Changed on
get/routes/recurring/{recurring_route_uid}

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/routes/recurring/{recurring_route_uid}
  • Auth
    API key in header x-api-key

Path parameters

recurring_route_uidstring required

uid recurring route

Response

200

typestring

Example response

{
  "type": "success",
  "data": {
    "recurring_route_uid": "d9ea31af-f692-43b3-ae0b-af82f28d108e",
    "recurring_route_name": "check rr",
    "duration": {
      "value": 1,
      "type": "WEEKS"
    },
    "repeat_frequency": "WEEKLY",
    "repeat_on": {
      "byweekday": [
        {
          "weekday": 3
        }
      ]
    },
    "rrule": "DTSTART=20240905T120000Z;FREQ=WEEKLY;BYDAY=TH;UNTIL=20240930T120000",
    "total_routes": 4,
    "route_duration": 8,
    "route_start": "2024-09-05T12:00:00.000Z",
    "route_end": "2024-09-26T20:00:00.000Z",
    "route_type": "FASTEST",
    "transport_mode": "CAR",
    "color": "#e67e22",
    "start_location": {
      "name": "Chennai ",
      "street": "30B, 18B/30B, Thanthi Periamagan, MGR Salai, Tharamani, Chennai, Tamil Nadu 600113, India",
      "geo_cords": [
        12.9788717624787
      ]
    },
    "is_active": true,
    "created_by": {
      "user_uid": "be363297-34a7-4453-b48b-e0e303af26bd",
      "first_name": "Abijith",
      "last_name": "V",
      "email": "abijith@zuper.co",
      "designation": "Admin",
      "emp_code": "Z255",
      "profile_picture": "https://s3.ap-south-1.amazonaws.com/prod.app.zuperpro/assets/profile_picture.jpg",
      "hourly_labor_charge": 20,
      "is_active": true,
      "created_at": "2024-02-27T05:48:56.000Z",
      "updated_at": "2024-02-27T05:49:43.000Z",
      "role": {
        "role_name": "Admin",
        "role_key": "ADMIN"
      }
    }
  }
}

Changes