POST api/file/generateMapUrl
Request Information
URI Parameters
None.
Body Parameters
GenerateMapUrlRequestName | Description | Type | Additional information |
---|---|---|---|
PickupPoint | CoordinateRequest |
None. |
|
DropoffPoint | CoordinateRequest |
None. |
|
ViaPoints | Collection of CoordinateRequest |
None. |
|
Route | string |
None. |
|
Size | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PickupPoint": { "Lat": "sample string 1", "Long": "sample string 2" }, "DropoffPoint": { "Lat": "sample string 1", "Long": "sample string 2" }, "ViaPoints": [ { "Lat": "sample string 1", "Long": "sample string 2" }, { "Lat": "sample string 1", "Long": "sample string 2" } ], "Route": "sample string 1", "Size": "sample string 2" }
application/xml, text/xml
Sample:
<GenerateMapUrlRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaTransfer_Document_Uploading.Models.MapDownload"> <DropoffPoint> <Lat>sample string 1</Lat> <Long>sample string 2</Long> </DropoffPoint> <PickupPoint> <Lat>sample string 1</Lat> <Long>sample string 2</Long> </PickupPoint> <Route>sample string 1</Route> <Size>sample string 2</Size> <ViaPoints> <CoordinateRequest> <Lat>sample string 1</Lat> <Long>sample string 2</Long> </CoordinateRequest> <CoordinateRequest> <Lat>sample string 1</Lat> <Long>sample string 2</Long> </CoordinateRequest> </ViaPoints> </GenerateMapUrlRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GenerateMapUrlResponseName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
Message | string |
None. |
|
StatusCode | integer |
None. |
|
Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "Message": "sample string 2", "StatusCode": 3, "Data": "sample string 4" }
application/xml, text/xml
Sample:
<GenerateMapUrlResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BaTransfer_Document_Uploading.Models.MapDownload"> <Data>sample string 4</Data> <Message>sample string 2</Message> <Status>true</Status> <StatusCode>3</StatusCode> </GenerateMapUrlResponse>