POST api/v1/charging_stations/search_by_map
Request Information
URI Parameters
None.
Body Parameters
Search| Name | Description | Type | Additional information |
|---|---|---|---|
| only_cabel | boolean |
None. |
|
| speed_charging | integer |
None. |
|
| is_detail | boolean |
None. |
|
| load_product | boolean |
None. |
|
| fulltext | string |
None. |
|
| is_portal | boolean |
None. |
|
| pagination | Pagination |
None. |
|
| gps | Gps |
None. |
|
| types | Collection of integer |
None. |
|
| speed | Collection of integer |
None. |
|
| only_for_logged_user | boolean |
None. |
|
| only_chargee_stations | boolean |
None. |
|
| ids | Collection of integer |
None. |
|
| state.id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"only_cabel": true,
"speed_charging": 2,
"is_detail": true,
"load_product": true,
"fulltext": "sample string 7",
"is_portal": true,
"pagination": {
"object_count": 1,
"page": 1,
"per_page": 1
},
"gps": {
"latitude": "sample string 1",
"longitude": "sample string 2"
},
"types": [
1,
2
],
"speed": [
1,
2
],
"only_for_logged_user": true,
"only_chargee_stations": true,
"ids": [
1,
2
],
"state.id": 1
}
application/xml, text/xml
Sample:
<Search xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
<fulltext>sample string 7</fulltext>
<gps>
<latitude>sample string 1</latitude>
<longitude>sample string 2</longitude>
</gps>
<ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ids>
<is_detail>true</is_detail>
<is_portal>true</is_portal>
<load_product>true</load_product>
<only_cabel>true</only_cabel>
<only_chargee_stations>true</only_chargee_stations>
<only_for_logged_user>true</only_for_logged_user>
<pagination xmlns:d2p1="http://schemas.datacontract.org/2004/07/UP.Core.Data">
<d2p1:object_count>1</d2p1:object_count>
<d2p1:page>1</d2p1:page>
<d2p1:per_page>1</d2p1:per_page>
</pagination>
<speed xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</speed>
<speed_charging>2</speed_charging>
<state.id>1</state.id>
<types xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</types>
</Search>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of SearchResultByMap| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
None. |
|
| gps | Gps |
None. |
|
| name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": "49827318-8d9f-41a0-b451-943025dda0f2",
"gps": {
"latitude": "sample string 1",
"longitude": "sample string 2"
},
"name": "sample string 2"
},
{
"id": "49827318-8d9f-41a0-b451-943025dda0f2",
"gps": {
"latitude": "sample string 1",
"longitude": "sample string 2"
},
"name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfSearchResultByMap xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
<SearchResultByMap>
<gps>
<latitude>sample string 1</latitude>
<longitude>sample string 2</longitude>
</gps>
<id>49827318-8d9f-41a0-b451-943025dda0f2</id>
<name>sample string 2</name>
</SearchResultByMap>
<SearchResultByMap>
<gps>
<latitude>sample string 1</latitude>
<longitude>sample string 2</longitude>
</gps>
<id>49827318-8d9f-41a0-b451-943025dda0f2</id>
<name>sample string 2</name>
</SearchResultByMap>
</ArrayOfSearchResultByMap>