Bitrix API

RestService extends IRestService

Table of Contents

Constants

ENTITY_LISTS_CODE_PREFIX  = "REST"
ERROR_BIZPROC  = "ERROR_BIZPROC"
ERROR_DELETE_ELEMENT  = "ERROR_DELETE_ELEMENT"
ERROR_IBLOCK_ALREADY_EXISTS  = "ERROR_IBLOCK_ALREADY_EXISTS"
ERROR_IBLOCK_NOT_FOUND  = "ERROR_IBLOCK_NOT_FOUND"
ERROR_PROPERTY_ALREADY_EXISTS  = "ERROR_PROPERTY_ALREADY_EXISTS"
ERROR_REQUIRED_PARAMETERS_MISSING  = "ERROR_REQUIRED_PARAMETERS_MISSING"
ERROR_SAVE_ELEMENT  = "ERROR_SAVE_ELEMENT"
ERROR_SAVE_FIELD  = "ERROR_SAVE_FIELD"
ERROR_SAVE_IBLOCK  = "ERROR_SAVE_IBLOCK"
SCOPE  = "lists"

Methods

addElement()  : mixed
addField()  : mixed
addLists()  : mixed
addSection()  : mixed
deleteElement()  : mixed
deleteField()  : mixed
deleteLists()  : mixed
deleteSection()  : mixed
getElement()  : mixed
getFields()  : mixed
getFieldTypes()  : mixed
getFileUrl()  : mixed
getIblockTypeId()  : mixed
getLists()  : mixed
getSection()  : mixed
onRestServiceBuildDescription()  : mixed
updateElement()  : mixed
updateField()  : mixed
updateLists()  : mixed
updateSection()  : mixed

Constants

ENTITY_LISTS_CODE_PREFIX

Constants are no longer used.

public mixed ENTITY_LISTS_CODE_PREFIX = "REST"

ERROR_BIZPROC

public mixed ERROR_BIZPROC = "ERROR_BIZPROC"

ERROR_DELETE_ELEMENT

public mixed ERROR_DELETE_ELEMENT = "ERROR_DELETE_ELEMENT"

ERROR_IBLOCK_ALREADY_EXISTS

public mixed ERROR_IBLOCK_ALREADY_EXISTS = "ERROR_IBLOCK_ALREADY_EXISTS"

ERROR_IBLOCK_NOT_FOUND

public mixed ERROR_IBLOCK_NOT_FOUND = "ERROR_IBLOCK_NOT_FOUND"

ERROR_PROPERTY_ALREADY_EXISTS

public mixed ERROR_PROPERTY_ALREADY_EXISTS = "ERROR_PROPERTY_ALREADY_EXISTS"

ERROR_REQUIRED_PARAMETERS_MISSING

public mixed ERROR_REQUIRED_PARAMETERS_MISSING = "ERROR_REQUIRED_PARAMETERS_MISSING"

ERROR_SAVE_ELEMENT

public mixed ERROR_SAVE_ELEMENT = "ERROR_SAVE_ELEMENT"

ERROR_SAVE_FIELD

public mixed ERROR_SAVE_FIELD = "ERROR_SAVE_FIELD"

ERROR_SAVE_IBLOCK

public mixed ERROR_SAVE_IBLOCK = "ERROR_SAVE_IBLOCK"

Methods

addElement()

public static addElement(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

addField()

public static addField(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

addLists()

public static addLists(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

addSection()

public static addSection(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

deleteElement()

public static deleteElement(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

deleteField()

public static deleteField(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

deleteLists()

public static deleteLists(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

deleteSection()

public static deleteSection(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

getElement()

public static getElement(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

getFields()

public static getFields(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

getFieldTypes()

public static getFieldTypes(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

getFileUrl()

public static getFileUrl(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

getIblockTypeId()

public static getIblockTypeId(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

getLists()

public static getLists(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

getSection()

public static getSection(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

onRestServiceBuildDescription()

public static onRestServiceBuildDescription() : mixed

updateElement()

public static updateElement(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

updateField()

public static updateField(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

updateLists()

public static updateLists(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

updateSection()

public static updateSection(array<string|int, mixed> $params, mixed $n, CRestServer $server) : mixed
Parameters
$params : array<string|int, mixed>
$n : mixed
$server : CRestServer

        
On this page

Search results