Skip to content

Пример работы с Api #11

Description

@ildar-ceo
ApiResult api = Bus::callApi({
	"domain": "auth",
	"class": "admin.user::crud",
	"method": "actionSearch",
	"data": {
		"pk": {
			"id": 10,
		},
		"fields": [
			"name",
			"login",
			"gmtime_created"
		]
	}
});

if (api.isSuccess)
{
	Vector users = api.data["items"];
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions