Sklik API

Conversions

conversions.check

Check conversions attributes before updating or creating a new one.

Parameters

struct user {
string session Session (as retrieved from client.login())
int userId (optional) Managed user ID
}
array conversions (
struct {
int id (optional) Conversion ID, set if you are going to check updating
int conversionTypeId (optional) Conversion type ID, set if you are going to check creating
string name (optional) Conversion name
string proto (optional) (can be null) protokol (DEPRECATED, this argument is ignored)
string color (optional) Conversion color in hexadecimal format (white=ffffff)
int value (optional) Conversion value (in halers)
}
)

Response

struct {
int status Status code
string statusMessage Status code description
string session Refreshed session
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