Sklik API

Conversions

conversions.get

Get conversions attributes.

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) Managed user ID

}
array conversionIds (
int

Conversion ID

)

Response

struct {
int status

Status code

string statusMessage

Status code description

string session

Refreshed session

array conversions (
struct {
int id

Conversion id

string name

Conversion name

int conversionTypeId

Conversion type id (see listConversionTypes() for conversion type enumeration)

string conversionTypeName

Conversion type name (see listConversionTypes() for conversion type enumeration)

string proto

Protocol (DEPRECATED, always returns empty string)

string color

(can be null) Conversion color in hexadecimal format (white=ffffff) or nil

int value

(can be null) Conversion value (in halers) or nil

bool removed

Whether conversion is removed

int userId

Conversion owner user id

}
)
array diagnostics (

(optional) Various diagnostics(warnings, errors, other information)

struct {
...
}
)
}

Response status codes:

List of all possible response status codes:

Diagnostics:

List of all possible diagnostics:

Copyright © 1996-2024

www.seznam.cz Help Contact