POST v1/application/map/generate

APPLICATION GENERATE MAP

Request Information

URI Parameters

None.

Body Parameters

GenerateMapRequestModel
NameDescriptionTypeAdditional information
shipment_address_list

Collection of integer

None.

Request Format

application/json, text/json

Sample:
{
  "shipment_address_list": [
    1,
    2
  ]
}

Response Information

Resource Description

APPLICATION GENERATE MAP

BaseMetaResultModelOfMapGenerateResponseModel
NameDescriptionTypeAdditional information
response

MapGenerateResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "geocoded_waypoints": [
      {
        "geocoder_status": "sample string 1",
        "place_id": "sample string 2",
        "types": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "geocoder_status": "sample string 1",
        "place_id": "sample string 2",
        "types": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ],
    "routes": [
      {
        "bounds": {
          "northeast": {
            "lat": 1.1,
            "lng": 2.1
          },
          "southwest": {
            "lat": 1.1,
            "lng": 2.1
          }
        },
        "copyrights": "sample string 1",
        "legs": [
          {
            "distance": {
              "text": "sample string 1",
              "value": 2
            },
            "duration": {
              "text": "sample string 1",
              "value": 2
            },
            "end_address": "sample string 1",
            "end_location": {
              "lat": 1.1,
              "lng": 2.1
            },
            "start_address": "sample string 2",
            "start_location": {
              "lat": 1.1,
              "lng": 2.1
            },
            "steps": [
              {
                "distance": {
                  "text": "sample string 1",
                  "value": 2
                },
                "duration": {
                  "text": "sample string 1",
                  "value": 2
                },
                "end_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "html_instructions": "sample string 1",
                "polyline": {
                  "points": "sample string 1"
                },
                "start_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "travel_mode": "sample string 2",
                "maneuver": "sample string 3"
              },
              {
                "distance": {
                  "text": "sample string 1",
                  "value": 2
                },
                "duration": {
                  "text": "sample string 1",
                  "value": 2
                },
                "end_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "html_instructions": "sample string 1",
                "polyline": {
                  "points": "sample string 1"
                },
                "start_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "travel_mode": "sample string 2",
                "maneuver": "sample string 3"
              }
            ],
            "traffic_speed_entry": [
              {},
              {}
            ],
            "via_waypoint": [
              {
                "location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "step_index": 1,
                "step_interpolation": 2.1
              },
              {
                "location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "step_index": 1,
                "step_interpolation": 2.1
              }
            ]
          },
          {
            "distance": {
              "text": "sample string 1",
              "value": 2
            },
            "duration": {
              "text": "sample string 1",
              "value": 2
            },
            "end_address": "sample string 1",
            "end_location": {
              "lat": 1.1,
              "lng": 2.1
            },
            "start_address": "sample string 2",
            "start_location": {
              "lat": 1.1,
              "lng": 2.1
            },
            "steps": [
              {
                "distance": {
                  "text": "sample string 1",
                  "value": 2
                },
                "duration": {
                  "text": "sample string 1",
                  "value": 2
                },
                "end_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "html_instructions": "sample string 1",
                "polyline": {
                  "points": "sample string 1"
                },
                "start_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "travel_mode": "sample string 2",
                "maneuver": "sample string 3"
              },
              {
                "distance": {
                  "text": "sample string 1",
                  "value": 2
                },
                "duration": {
                  "text": "sample string 1",
                  "value": 2
                },
                "end_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "html_instructions": "sample string 1",
                "polyline": {
                  "points": "sample string 1"
                },
                "start_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "travel_mode": "sample string 2",
                "maneuver": "sample string 3"
              }
            ],
            "traffic_speed_entry": [
              {},
              {}
            ],
            "via_waypoint": [
              {
                "location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "step_index": 1,
                "step_interpolation": 2.1
              },
              {
                "location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "step_index": 1,
                "step_interpolation": 2.1
              }
            ]
          }
        ],
        "overview_polyline": {
          "points": "sample string 1"
        },
        "summary": "sample string 2",
        "warnings": [
          {},
          {}
        ],
        "waypoint_order": [
          {},
          {}
        ]
      },
      {
        "bounds": {
          "northeast": {
            "lat": 1.1,
            "lng": 2.1
          },
          "southwest": {
            "lat": 1.1,
            "lng": 2.1
          }
        },
        "copyrights": "sample string 1",
        "legs": [
          {
            "distance": {
              "text": "sample string 1",
              "value": 2
            },
            "duration": {
              "text": "sample string 1",
              "value": 2
            },
            "end_address": "sample string 1",
            "end_location": {
              "lat": 1.1,
              "lng": 2.1
            },
            "start_address": "sample string 2",
            "start_location": {
              "lat": 1.1,
              "lng": 2.1
            },
            "steps": [
              {
                "distance": {
                  "text": "sample string 1",
                  "value": 2
                },
                "duration": {
                  "text": "sample string 1",
                  "value": 2
                },
                "end_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "html_instructions": "sample string 1",
                "polyline": {
                  "points": "sample string 1"
                },
                "start_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "travel_mode": "sample string 2",
                "maneuver": "sample string 3"
              },
              {
                "distance": {
                  "text": "sample string 1",
                  "value": 2
                },
                "duration": {
                  "text": "sample string 1",
                  "value": 2
                },
                "end_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "html_instructions": "sample string 1",
                "polyline": {
                  "points": "sample string 1"
                },
                "start_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "travel_mode": "sample string 2",
                "maneuver": "sample string 3"
              }
            ],
            "traffic_speed_entry": [
              {},
              {}
            ],
            "via_waypoint": [
              {
                "location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "step_index": 1,
                "step_interpolation": 2.1
              },
              {
                "location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "step_index": 1,
                "step_interpolation": 2.1
              }
            ]
          },
          {
            "distance": {
              "text": "sample string 1",
              "value": 2
            },
            "duration": {
              "text": "sample string 1",
              "value": 2
            },
            "end_address": "sample string 1",
            "end_location": {
              "lat": 1.1,
              "lng": 2.1
            },
            "start_address": "sample string 2",
            "start_location": {
              "lat": 1.1,
              "lng": 2.1
            },
            "steps": [
              {
                "distance": {
                  "text": "sample string 1",
                  "value": 2
                },
                "duration": {
                  "text": "sample string 1",
                  "value": 2
                },
                "end_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "html_instructions": "sample string 1",
                "polyline": {
                  "points": "sample string 1"
                },
                "start_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "travel_mode": "sample string 2",
                "maneuver": "sample string 3"
              },
              {
                "distance": {
                  "text": "sample string 1",
                  "value": 2
                },
                "duration": {
                  "text": "sample string 1",
                  "value": 2
                },
                "end_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "html_instructions": "sample string 1",
                "polyline": {
                  "points": "sample string 1"
                },
                "start_location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "travel_mode": "sample string 2",
                "maneuver": "sample string 3"
              }
            ],
            "traffic_speed_entry": [
              {},
              {}
            ],
            "via_waypoint": [
              {
                "location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "step_index": 1,
                "step_interpolation": 2.1
              },
              {
                "location": {
                  "lat": 1.1,
                  "lng": 2.1
                },
                "step_index": 1,
                "step_interpolation": 2.1
              }
            ]
          }
        ],
        "overview_polyline": {
          "points": "sample string 1"
        },
        "summary": "sample string 2",
        "warnings": [
          {},
          {}
        ],
        "waypoint_order": [
          {},
          {}
        ]
      }
    ],
    "status": "sample string 1"
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}