Sklik API

Conversions

conversions.create

Create a conversion.

Parameters

struct user {
string session Session (as retrieved from client.login())
int userId (optional) Managed user ID
}
array conversions (
struct {
string name Conversion name
int conversionTypeId Conversion type id (see listConversionTypes() for conversion type enumeration)
string proto (optional) (can be null) protokol (DEPRECATED, this argument is ignored)
string color (optional) (can be null) Conversion color in hexadecimal format (white=ffffff); default: nil
int value (optional) (can be null) Conversion value (in halers); default: nil
}
)

Response

struct {
int status Status code
string statusMessage Status code description
string session Refreshed session
array conversionIds (
int New conversion 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-2019

www.seznam.cz   Help   Contact