Sklik API

Patterns

patterns.check

Check patterns for create or update process.

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) Managed user ID

}
array patterns (
struct {
int id

Pattern id, that will be updated (excludes: groupId, pattern)

int groupId

Group id, where the pattern will be created (excludes: id)

string pattern

Pattern (excludes: id)

int cpc

(optional) (can be null) Change pattern maximal CPC (in halers) or nil to use group default

int cpt

(optional) (can be null) Change pattern maximal CPT (in halers) or nil to use group default

string status

(optional) Change pattern/set status:

  • active: Active
  • suspend: Suspended
}
)

Response

struct {
int status

Status code (see bellow)

string statusMessage

Status code description

string session

(optional) 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-2024

www.seznam.cz Help Contact