POST api/v1/partners/charging_points

Request Information

URI Parameters

None.

Body Parameters

Search
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Search'.

Response Information

Resource Description

PaginationResponseOfCodeListSystem
NameDescriptionTypeAdditional information
data

Collection of CodeListSystem

Required

pagination

Pagination

Required

structure

Collection of StructureItem

Required

format_conditions

Collection of Object

Required

message

string

Required

show_message

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "code": "sample string 1",
      "is_cabel": true,
      "id": 3,
      "name": "sample string 4"
    },
    {
      "code": "sample string 1",
      "is_cabel": true,
      "id": 3,
      "name": "sample string 4"
    }
  ],
  "pagination": {
    "object_count": 1,
    "page": 1,
    "per_page": 1
  },
  "structure": [
    {
      "name": "sample string 1",
      "title": "sample string 2",
      "width": 3,
      "show": true,
      "format": "sample string 5",
      "text_align": 6,
      "items": [
        {},
        {}
      ],
      "filter": "sample string 7",
      "type": "sample string 8",
      "order_number": 9
    },
    {
      "name": "sample string 1",
      "title": "sample string 2",
      "width": 3,
      "show": true,
      "format": "sample string 5",
      "text_align": 6,
      "items": [
        {},
        {}
      ],
      "filter": "sample string 7",
      "type": "sample string 8",
      "order_number": 9
    }
  ],
  "format_conditions": [
    {},
    {}
  ],
  "message": "sample string 1",
  "show_message": true
}

application/xml, text/xml

Sample:
<PaginationResponseOfCodeListSystemFBCW68op xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/IO.Swagger.Models">
    <d2p1:CodeListSystem>
      <d2p1:id>3</d2p1:id>
      <d2p1:name>sample string 4</d2p1:name>
      <d2p1:code>sample string 1</d2p1:code>
      <d2p1:is_cabel>true</d2p1:is_cabel>
    </d2p1:CodeListSystem>
    <d2p1:CodeListSystem>
      <d2p1:id>3</d2p1:id>
      <d2p1:name>sample string 4</d2p1:name>
      <d2p1:code>sample string 1</d2p1:code>
      <d2p1:is_cabel>true</d2p1:is_cabel>
    </d2p1:CodeListSystem>
  </data>
  <format_conditions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </format_conditions>
  <message>sample string 1</message>
  <pagination>
    <object_count>1</object_count>
    <page>1</page>
    <per_page>1</per_page>
  </pagination>
  <show_message>true</show_message>
  <structure>
    <StructureItem>
      <filter>sample string 7</filter>
      <format>sample string 5</format>
      <items xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:anyType />
        <d4p1:anyType />
      </items>
      <name>sample string 1</name>
      <order_number>9</order_number>
      <show>true</show>
      <text_align>6</text_align>
      <title>sample string 2</title>
      <type>sample string 8</type>
      <width>3</width>
    </StructureItem>
    <StructureItem>
      <filter>sample string 7</filter>
      <format>sample string 5</format>
      <items xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:anyType />
        <d4p1:anyType />
      </items>
      <name>sample string 1</name>
      <order_number>9</order_number>
      <show>true</show>
      <text_align>6</text_align>
      <title>sample string 2</title>
      <type>sample string 8</type>
      <width>3</width>
    </StructureItem>
  </structure>
</PaginationResponseOfCodeListSystemFBCW68op>