Sklik API

Sharedbudgets

sharedbudgets.update

Hromadna uprava sdilenych rozpoctu

Parameters

struct user {
string session

Session (as retrieved from client.loginByToken())

int userId

(optional) User ID

}
array requests (
struct {
int id

shared budget id

int requestId

(optional) request id for diagnostic

struct attributes {
string name

(optional) name of shared budget

int dayBudget

(optional) height of daily budget in Kc

bool removeAllCids

(optional) Should remove all campaign ids? (only work with empty cids array) (excludes: addCids, removeCids)

array addCids (

(optional) list of campaign ids, which will be set to shared budget (excludes: removeAllCids)

int

(optional) campaign id

)
array removeCids (

(optional) list of campaign ids, which will unset shared budget (excludes: removeAllCids)

int

(optional) campaign id

)
}
}
)

Response

struct {
int status

return code

string statusMessage

verbal description

int count

(optional)

struct diagnostics {

(optional)

...
}
}

Response status codes:

List of all possible response status codes:

Diagnostics:

List of all possible diagnostics:

Copyright © 1996-2024

www.seznam.cz Help Contact