Jasmin Developers - Web API Reference

Platform | Entity Lock Reason

Service to manage entities of type 'EntityLockReason'.

Overview


URL api/{tenantKey}/{orgKey}/corePatterns/entityLockReasons
Methods Supported GET

All Operations

This service includes the following operations:

All Resources

This service uses the following resources:

GET Operations

GET EntityLockReasons

Returns the list of all the entity records available.

Response:

When successful, the response body contains the list of records available. See EntityLockReasonResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /corePatterns/entityLockReasons

GET EntityLockReasons (paged)

Returns a page of the list of all the entity records available.

The following elements are optional:

page (int) The index of the page of the list that should be returned. This is a query string parameter.
pageSize (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter.

Response:

When successful, the response body contains the list of records available. See EntityLockReasonResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /corePatterns/entityLockReasons?page={page}&pageSize={pageSize}

GET EntityLockReason by identifier

Returns the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body contains the entity record. See EntityLockReasonResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /corePatterns/entityLockReasons/{id}

GET EntityLockReason by key

Returns the entity record that matches the specified key.

The following elements are required:

reasonKey (string) Reason.

Response:

When successful, the response body contains the entity record. See EntityLockReasonResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /corePatterns/entityLockReasons/{reasonKey}

GET Print EntityLockReason by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified resord does not exist.

Resource URL:

GET /corePatterns/entityLockReasons/{id}/print?template={template}

GET Print EntityLockReason by key

Prints the specified entity record.

The following elements are required:

reasonKey (string) Reason.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /corePatterns/entityLockReasons/{reasonKey}/print

GET Original Print EntityLockReasonOriginal by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified resord does not exist.

Resource URL:

GET /corePatterns/entityLockReasons/{id}/printOriginal?template={template}

GET Original Print EntityLockReason by key

Prints the specified entity record.

The following elements are required:

reasonKey (string) Reason.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /corePatterns/entityLockReasons/{reasonKey}/printOriginal

Resources


EntityLockReasonResource

The following elements are required:

reasonKey (string) Reason.

The following elements are optional:

description (string) Description.