TSM User Management API (2.0)
Download OpenAPI specification:Download
API for Telco Service Management - User Management
Returns a row by primary key
Returns existing row by UUID
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Update a value
Update existing value by UUID
Authorizations:
path Parameters
| idOrCode required | string Identifier of an existing value |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> Row unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string [ 1 .. 255 ] characters Code of this value. It is used whenever the value is referenced from computer program or API. It MUST be unique and SHOULD contain only ASCII characters without spaces (best to use valid programminglanguage identifier). |
| name required | string [ 1 .. 255 ] characters Name of this value, this is displayed to the user. |
| validityFrom | string <date-time> Begin of the validity of the value. |
| validityTo | string <date-time> End of the validity of the value. |
| description | string Description of the value, it may be used as a tooltip. |
object Localization data of the record attributes | |
| userGroupSpecId | string <uuid> |
required | object |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Delete
Delete existing entity/value by id or code
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 400
- 500
{- "status": "BAD_REQUEST",
- "timestamp": "2022-11-11T06:55:27.334Z",
- "message": "Wrong format for UUID field. ID value '5131315' is not a valid UUID string.",
- "traceId": "1c81b8e6a7c672df",
- "errors": [
- "'5131315' should be of type java.util.UUID"
]
}UserGroupTypePublicApi.patch
Authorizations:
path Parameters
| idOrCode required | string |
query Parameters
| immediatelyRefresh | boolean Default: false |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
User group property (or several properties) to update
Responses
Request samples
- Payload
{ }Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}UserGroupTypePublicApi.saveAndRefresh
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> Row unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string [ 1 .. 255 ] characters Code of this value. It is used whenever the value is referenced from computer program or API. It MUST be unique and SHOULD contain only ASCII characters without spaces (best to use valid programminglanguage identifier). |
| name required | string [ 1 .. 255 ] characters Name of this value, this is displayed to the user. |
| validityFrom | string <date-time> Begin of the validity of the value. |
| validityTo | string <date-time> End of the validity of the value. |
| description | string Description of the value, it may be used as a tooltip. |
object Localization data of the record attributes | |
| userGroupSpecId | string <uuid> |
required | object |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}UserGroupTypePublicApi.saveDiff
Authorizations:
query Parameters
| compareField | string Default: "id" |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| diffType required | string Enum: "DIFF_TYPE_NEW" "DIFF_TYPE_CHANGE" "DIFF_TYPE_REMOVE" |
object (UserGroupType) | |
object (UserGroupType) |
Responses
Request samples
- Payload
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserGroupTypePublicApi.diff
Authorizations:
query Parameters
| save | boolean Save the diff immediately |
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/json
| file required | string <binary> File binary content |
Responses
Request samples
- Payload
{- "file": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]UserGroupTypePublicApi.diffOnly
Authorizations:
query Parameters
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| name | string |
| whenExported | string <date-time> |
| exportedBy | string |
required | Array of objects (UserGroupType) |
required | Array of objects (Filter) |
| entityType | string |
| listingType | string |
| listingProfile | string |
| compareField | string |
Responses
Request samples
- Payload
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]UserGroupTypePublicApi.backup
Authorizations:
query Parameters
object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| entityType required | string |
| compareField | string |
| listingType | string |
| listingProfile | string |
Array of objects (Filter) |
Responses
Request samples
- Payload
{- "entityType": "string",
- "compareField": "string",
- "listingType": "string",
- "listingProfile": "string",
- "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
]
}Response samples
- 200
- 400
- 500
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Search for values and return the result as a list
Search by filter - filtering, sorting Consult the documentation for further information.
Authorizations:
query Parameters
| size | integer <int32> Maxmimum records returned. Default value is 1000. |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserGroupTypePublicApi.getAllFilterablePage
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}UserGroupTypePublicApi.getByIds
Authorizations:
path Parameters
| ids required | Array of objects |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Search user group types Deprecated
Search by user group type filter - filtering, sorting, paging. Consult the documentation for further information.
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}Search user group types Deprecated
Search by user group type filter - filtering, sorting Consult the documentation for further information.
Authorizations:
query Parameters
| size | integer <int32> |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserGroupTypePublicApi.countFilterable
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
0UserGroupTypePublicApi.getByCode Deprecated
Authorizations:
path Parameters
| code required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Get all rows Deprecated
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Returns a row by primary key
Returns existing row by UUID
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Update a value
Update existing value by UUID
Authorizations:
path Parameters
| idOrCode required | string Identifier of an existing value |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> Row unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string |
| name required | string |
object (TimePeriod) | |
| entityName | string |
| expression | string |
| accessRule | string Enum: "READ" "READ_WRITE" |
| fullAccess required | boolean |
| description | string |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Delete
Delete existing entity/value by id or code
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 400
- 500
{- "status": "BAD_REQUEST",
- "timestamp": "2022-11-11T06:55:27.334Z",
- "message": "Wrong format for UUID field. ID value '5131315' is not a valid UUID string.",
- "traceId": "1c81b8e6a7c672df",
- "errors": [
- "'5131315' should be of type java.util.UUID"
]
}AccessRulePublicApi.patch
Authorizations:
path Parameters
| idOrCode required | string |
query Parameters
| immediatelyRefresh | boolean Default: false |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
User group property (or several properties) to update
Responses
Request samples
- Payload
{ }Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}AccessRulePublicApi.saveAndRefresh
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> Row unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string |
| name required | string |
object (TimePeriod) | |
| entityName | string |
| expression | string |
| accessRule | string Enum: "READ" "READ_WRITE" |
| fullAccess required | boolean |
| description | string |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}AccessRulePublicApi.saveDiff
Authorizations:
query Parameters
| compareField | string Default: "id" |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| diffType required | string Enum: "DIFF_TYPE_NEW" "DIFF_TYPE_CHANGE" "DIFF_TYPE_REMOVE" |
object (AccessRule) | |
object (AccessRule) |
Responses
Request samples
- Payload
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]AccessRulePublicApi.diff
Authorizations:
query Parameters
| save | boolean Save the diff immediately |
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/json
| file required | string <binary> File binary content |
Responses
Request samples
- Payload
{- "file": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]AccessRulePublicApi.diffOnly
Authorizations:
query Parameters
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| name | string |
| whenExported | string <date-time> |
| exportedBy | string |
required | Array of objects (AccessRule) |
required | Array of objects (Filter) |
| entityType | string |
| listingType | string |
| listingProfile | string |
| compareField | string |
Responses
Request samples
- Payload
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]AccessRulePublicApi.backup
Authorizations:
query Parameters
object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| entityType required | string |
| compareField | string |
| listingType | string |
| listingProfile | string |
Array of objects (Filter) |
Responses
Request samples
- Payload
{- "entityType": "string",
- "compareField": "string",
- "listingType": "string",
- "listingProfile": "string",
- "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
]
}Response samples
- 200
- 400
- 500
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Search for values and return the result as a list
Search by filter - filtering, sorting Consult the documentation for further information.
Authorizations:
query Parameters
| size | integer <int32> Maxmimum records returned. Default value is 1000. |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]AccessRulePublicApi.getAllFilterablePage
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}AccessRulePublicApi.getByIds
Authorizations:
path Parameters
| ids required | Array of objects |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]AccessRulePublicApi.getAllFilterable Deprecated
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}AccessRulePublicApi.getAllFilterableList Deprecated
Authorizations:
query Parameters
| size | integer <int32> |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]AccessRulePublicApi.getAccessRulesExpressionWrite
Authorizations:
path Parameters
| entityType required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- "string"
]AccessRulePublicApi.getAccessRulesExpressionRead
Authorizations:
path Parameters
| entityType required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- "string"
]AccessRulePublicApi.countFilterable
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
0AccessRulePublicApi.getByCode Deprecated
Authorizations:
path Parameters
| code required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Get all rows Deprecated
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validFor": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "entityName": "string",
- "expression": "string",
- "accessRule": "READ",
- "fullAccess": true,
- "description": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Evict Javers cache.
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 400
- 500
{- "status": "BAD_REQUEST",
- "timestamp": "2022-11-11T06:55:27.334Z",
- "message": "Wrong format for UUID field. ID value '5131315' is not a valid UUID string.",
- "traceId": "1c81b8e6a7c672df",
- "errors": [
- "'5131315' should be of type java.util.UUID"
]
}RoleAccessRulePublicApi.getByIds
Authorizations:
path Parameters
| ids required | Array of strings <uuid> [ items <uuid > ] |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "accessRuleId": "7611c41d-853f-4850-97d6-a5e3aaf07a22",
- "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391",
- "period": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserRolePublicApi.getByIds
Authorizations:
path Parameters
| ids required | Array of strings <uuid> [ items <uuid > ] |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserUserGroupPublicApi.getByIds
Authorizations:
path Parameters
| ids required | Array of strings <uuid> [ items <uuid > ] |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "userGroupId": "080a16e0-8946-456c-aef9-504a239bc5ab",
- "roleInGroup": [
- "string"
], - "period": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "data": { },
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Returns a user group
Returns existing user group by UUID
Authorizations:
path Parameters
| id required | string <uuid> |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Update existing user group
Updates all properties of an existing user group.
Authorizations:
path Parameters
| id required | string <uuid> Identifier of an existing user group |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> (UUID) User unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string (Code) User group unique identifier. |
| type required | string (Type) User group type unique identifier. |
| name required | string (Name) User group description. |
| description | string (DEscription) Description for role. |
| ldapMemberOf | string (Ldap member) If User group is in LDAP, then location in LDAP. |
| parentUserGroupId | string <uuid> (Parent user group ID) Identifier of parent user group. |
| validFrom | string <date-time> (Valid from) User group valid date from. |
| validTo | string <date-time> (Valid to) User group valid date to. |
| dataTags | Array of strings (Data tags) Additional data tags (aka labels). |
string (Email) User group email. | |
| phoneNumber | string (Phone number) User group phone number. |
required | UserGroupType-PruzkumObchodnihoPripadu (object) or UserGroupType-Test (object) or UserGroupType-OR (object) (UserGroupChars) Map of entity characteristics indexed by characteristics code. |
| associatedUserRoleId | string <uuid> (Associated role) If a user has this group, they automatically receive the selected role upon logging in. |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Delete a user group
Delete existing User group by UUID
Authorizations:
path Parameters
| id required | string <uuid> |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 400
- 500
{- "status": "BAD_REQUEST",
- "timestamp": "2022-11-11T06:55:27.334Z",
- "message": "Wrong format for UUID field. ID value '5131315' is not a valid UUID string.",
- "traceId": "1c81b8e6a7c672df",
- "errors": [
- "'5131315' should be of type java.util.UUID"
]
}Returns a row by primary key
Returns existing row by UUID
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Update a value
Update existing value by UUID
Authorizations:
path Parameters
| idOrCode required | string Identifier of an existing value |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> (UUID) User unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string (Code) User group unique identifier. |
| type required | string (Type) User group type unique identifier. |
| name required | string (Name) User group description. |
| description | string (DEscription) Description for role. |
| ldapMemberOf | string (Ldap member) If User group is in LDAP, then location in LDAP. |
| parentUserGroupId | string <uuid> (Parent user group ID) Identifier of parent user group. |
| validFrom | string <date-time> (Valid from) User group valid date from. |
| validTo | string <date-time> (Valid to) User group valid date to. |
| dataTags | Array of strings (Data tags) Additional data tags (aka labels). |
string (Email) User group email. | |
| phoneNumber | string (Phone number) User group phone number. |
required | UserGroupType-PruzkumObchodnihoPripadu (object) or UserGroupType-Test (object) or UserGroupType-OR (object) (UserGroupChars) Map of entity characteristics indexed by characteristics code. |
| associatedUserRoleId | string <uuid> (Associated role) If a user has this group, they automatically receive the selected role upon logging in. |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Delete
Delete existing entity/value by id or code
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 400
- 500
{- "status": "BAD_REQUEST",
- "timestamp": "2022-11-11T06:55:27.334Z",
- "message": "Wrong format for UUID field. ID value '5131315' is not a valid UUID string.",
- "traceId": "1c81b8e6a7c672df",
- "errors": [
- "'5131315' should be of type java.util.UUID"
]
}Update properties of an existing user group
Updates properties of an existing user group.
Authorizations:
path Parameters
| idOrCode required | string Identifier of an existing user group |
query Parameters
| immediatelyRefresh | boolean Default: false |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
User group property (or several properties) to update
Responses
Request samples
- Payload
{ }Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Create new user group
Creates a user group with basic properties set.Either set ID with standard UUID generator, or do not send it at all, it will be generated via backend
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> (UUID) User unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string (Code) User group unique identifier. |
| type required | string (Type) User group type unique identifier. |
| name required | string (Name) User group description. |
| description | string (DEscription) Description for role. |
| ldapMemberOf | string (Ldap member) If User group is in LDAP, then location in LDAP. |
| parentUserGroupId | string <uuid> (Parent user group ID) Identifier of parent user group. |
| validFrom | string <date-time> (Valid from) User group valid date from. |
| validTo | string <date-time> (Valid to) User group valid date to. |
| dataTags | Array of strings (Data tags) Additional data tags (aka labels). |
string (Email) User group email. | |
| phoneNumber | string (Phone number) User group phone number. |
required | UserGroupType-PruzkumObchodnihoPripadu (object) or UserGroupType-Test (object) or UserGroupType-OR (object) (UserGroupChars) Map of entity characteristics indexed by characteristics code. |
| associatedUserRoleId | string <uuid> (Associated role) If a user has this group, they automatically receive the selected role upon logging in. |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}UserGroupPublicApi.saveDiff
Authorizations:
query Parameters
| compareField | string Default: "id" |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| diffType required | string Enum: "DIFF_TYPE_NEW" "DIFF_TYPE_CHANGE" "DIFF_TYPE_REMOVE" |
object (User group) User group with all parameters set | |
object (User group) User group with all parameters set |
Responses
Request samples
- Payload
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserGroupPublicApi.diff
Authorizations:
query Parameters
| save | boolean Save the diff immediately |
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/json
| file required | string <binary> File binary content |
Responses
Request samples
- Payload
{- "file": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]UserGroupPublicApi.diffOnly
Authorizations:
query Parameters
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| name | string |
| whenExported | string <date-time> |
| exportedBy | string |
required | Array of objects (User group) |
required | Array of objects (Filter) |
| entityType | string |
| listingType | string |
| listingProfile | string |
| compareField | string |
Responses
Request samples
- Payload
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]UserGroupPublicApi.backup
Authorizations:
query Parameters
object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| entityType required | string |
| compareField | string |
| listingType | string |
| listingProfile | string |
Array of objects (Filter) |
Responses
Request samples
- Payload
{- "entityType": "string",
- "compareField": "string",
- "listingType": "string",
- "listingProfile": "string",
- "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
]
}Response samples
- 200
- 400
- 500
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Returns list of user groups
Returns existing user groups by given codes
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
Responses
Request samples
- Payload
[- "string"
]Response samples
- 200
- 400
- 500
[- {
- "name": "string",
- "code": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "readonlyAccess": true,
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whenEdited": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "period": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "chars": {
- "empty": true,
- "property1": { },
- "property2": { }
}, - "userGroupType": {
- "code": "string",
- "name": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "readonlyAccess": true,
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whenEdited": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "description": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "valid": "string",
- "localizationData": {
- "empty": true,
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}
}, - "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656"
}
]Returns a map of user groups for each user UUID
Returns map of existing user groups by given user UUIDs
Authorizations:
query Parameters
| userIds required | Array of strings <uuid> [ items <uuid > ] |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "property1": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "property2": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]
}Get all user groups by user UUID
Get all user groups by user UUID
Authorizations:
path Parameters
| userId required | string <uuid> |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Search for values and return the result as a list
Search by filter - filtering, sorting Consult the documentation for further information.
Authorizations:
query Parameters
| size | integer <int32> Maxmimum records returned. Default value is 1000. |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Find user group by code
Find user group by code.
Authorizations:
path Parameters
| code required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Find userGroup by value stored in chars
Find userGroup by value stored in chars
Authorizations:
path Parameters
| path required | string |
| value required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Searches tickets
Searches tickets by a filter allowing filtering, sorting, paging. For more information, please see the documentation.
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserGroupPublicApi.getAllFilterablePage
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}Searches groups in LDAP
Searches for user groups in LDAP by their membership (ldapMemberOf)
Authorizations:
path Parameters
| ldapMemberOf required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "name": "string",
- "code": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "readonlyAccess": true,
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whenEdited": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "period": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "chars": {
- "empty": true,
- "property1": { },
- "property2": { }
}, - "userGroupType": {
- "code": "string",
- "name": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "readonlyAccess": true,
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whenEdited": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "description": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "valid": "string",
- "localizationData": {
- "empty": true,
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "userGroupSpecId": "65ef8526-0243-4b49-9f19-11eaab60d75b",
- "registry": {
- "property1": { },
- "property2": { }
}
}, - "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656"
}UserGroupPublicApi.getAllFilterable Deprecated
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}UserGroupPublicApi.getAllFilterableList Deprecated
Authorizations:
query Parameters
| size | integer <int32> |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserGroupPublicApi.getDataTags
Authorizations:
query Parameters
| search | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- "string"
]UserGroupPublicApi.countFilterable
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
0UserGroupPublicApi.getByCode Deprecated
Authorizations:
path Parameters
| code required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Get all user groups Deprecated
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Returns a user groups
Returns existing user groups by given UUIDs
Authorizations:
path Parameters
| ids required | Array of strings <uuid> [ items <uuid > ] |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Convert keys to values according to the converter and parameters
Authorizations:
path Parameters
| convertorCode required | string Identifier of an existing value convertor |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| keys required | Array of objects |
| params | object |
object |
Responses
Request samples
- Payload
{- "keys": [
- { }
], - "params": { },
- "tqlParams": {
- "property1": { },
- "property2": { }
}
}Response samples
- 200
- 400
- 500
{- "property1": "string",
- "property2": "string"
}Returns a row by primary key
Returns existing row by UUID
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Update a value
Update existing value by UUID
Authorizations:
path Parameters
| idOrCode required | string Identifier of an existing value |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> Row unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string [ 1 .. 255 ] characters Code of this value. It is used whenever the value is referenced from computer program or API. It MUST be unique and SHOULD contain only ASCII characters without spaces (best to use valid programminglanguage identifier). |
| name required | string [ 1 .. 255 ] characters Name of this value, this is displayed to the user. |
| validityFrom | string <date-time> Begin of the validity of the value. |
| validityTo | string <date-time> End of the validity of the value. |
| description | string Description of the value, it may be used as a tooltip. |
object Localization data of the record attributes | |
| type required | string (Type) Enum: "INDIVIDUAL" "WORK_GROUP" "ORGANIZATION" "EXTERNAL" Indicates the type of the resource. This value MUST be one of user type code from 'User type' registry (INDIVIDUAL, WORK_GROUP, ORGANIZATION). |
| entitySpecId | string <uuid> Entity specification ID. |
| config | object |
required | object |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Delete
Delete existing entity/value by id or code
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 400
- 500
{- "status": "BAD_REQUEST",
- "timestamp": "2022-11-11T06:55:27.334Z",
- "message": "Wrong format for UUID field. ID value '5131315' is not a valid UUID string.",
- "traceId": "1c81b8e6a7c672df",
- "errors": [
- "'5131315' should be of type java.util.UUID"
]
}UserTypePublicApi.patch
Authorizations:
path Parameters
| idOrCode required | string |
query Parameters
| immediatelyRefresh | boolean Default: false |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
User group property (or several properties) to update
Responses
Request samples
- Payload
{ }Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}UserTypePublicApi.saveAndRefresh
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> Row unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string [ 1 .. 255 ] characters Code of this value. It is used whenever the value is referenced from computer program or API. It MUST be unique and SHOULD contain only ASCII characters without spaces (best to use valid programminglanguage identifier). |
| name required | string [ 1 .. 255 ] characters Name of this value, this is displayed to the user. |
| validityFrom | string <date-time> Begin of the validity of the value. |
| validityTo | string <date-time> End of the validity of the value. |
| description | string Description of the value, it may be used as a tooltip. |
object Localization data of the record attributes | |
| type required | string (Type) Enum: "INDIVIDUAL" "WORK_GROUP" "ORGANIZATION" "EXTERNAL" Indicates the type of the resource. This value MUST be one of user type code from 'User type' registry (INDIVIDUAL, WORK_GROUP, ORGANIZATION). |
| entitySpecId | string <uuid> Entity specification ID. |
| config | object |
required | object |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}UserTypePublicApi.saveDiff
Authorizations:
query Parameters
| compareField | string Default: "id" |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| diffType required | string Enum: "DIFF_TYPE_NEW" "DIFF_TYPE_CHANGE" "DIFF_TYPE_REMOVE" |
object (UserType) | |
object (UserType) |
Responses
Request samples
- Payload
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserTypePublicApi.diff
Authorizations:
query Parameters
| save | boolean Save the diff immediately |
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/json
| file required | string <binary> File binary content |
Responses
Request samples
- Payload
{- "file": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]UserTypePublicApi.diffOnly
Authorizations:
query Parameters
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| name | string |
| whenExported | string <date-time> |
| exportedBy | string |
required | Array of objects (UserType) |
required | Array of objects (Filter) |
| entityType | string |
| listingType | string |
| listingProfile | string |
| compareField | string |
Responses
Request samples
- Payload
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]UserTypePublicApi.backup
Authorizations:
query Parameters
object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| entityType required | string |
| compareField | string |
| listingType | string |
| listingProfile | string |
Array of objects (Filter) |
Responses
Request samples
- Payload
{- "entityType": "string",
- "compareField": "string",
- "listingType": "string",
- "listingProfile": "string",
- "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
]
}Response samples
- 200
- 400
- 500
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Search for values and return the result as a list
Search by filter - filtering, sorting Consult the documentation for further information.
Authorizations:
query Parameters
| size | integer <int32> Maxmimum records returned. Default value is 1000. |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserTypePublicApi.getAllFilterablePage
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}UserTypePublicApi.getByIds
Authorizations:
path Parameters
| ids required | Array of objects |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Search user types Deprecated
Search by user type filter - filtering, sorting, paging. Consult the documentation for further information.
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}Search user types Deprecated
Search by user type filter - filtering, sorting Consult the documentation for further information.
Authorizations:
query Parameters
| size | integer <int32> |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserTypePublicApi.countFilterable
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
0Returns a row by code Deprecated
Returns existing row by UUID
Authorizations:
path Parameters
| code required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Get all rows Deprecated
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "type": "INDIVIDUAL",
- "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "icon": "string",
- "config": { },
- "registry": {
- "property1": { },
- "property2": { }
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Evaluate a tSM script.
Authorizations:
path Parameters
| scriptCode required | string Code of an existing script (use tSM Config Form to administer scripts). |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/json
| property name* additional property | object |
Responses
Request samples
- Payload
{- "property1": { },
- "property2": { }
}Response samples
- 200
- 400
- 500
{ }Find user group region by group code
Find user group region by group code.
Authorizations:
path Parameters
| groupId required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "userGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Find user group region by group code and region id
Find user group region by group code and region id
Authorizations:
path Parameters
| groupId required | string |
| regionId required | string <uuid> |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "userGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Find user group region by group code
Find user group region by group code.
Authorizations:
path Parameters
| groupCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "userGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Get all user groups
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "userGroup": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "name": "string",
- "description": "string",
- "ldapMemberOf": "string",
- "parentUserGroupId": "7ecd7fe8-bf60-4580-becd-4f971de7ac8b",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "dataTags": [
- "string"
], - "email": "string",
- "phoneNumber": "string",
- "chars": { },
- "associatedUserRoleId": "e4098f96-2e72-45ab-88e8-c382814ee656",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Update existing user
Updates all properties of an existing user.
Authorizations:
path Parameters
| id required | string <uuid> Identifier of an existing user |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> (UUID) User unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string (Code) User unique identifier / business key in readable format. |
| type required | string (Type) Indicates the type of the resource. This value MUST be one of user type code from 'User type' registry (INDIVIDUAL, WORK_GROUP, ORGANIZATION). |
| givenName | string (Given name) User given name. |
| familyName | string (Family name) User family name. |
| name required | string (Name) Comapany or group name. Is required for register User type WORK_GROUP and ORGANIZATION. For INDIVIDUAL option is parameter ignored. |
string (Email) User email. | |
| phoneNumber | string (Phone number) User phone number. |
| webSite | string (Web site) URL of the user’s Web page or blog. |
| status required | string (Status) Enum: "ENABLE" "DISABLE" User status. This value MUST be one of user status code from 'User status' registry (ENABLE, DISABLE). Default value is 'ENABLE'. |
| validFrom | string <date-time> (Valid from) yyyy-MM-dd User valid date from. Required date format yyyy-MM-dd. |
| validTo | string <date-time> (Valid to) yyyy-MM-dd User valid date to. Required date format yyyy-MM-dd. |
| authentication required | string (Authentication) Default: "PASSWORD" Enum: "LDAP" "PKI" "AD" "PASSWORD" "EMPTY" User authentication. This value MUST be one of authentication code from 'Authentication' registry (LDAP, PKI, AD, EMPTY). Default value is 'AD'. |
| description | string (Description) User description. |
| groups | Array of strings (Groups) User groups assigned to the user. |
| roles | Array of strings (Roles) User roles assigned to the user. |
| dataTags | Array of strings (Data tags) Additional data tags (aka labels). |
required | UserType-TSM-UsersType-Individual (object) or UserType-TSM-UsersModule-WFM (object) (UserChars) Map of entity characteristics indexed by characteristics code. |
| supervisorId | string <uuid> (Supervisor UUID) Supervisor or manager of the user (UUID). |
Array of objects (Regions) User regions. | |
object (NotificationConfig) Data for notification configuration. | |
| modulesIds | Array of strings <uuid> [ items <uuid > ] |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Update properties of an existing user
Updates properties of an existing user.
Authorizations:
path Parameters
| id required | string <uuid> Identifier of an existing user |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
User group property (or several properties) to update
Responses
Request samples
- Payload
{ }Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Create new user
Creates a user with basic properties set.Either set ID with standard UUID generator, or do not send it at all, it will be generated via backend
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> (UUID) User unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string (Code) User unique identifier / business key in readable format. |
| type required | string (Type) Indicates the type of the resource. This value MUST be one of user type code from 'User type' registry (INDIVIDUAL, WORK_GROUP, ORGANIZATION). |
| givenName | string (Given name) User given name. |
| familyName | string (Family name) User family name. |
| name required | string (Name) Comapany or group name. Is required for register User type WORK_GROUP and ORGANIZATION. For INDIVIDUAL option is parameter ignored. |
string (Email) User email. | |
| phoneNumber | string (Phone number) User phone number. |
| webSite | string (Web site) URL of the user’s Web page or blog. |
| status required | string (Status) Enum: "ENABLE" "DISABLE" User status. This value MUST be one of user status code from 'User status' registry (ENABLE, DISABLE). Default value is 'ENABLE'. |
| validFrom | string <date-time> (Valid from) yyyy-MM-dd User valid date from. Required date format yyyy-MM-dd. |
| validTo | string <date-time> (Valid to) yyyy-MM-dd User valid date to. Required date format yyyy-MM-dd. |
| authentication required | string (Authentication) Default: "PASSWORD" Enum: "LDAP" "PKI" "AD" "PASSWORD" "EMPTY" User authentication. This value MUST be one of authentication code from 'Authentication' registry (LDAP, PKI, AD, EMPTY). Default value is 'AD'. |
| description | string (Description) User description. |
| groups | Array of strings (Groups) User groups assigned to the user. |
| roles | Array of strings (Roles) User roles assigned to the user. |
| dataTags | Array of strings (Data tags) Additional data tags (aka labels). |
required | UserType-TSM-UsersType-Individual (object) or UserType-TSM-UsersModule-WFM (object) (UserChars) Map of entity characteristics indexed by characteristics code. |
| supervisorId | string <uuid> (Supervisor UUID) Supervisor or manager of the user (UUID). |
Array of objects (Regions) User regions. | |
object (NotificationConfig) Data for notification configuration. | |
| modulesIds | Array of strings <uuid> [ items <uuid > ] |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Uploads user thumbnail
Upload user thumbnal as base64 encoded image string
Authorizations:
path Parameters
| id required | string <uuid> Identifier of an existing user |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| userId required | string <uuid> The ID the API uses to uniquely identify the user. |
| photoData required | string Base64 encoding photo imge. |
Responses
Request samples
- Payload
{- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
- "photoData": "string"
}Response samples
- 400
- 500
{- "status": "BAD_REQUEST",
- "timestamp": "2022-11-11T06:55:27.334Z",
- "message": "Wrong format for UUID field. ID value '5131315' is not a valid UUID string.",
- "traceId": "1c81b8e6a7c672df",
- "errors": [
- "'5131315' should be of type java.util.UUID"
]
}Change a user’s password
Change a user’s password.
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| password required | string Plain text of a user new password. |
Responses
Request samples
- Payload
{- "password": "string"
}Response samples
- 400
- 500
{- "status": "BAD_REQUEST",
- "timestamp": "2022-11-11T06:55:27.334Z",
- "message": "Wrong format for UUID field. ID value '5131315' is not a valid UUID string.",
- "traceId": "1c81b8e6a7c672df",
- "errors": [
- "'5131315' should be of type java.util.UUID"
]
}Returns a user
Returns existing user by UUID or code
Authorizations:
path Parameters
| idOrCode required | string |
query Parameters
| expand | Array of strings (UserExtend) Items Enum: "REGIONS" "ROLES" Example: expand=REGIONS Possible extensions of the user object |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}UserPublicApi.getUserAuthorities
Authorizations:
path Parameters
| userId required | string <uuid> Identifier of an existing user |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- "string"
]Returns a users with given group
Returns a users with given group
Authorizations:
path Parameters
| idOrCode required | string Identifier of use group |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Returns a valid users with given group
Returns a valid users with given group
Authorizations:
path Parameters
| idOrCode required | string Identifier of use group |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Returns a users with given groups
Returns a users with given groups
Authorizations:
path Parameters
| ids required | Array of strings <uuid> [ items <uuid > ] Identifiers UUID of user groups |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserPublicApi.getByType
Authorizations:
path Parameters
| type required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Search users
Search by user filter - filtering, sorting, paging. Consult the documentation for further information.
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}Search users
Search by user filter - filtering, sorting, paging. Consult the documentation for further information.
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Returns a users
Returns existing users by chars key
Authorizations:
path Parameters
| key required | string |
| value required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Returns a users
Returns existing users by chars key and subkey
Authorizations:
path Parameters
| key required | string |
| subkey required | string |
| value required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Returns a users
Returns existing users by chars key and subkey
Authorizations:
path Parameters
| key required | string |
| subkey required | string |
| value required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Returns a user
Returns existing user by code, ignore case
Authorizations:
path Parameters
| code required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}UserPublicApi.getAllByIds
Authorizations:
path Parameters
| ids required | Array of strings <uuid> [ items <uuid > ] |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "type": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "webSite": "string",
- "status": "ENABLE",
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "authentication": "LDAP",
- "description": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "dataTags": [
- "string"
], - "chars": { },
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "regions": [
- {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "coefficient": 0,
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z"
}
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]UserPublicApi.addRoleToUser
Authorizations:
path Parameters
| userId required | string <uuid> Identifier of an existing user |
| roleName required | string Name of an existing role |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "user": {
- "code": "string",
- "type": {
- "code": "string",
- "name": "string",
- "type": "INDIVIDUAL",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "readonlyAccess": true,
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whenEdited": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "description": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "valid": "string",
- "localizationData": {
- "empty": true,
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "entitySpecId": "65cb4992-7cbf-4ce6-9e4b-7116d921100e",
- "config": { },
- "icon": "string",
- "registry": {
- "property1": { },
- "property2": { }
}
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "readonlyAccess": true,
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whenEdited": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "email": "string",
- "phoneNumber": "string",
- "baseLocationId": "string",
- "webSite": "string",
- "status": "ENABLE",
- "period": {
- "validFrom": "2019-08-24T14:15:22Z",
- "validTo": "2019-08-24T14:15:22Z",
- "isValid": true
}, - "authentication": "LDAP",
- "customerMenu": [
- {
- "icon": "string",
- "label": "string",
- "routerLink": [
- "string"
]
}
], - "profileImage": "string",
- "mimeType": "string",
- "description": "string",
- "supervisorId": "a2fda596-7b8e-406f-9d80-2cf98d860455",
- "addressIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "chars": {
- "empty": true,
- "property1": { },
- "property2": { }
}, - "modulesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "assignedProfilesIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "activeProfileId": "10313503-5eee-4dfd-ab6d-27fa74ea6b2a",
- "usersAssignedIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "dataTags": [
- "string"
], - "notificationConfig": {
- "ignoredTemplateCodes": [
- "string"
], - "ignoredUserGroups": [
- "string"
]
}
}, - "role": {
- "code": "string",
- "name": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "readonlyAccess": true,
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whenEdited": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "description": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "valid": "string",
- "localizationData": {
- "empty": true,
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "ldapMemberOf": "string",
- "dataTags": [
- "string"
]
}, - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "readonlyAccess": true,
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whenEdited": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "grantOption": true
}Returns a row by primary key
Returns existing row by UUID
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Update a value
Update existing value by UUID
Authorizations:
path Parameters
| idOrCode required | string Identifier of an existing value |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> Row unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string [ 1 .. 255 ] characters Code of this value. It is used whenever the value is referenced from computer program or API. It MUST be unique and SHOULD contain only ASCII characters without spaces (best to use valid programminglanguage identifier). |
| name required | string [ 1 .. 255 ] characters Name of this value, this is displayed to the user. |
| validityFrom | string <date-time> Begin of the validity of the value. |
| validityTo | string <date-time> End of the validity of the value. |
| description | string Description of the value, it may be used as a tooltip. |
object Localization data of the record attributes | |
| dataTags | Array of strings |
| ldapMemberOf | string If UserRole is in LDAP then location in LDAP. |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Delete
Delete existing entity/value by id or code
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 400
- 500
{- "status": "BAD_REQUEST",
- "timestamp": "2022-11-11T06:55:27.334Z",
- "message": "Wrong format for UUID field. ID value '5131315' is not a valid UUID string.",
- "traceId": "1c81b8e6a7c672df",
- "errors": [
- "'5131315' should be of type java.util.UUID"
]
}RolePublicApi.patch
Authorizations:
path Parameters
| idOrCode required | string |
query Parameters
| immediatelyRefresh | boolean Default: false |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
User group property (or several properties) to update
Responses
Request samples
- Payload
{ }Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}RolePublicApi.saveAndRefresh
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> Row unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string [ 1 .. 255 ] characters Code of this value. It is used whenever the value is referenced from computer program or API. It MUST be unique and SHOULD contain only ASCII characters without spaces (best to use valid programminglanguage identifier). |
| name required | string [ 1 .. 255 ] characters Name of this value, this is displayed to the user. |
| validityFrom | string <date-time> Begin of the validity of the value. |
| validityTo | string <date-time> End of the validity of the value. |
| description | string Description of the value, it may be used as a tooltip. |
object Localization data of the record attributes | |
| dataTags | Array of strings |
| ldapMemberOf | string If UserRole is in LDAP then location in LDAP. |
object (Audit information) |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}RolePublicApi.saveDiff
Authorizations:
query Parameters
| compareField | string Default: "id" |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| diffType required | string Enum: "DIFF_TYPE_NEW" "DIFF_TYPE_CHANGE" "DIFF_TYPE_REMOVE" |
object (Role) | |
object (Role) |
Responses
Request samples
- Payload
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]RolePublicApi.diff
Authorizations:
query Parameters
| save | boolean Save the diff immediately |
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/json
| file required | string <binary> File binary content |
Responses
Request samples
- Payload
{- "file": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]RolePublicApi.diffOnly
Authorizations:
query Parameters
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| name | string |
| whenExported | string <date-time> |
| exportedBy | string |
required | Array of objects (Role) |
required | Array of objects (Filter) |
| entityType | string |
| listingType | string |
| listingProfile | string |
| compareField | string |
Responses
Request samples
- Payload
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
}
]RolePublicApi.backup
Authorizations:
query Parameters
object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| entityType required | string |
| compareField | string |
| listingType | string |
| listingProfile | string |
Array of objects (Filter) |
Responses
Request samples
- Payload
{- "entityType": "string",
- "compareField": "string",
- "listingType": "string",
- "listingProfile": "string",
- "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
]
}Response samples
- 200
- 400
- 500
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Search for values and return the result as a list
Search by filter - filtering, sorting Consult the documentation for further information.
Authorizations:
query Parameters
| size | integer <int32> Maxmimum records returned. Default value is 1000. |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]RolePublicApi.getAllFilterablePage
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}RolePublicApi.getByIds
Authorizations:
path Parameters
| ids required | Array of objects |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Search roles Deprecated
Search by role filter - filtering, sorting, paging. Consult the documentation for further information.
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}Search roles Deprecated
Search by role filter - filtering, sorting Consult the documentation for further information.
Authorizations:
query Parameters
| size | integer <int32> |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]RolePublicApi.countFilterable
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
0RolePublicApi.getByCode Deprecated
Authorizations:
path Parameters
| code required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}Get all roles by codes
Authorizations:
path Parameters
| ids required | Array of strings |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Get all roles by codes
Authorizations:
path Parameters
| codes required | Array of strings |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Get all rows Deprecated
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "validityFrom": "2019-08-24T14:15:22Z",
- "validityTo": "2019-08-24T14:15:22Z",
- "description": "string",
- "localizationData": {
- "cs": {
- "name": "Název",
- "description": "Popis"
}, - "en": {
- "name": "Name",
- "description": "Description"
}
}, - "dataTags": [
- "string"
], - "ldapMemberOf": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]RolePrivPublicApi.getByIds
Authorizations:
path Parameters
| ids required | Array of strings <uuid> [ items <uuid > ] |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "privId": "2268b9db-4d1d-4a1d-8d00-ae208ca7dc0b",
- "roleId": "7382d58e-652a-4905-b7c9-bcca1e0e5391",
- "sign": "string",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}
}
]Returns a row by primary key
Returns existing row by UUID
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}Update a value
Update existing value by UUID
Authorizations:
path Parameters
| idOrCode required | string Identifier of an existing value |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> Row unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string |
| name required | string |
| description | string |
| privType | string Enum: "SYSTEM" "USER" |
object (Audit information) | |
object Additional general configuration of the Priv entity. |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}Delete
Delete existing entity/value by id or code
Authorizations:
path Parameters
| idOrCode required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 400
- 500
{- "status": "BAD_REQUEST",
- "timestamp": "2022-11-11T06:55:27.334Z",
- "message": "Wrong format for UUID field. ID value '5131315' is not a valid UUID string.",
- "traceId": "1c81b8e6a7c672df",
- "errors": [
- "'5131315' should be of type java.util.UUID"
]
}PrivPublicApi.patch
Authorizations:
path Parameters
| idOrCode required | string |
query Parameters
| immediatelyRefresh | boolean Default: false |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
User group property (or several properties) to update
Responses
Request samples
- Payload
{ }Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}PrivPublicApi.saveAndRefresh
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| id | string <uuid> Row unique identifier / primary key in UUID format. ID may be assigned by the client using UUIDv4 standard, or it is generated by TSM.This ID SHOULD NOT be displayed to the end user. |
| code required | string |
| name required | string |
| description | string |
| privType | string Enum: "SYSTEM" "USER" |
object (Audit information) | |
object Additional general configuration of the Priv entity. |
Responses
Request samples
- Payload
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}PrivPublicApi.saveDiff
Authorizations:
query Parameters
| compareField | string Default: "id" |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| diffType required | string Enum: "DIFF_TYPE_NEW" "DIFF_TYPE_CHANGE" "DIFF_TYPE_REMOVE" |
object (Priv) | |
object (Priv) |
Responses
Request samples
- Payload
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
}
]Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
]PrivPublicApi.diff
Authorizations:
query Parameters
| save | boolean Save the diff immediately |
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/json
| file required | string <binary> File binary content |
Responses
Request samples
- Payload
{- "file": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
}
]PrivPublicApi.diffOnly
Authorizations:
query Parameters
| compareField | string Default: "id" Field for entry matching |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| name | string |
| whenExported | string <date-time> |
| exportedBy | string |
required | Array of objects (Priv) |
required | Array of objects (Filter) |
| entityType | string |
| listingType | string |
| listingProfile | string |
| compareField | string |
Responses
Request samples
- Payload
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Response samples
- 200
- 400
- 500
[- {
- "diffType": "DIFF_TYPE_NEW",
- "left": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}, - "right": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
}
]PrivPublicApi.backup
Authorizations:
query Parameters
object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Request Body schema: application/jsonrequired
| entityType required | string |
| compareField | string |
| listingType | string |
| listingProfile | string |
Array of objects (Filter) |
Responses
Request samples
- Payload
{- "entityType": "string",
- "compareField": "string",
- "listingType": "string",
- "listingProfile": "string",
- "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
]
}Response samples
- 200
- 400
- 500
{- "name": "string",
- "whenExported": "2019-08-24T14:15:22Z",
- "exportedBy": "string",
- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
], - "filtering": [
- {
- "key": "string",
- "value": "string",
- "column": "string",
- "operator": "LIKE",
- "nestedPath": "string",
- "isNested": true,
- "nestedProperty": "string"
}
], - "entityType": "string",
- "listingType": "string",
- "listingProfile": "string",
- "compareField": "string"
}Search for values and return the result as a list
Search by filter - filtering, sorting Consult the documentation for further information.
Authorizations:
query Parameters
| size | integer <int32> Maxmimum records returned. Default value is 1000. |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
]PrivPublicApi.getAllFilterablePage
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}PrivPublicApi.getByIds
Authorizations:
path Parameters
| ids required | Array of objects |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
]PrivPublicApi.getAllFilterable Deprecated
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "totalElements": 0,
- "totalPages": 0,
- "first": true,
- "last": true,
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "size": 0,
- "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
], - "number": 0,
- "numberOfElements": 0,
- "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": true,
- "empty": true
}, - "offset": 0,
- "pageNumber": 0,
- "pageSize": 0,
- "paged": true,
- "unpaged": true
}, - "empty": true
}PrivPublicApi.getAllFilterableList Deprecated
Authorizations:
query Parameters
| size | integer <int32> |
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
]PrivPublicApi.countFilterable
Authorizations:
query Parameters
required | object (Filtering) |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
0PrivPublicApi.getByCode Deprecated
Authorizations:
path Parameters
| code required | string |
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}Get all rows Deprecated
Authorizations:
header Parameters
| X-Request-Id | string X-Request-Id is a random request-id to uniquely identify each request sent to tSM. This ID is available as the X-Request-Id header in API Response object. |
| X-Correlation-Id | string X-Correlation-Id , also known as a Transit ID, is a unique identifier value that is attached to requests and messages that allow reference to a particular transaction or event chain. For every request, you should use X-Request-Id, for request transaction, you should use X-Correlation-ID. |
Responses
Response samples
- 200
- 400
- 500
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "privType": "SYSTEM",
- "auditInfo": {
- "version": 0,
- "whoInserted": "string",
- "whenInserted": "2019-08-24T14:15:22Z",
- "whoEdited": "string",
- "whenEdited": "2019-08-24T14:15:22Z"
}, - "config": {
- "property1": { },
- "property2": { }
}
}
]