apidocs / com.srv4pos.server.api.customization / CustomizationGroupService

CustomizationGroupService

class CustomizationGroupService

Constructs the service.

Parameters

url - of the server

credentials - to work with the server

transport - to know the method to reach the server

Constructors

<init>

CustomizationGroupService(url: URL, credentials: Credentials?, transport: Transport)

Constructs the service.

Functions

create

fun create(version: Int?, customizationGroupInfo: CustomizationGroupInfo): IdentifierInfo

Create entity on the server.

get

operator fun get(version: Int?, identifier: String): CustomizationGroupInfo?

Returns an entity.

list

fun list(version: Int?, firstResult: Int?, maxResults: Int?, like: String?, orderBy: CustomizationGroupInfo.Fields?, orderDesc: Boolean?): List<CustomizationGroupInfo>?

Returns list of entities.

listDiff

fun listDiff(versionFrom: Int, versionTo: Int): List<CustomizationGroupInfo>

Returns list of item changes between two versions.

put

fun put(version: Int?, customizationGroupInfo: CustomizationGroupInfo): Unit

Put entity to the server.