E3. Change Station Information

Top  Previous  Next

Request

Request Parameters

Parameter

Description

Obligatory

id

Client (station) identifier for whom information will be changed.

yes

name

Station name

no

password

Password

no

group

Name of the primary group

no

expires = YYYYMMDD

or

expires = YYYYMMDDHHmmss

Expiration date (inclusive), unless which the client have access.

no

blockbeg = YYYYMMDD

or

blockbeg = YYYYMMDDHHmmss

Date (inclusive) of bocking period start.

no

blockend = YYYYMMDD

or

blockend = YYYYMMDDHHmmss

Date (inclusive) of bocking period end.

no

description

Description

no

longitude

Longitude. Coordinates are given in seconds. North and East are positive, South and West are negative.

no

latitude

Latitude. Coordinates are given in seconds. North and East are positive, South and West are negative.

no

organization

Organization

no

province

Province

no

street

Street

no

floor

Floor

no

room

Room

no

department

Department

no

country

Country. Represented as two-character code according to ISO 3166 standard

no

city

City

no

If blockbeg = 0 or blockend = 0, values of corresponding fields for blocking period will be reset (set to never).

 

If the grace-period parameter is set to yes, station has 30 days of grace period.

 

If during changing of primary group, you specify ID of tariff group, which is differ from current station tariff, station will be moved to specified tariff group and then this tariff group will be set as primary.

Reply XML

<avdesk-xml-api api="2.2.0" timestamp="20160121121711999" server="10.4.0.191" oper="change-customer-info" version="10.000.1.201510090" rc="true">
<customers>
<customer>
<id>Client (Station) identifier</id>
<group id="Group identifier">Group name</group>
<password>Password</password>
<url>Link for Agent download</url>
<description>Client (Station) description</description>
</customer>
</customers>
</avdesk-xml-api>