Delete a Station

Top  Previous  Next

Request Parameters

Parameter

Description

Mandatory

id

Station identifier.

This parameter can be defined in the request several times to delete several stations at a time.

yes

Request Example

Response Documents Structure

XML response.

JSON response.

XML Response Structure

<drweb-avdesk-api api_version="4.1.3" timestamp="1298032806" server="192.168.1.1" srv_version="10.01.0.201707130" status="true">

<stations total="2">

<station id="1000"/>

<station id="1001"/>

</stations>

</drweb-avdesk-api>

Description of XML Response Parameters

The <stations /> element contains information about all deleted stations.

The <stations /> element attributes:

Attribute

Description

total

Total number of stations

The <station /> element contains information about a specific deleted station.

The <station /> element attributes:

Attribute

Description

id

Station identifier

JSON Response Structure

{   "head": {

      "status": true,

      "timestamp": 1395743219,

      "api": {

          "version": 40103

      },

      "server": {

          "name": "192.168.1.1",

          "version": 1000201707130,

          "uuid": "50171907-d21d-b211-b3fd-cc152f024d8c"

      }

  },

  "data": {

      "stations": {

          "total": 1,

          "list": [

              {

                  "id": "1002"}]}}}

Description of JSON Response Parameters

The stations block contains information about all deleted stations.

The stations block elements:

Field name

Description

total

Total number of stations

The list array contains information about specific deleted stations.

Elements in the list array:

Field name

Description

id

Identifier of deleted station