*getServerOptions

Configuration Article | CA-20220907-TP-64

VDG Sense | API | Functions | Servers & Devices

Returns server settings. See chapter Transcoding for an explanation about Transcoding.

Because the system is recording most of the time, the oldest and newest stored image time can vary between successive calls to this function.

When is serverid is omitted, the info of the management server will be returned.

Request

command=getServerOptions&serverid=[UID]

serverid

[UID]

unique server id (optional)

Response

<result errorcode="0">   <serveroptions>     <serverid>[id]</serverid>     <description>[string]</description>     <title>[string]</title>     <version>[no.no.no.no]</version>     <registrationnumber>[string]</registrationnumber>     <cameracount>[number]</cameracount>     <servercount>[number]</servercount>   </serveroptions> </result>

Tag

node

value

remarks

node

value

remarks

/result

@errorcode

[number]

See error codes below

/result/serveroptions

serverid

[id]

the id of the server

description

[string

description of the system.

title

[string]

title of the system.

version

[no.no.no.n]

version of the system

registrationnumber

[string]

registration number of the system

cameracount

[number]

maximum number of cameras for this server.

servercount

[number]

number of servers added to the system.

error code

description

remarks

error code

description

remarks

0

Ok

Ok, no error

-18

General error

An undefined error occurred

Changelog

  • 2.7.2   – Changed documentation of servercount to “number of servers added to the system.”

  • 2.1.1   – Added

  • 1.11.3 – Fixed documentation error. Timestamps for this function are UTC timestamps

  • 1.6.1   – Added oldest and newest stored image time fields

  • 1.4.1   – Added

Related pages