Files
loyalty-agent-service/src/main/resources/specs/attribute.json

5622 lines
197 KiB
JSON

{
"openapi": "3.1.0",
"info": {
"title": "OpenAPI definition",
"version": "v0"
},
"servers": [
{
"url": "http://attribute-service:8080",
"description": "Generated server url"
}
],
"tags": [
{
"name": "Mapping Matrix",
"description": "Context Mapping Matrix APIs"
}
],
"paths": {
"/api/static-attribute/csr/create": {
"post": {
"tags": [
"static-attribute-resource"
],
"operationId": "create",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultStaticAttributeDto"
}
}
}
}
}
}
},
"/api/static-attribute/csr/create-draft": {
"post": {
"tags": [
"static-attribute-resource"
],
"operationId": "createDraft",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultStaticAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/create": {
"post": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "create_1",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultDynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/create-draft": {
"post": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "createDraft_1",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultDynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/edit": {
"post": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "editCustomerAttributeValue",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomerAttributeValueChangeRequestVo"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultCustomerAttributeValueChangeVo"
}
}
}
}
}
}
},
"/api/attribute/dynamic/update": {
"post": {
"tags": [
"attribute-controller"
],
"operationId": "updateAttributeValue",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateAttributeValueVo"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/UpdateAttributeValueVo"
}
}
}
}
}
}
},
"/api/attribute-group/csr/create": {
"post": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "create_2",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultAttributeGroupDto"
}
}
}
}
}
}
},
"/api/attribute-group/csr/create-draft": {
"post": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "createDraft_2",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultAttributeGroupDto"
}
}
}
}
}
}
},
"/api/static-attribute/csr/reject": {
"patch": {
"tags": [
"static-attribute-resource"
],
"operationId": "reject",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RejectRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultStaticAttributeDto"
}
}
}
}
}
}
},
"/api/static-attribute/csr/edit": {
"patch": {
"tags": [
"static-attribute-resource"
],
"operationId": "edit",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultStaticAttributeDto"
}
}
}
}
}
}
},
"/api/static-attribute/csr/edit-draft": {
"patch": {
"tags": [
"static-attribute-resource"
],
"operationId": "editDraft",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultStaticAttributeDto"
}
}
}
}
}
}
},
"/api/static-attribute/csr/bulk-upload": {
"patch": {
"tags": [
"static-attribute-resource"
],
"operationId": "bulkUpload",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkUploadRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/static-attribute/csr/bulk-reject": {
"patch": {
"tags": [
"static-attribute-resource"
],
"operationId": "bulkReject",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/static-attribute/csr/bulk-approve": {
"patch": {
"tags": [
"static-attribute-resource"
],
"operationId": "bulkApprove",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/static-attribute/csr/approve": {
"patch": {
"tags": [
"static-attribute-resource"
],
"operationId": "approve",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApproveRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultStaticAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/reject": {
"patch": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "reject_1",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RejectRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultDynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/edit": {
"patch": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "edit_1",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultDynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/edit-draft": {
"patch": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "editDraft_1",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultDynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/bulk-upload": {
"patch": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "bulkUpload_1",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkUploadRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/dynamic-attribute/csr/bulk-reject": {
"patch": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "bulkReject_1",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/dynamic-attribute/csr/bulk-approve": {
"patch": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "bulkApprove_1",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/dynamic-attribute/csr/approve": {
"patch": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "approve_1",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApproveRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultDynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/reject": {
"patch": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "rejectCustomerAttributeValue",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RejectRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultCustomerAttributeValueChangeVo"
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/approve": {
"patch": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "approveCustomerAttributeValue",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApproveRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultCustomerAttributeValueChangeVo"
}
}
}
}
}
}
},
"/api/attribute-group/csr/reject": {
"patch": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "reject_2",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RejectRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultAttributeGroupDto"
}
}
}
}
}
}
},
"/api/attribute-group/csr/edit": {
"patch": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "edit_2",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultAttributeGroupDto"
}
}
}
}
}
}
},
"/api/attribute-group/csr/edit-draft": {
"patch": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "editDraft_2",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultAttributeGroupDto"
}
}
}
}
}
}
},
"/api/attribute-group/csr/bulk-upload": {
"patch": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "bulkUpload_2",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkUploadRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/attribute-group/csr/bulk-reject": {
"patch": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "bulkReject_2",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/attribute-group/csr/bulk-approve": {
"patch": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "bulkApprove_2",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/attribute-group/csr/approve": {
"patch": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "approve_2",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApproveRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultAttributeGroupDto"
}
}
}
}
}
}
},
"/api/static-attribute/{attributeId}": {
"get": {
"tags": [
"static-attribute-controller"
],
"operationId": "findStaticAttributeById",
"parameters": [
{
"name": "attributeId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/StaticAttributeVo"
}
}
}
}
}
}
},
"/api/static-attribute/csr/{recordNo}": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "findByRecordNo",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
}
}
}
}
},
"/api/static-attribute/csr/{group}/list": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "listByGroupCode",
"parameters": [
{
"name": "group",
"in": "path",
"required": true,
"schema": {
"type": "string",
"minLength": 1
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
}
}
}
}
}
},
"/api/static-attribute/csr/view/list": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "findViewByCriteria",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/StaticAttributeViewCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
}
}
}
}
}
},
"/api/static-attribute/csr/view/count": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "findViewByCriteria_1",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/StaticAttributeViewCriteria"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "integer",
"format": "int64"
}
}
}
}
}
}
},
"/api/static-attribute/csr/rejection-reason/{recordNo}": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "rejectionReason",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/RejectionReasonVo"
}
}
}
}
}
}
},
"/api/static-attribute/csr/list": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "getAll",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/StaticAttributeCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
}
}
}
}
}
},
"/api/static-attribute/csr/id": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "findActiveByIds",
"parameters": [
{
"name": "params",
"in": "query",
"required": true,
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
}
}
}
}
},
"/api/static-attribute/csr/id/{id}": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "findActiveById",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
}
}
}
}
},
"/api/static-attribute/csr/id/generate": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "generateId",
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/api/static-attribute/csr/id/check/{id}": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "checkId",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"pattern": "^(?!.*__)[A-Z0-9][A-Z0-9_]*$"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/api/static-attribute/csr/history/{recordNo}": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "findHistoryByRecordNo",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
}
}
}
}
},
"/api/static-attribute/csr/history/list": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "getAllHistory",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/StaticAttributeCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
}
}
}
}
}
},
"/api/static-attribute/csr/count": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "count",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/StaticAttributeCriteria"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "integer",
"format": "int64"
}
}
}
}
}
}
},
"/api/static-attribute/csr/context/{contextId}/list": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "getAllByContextId",
"parameters": [
{
"name": "contextId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"minLength": 1
}
},
{
"name": "search",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
}
}
}
}
}
},
"/api/static-attribute/attribute-type/list": {
"get": {
"tags": [
"static-attribute-resource"
],
"operationId": "getAllAttributeType",
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReferenceData"
}
}
}
}
}
}
}
},
"/api/mapping-matrix": {
"get": {
"tags": [
"Mapping Matrix"
],
"summary": "Get mapping matrix",
"description": "Returns mapping matrix based on object type (Static Attribute or Entity)",
"operationId": "getMappingMatrix",
"parameters": [
{
"name": "objectType",
"in": "query",
"required": true,
"schema": {
"type": "string",
"pattern": "STATIC_ATTRIBUTE|ENTITY"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/MappingMatrixResponseDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/{attributeId}": {
"get": {
"tags": [
"dynamic-attribute-controller"
],
"operationId": "findAttributeById",
"parameters": [
{
"name": "attributeId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/DynamicAttributeVo"
}
}
}
}
}
}
},
"/api/dynamic-attribute/list-by-data-type": {
"get": {
"tags": [
"dynamic-attribute-controller"
],
"operationId": "getListDynamicAttributeByDataType",
"parameters": [
{
"name": "dataType",
"in": "query",
"required": true,
"schema": {
"type": "string",
"enum": [
"STRING",
"NUMBER",
"DATE",
"BOOLEAN",
"TIME"
]
}
},
{
"name": "searchComponent",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DynamicAttributeVo"
}
}
}
}
}
}
}
},
"/api/dynamic-attribute/list-active": {
"get": {
"tags": [
"dynamic-attribute-controller"
],
"operationId": "getListActive",
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DynamicAttributeVo"
}
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/{recordNo}": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "findByRecordNo_1",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/view/list": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "findViewByCriteria_2",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/DynamicAttributeViewCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/view/count": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "countViewByCriteria",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/DynamicAttributeViewCriteria"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "integer",
"format": "int64"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/rejection-reason/{recordNo}": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "rejectionReason_1",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/RejectionReasonVo"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/list": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "getAll_1",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/DynamicAttributeCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/id": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "findActiveByIds_1",
"parameters": [
{
"name": "params",
"in": "query",
"required": true,
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/id/{id}": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "findActiveById_1",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/id/generate": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "generateId_1",
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/id/check/{id}": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "checkId_1",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"pattern": "^(?!.*__)[A-Z0-9][A-Z0-9_]*$"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/history/{recordNo}": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "findHistoryByRecordNo_1",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/history/list": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "getAllHistory_1",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/DynamicAttributeCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/count": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "count_1",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/DynamicAttributeCriteria"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "integer",
"format": "int64"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/context/{contextId}/list": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "getAllByContextId_1",
"parameters": [
{
"name": "contextId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"minLength": 1
}
},
{
"name": "search",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
}
}
}
}
}
},
"/api/dynamic-attribute/check": {
"get": {
"tags": [
"dynamic-attribute-controller"
],
"operationId": "checkAttribute",
"parameters": [
{
"name": "attributeId",
"in": "query",
"required": true,
"schema": {
"type": "string",
"minLength": 1
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "boolean"
}
}
}
}
}
}
},
"/api/dynamic-attribute/check-with-data-type": {
"get": {
"tags": [
"dynamic-attribute-controller"
],
"operationId": "checkAttributeWithDataType",
"parameters": [
{
"name": "attributeId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "dataType",
"in": "query",
"required": true,
"schema": {
"type": "string",
"enum": [
"STRING",
"NUMBER",
"DATE",
"BOOLEAN",
"TIME"
]
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "boolean"
}
}
}
}
}
}
},
"/api/dynamic-attribute/attribute-type/list": {
"get": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "getAllAttributeType_1",
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReferenceData"
}
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/{recordNo}": {
"get": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "getCustomerAttributeValueChange",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/CustomerAttributeValueChangeVo"
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/{recordNo}/csn/{csn}": {
"get": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "getCustomerAttributeValueChange_1",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
},
{
"name": "csn",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/CustomerAttributeValueChangeVo"
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/list": {
"get": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "listCustomerAttributeValueChanges",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/CustomerAttributeValueChangeCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomerAttributeValueChangeVo"
}
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/history/{recordNo}": {
"get": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "findHistoryByRecordNo_2",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/CustomerAttributeValueChangeVo"
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/history/list": {
"get": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "getAllHistory_2",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/CustomerAttributeValueChangeCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomerAttributeValueChangeVo"
}
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/detail": {
"get": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "getActiveDetail",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/DynamicAttributeValueDetailCriteria"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/DynamicAttributeValueDetailVo"
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/detail/add-on/list": {
"get": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "listActiveDetailAddOns",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/DynamicAttributeValueAddOnCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DynamicAttributeValueAddOnVo"
}
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/count": {
"get": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "count_2",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/CustomerAttributeValueChangeCriteria"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "integer",
"format": "int64"
}
}
}
}
}
}
},
"/api/attribute/value": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "findByEntityAndEntityIdAndAttrIdAndDate",
"parameters": [
{
"name": "attributeId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "entityId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "baseDate",
"in": "query",
"required": true,
"schema": {
"type": "string",
"format": "date-time"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/AttributeValueVo"
}
}
}
}
}
}
},
"/api/attribute/reference/values": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "getAttributeReferenceValues",
"parameters": [
{
"name": "attributeId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "searchComponent",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeReferenceValue"
}
}
}
}
}
}
}
},
"/api/attribute/find-by-id": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "findByAttributeId",
"parameters": [
{
"name": "attributeId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/AttributeVo"
}
}
}
}
}
}
},
"/api/attribute/dynamic/list": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "listAllDynamicAttributes",
"parameters": [
{
"name": "attrGroupId",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "searchComponent",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeDto"
}
}
}
}
}
}
}
},
"/api/attribute/dynamic/list-by-data-type": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "listDynamicAttributesByDataType",
"parameters": [
{
"name": "dataType",
"in": "query",
"required": true,
"schema": {
"type": "string",
"enum": [
"STRING",
"NUMBER",
"DATE",
"BOOLEAN",
"TIME"
]
}
},
{
"name": "searchComponent",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeDto"
}
}
}
}
}
}
}
},
"/api/attribute/dynamic/check/{attributeId}": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "checkAttributeValueByAttributeId",
"parameters": [
{
"name": "attributeId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"minLength": 1
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "boolean"
}
}
}
}
}
}
},
"/api/attribute/criteria/{attrGroupId}/list": {
"get": {
"tags": [
"attribute-criteria-controller"
],
"operationId": "findCriteriaAttributesByAttrGroupId",
"parameters": [
{
"name": "attrGroupId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeDto"
}
}
}
}
}
}
}
},
"/api/attribute/criteria/tree": {
"get": {
"tags": [
"attribute-criteria-controller"
],
"operationId": "getRuleCriteriaAttributes",
"parameters": [
{
"name": "attributeType",
"in": "query",
"required": true,
"schema": {
"type": "string",
"enum": [
"CUSTOM",
"DYNAMIC",
"STATIC"
]
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FolderAttributeDto"
}
}
}
}
}
},
"deprecated": true
}
},
"/api/attribute/criteria/non-group/list": {
"get": {
"tags": [
"attribute-criteria-controller"
],
"operationId": "getNonGroupAttributes",
"parameters": [
{
"name": "attributeType",
"in": "query",
"required": true,
"schema": {
"type": "string",
"enum": [
"CUSTOM",
"DYNAMIC",
"STATIC"
]
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeDto"
}
}
}
}
}
},
"deprecated": true
}
},
"/api/attribute/criteria/list": {
"get": {
"tags": [
"attribute-criteria-controller"
],
"operationId": "listCriteriaAttributes",
"parameters": [
{
"name": "attrGroupId",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "searchComponent",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "contextId",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeDto"
}
}
}
}
}
}
}
},
"/api/attribute/criteria/context/{contextId}/tree": {
"get": {
"tags": [
"attribute-criteria-controller"
],
"operationId": "getAllRuleCriteriaTreeAttribute",
"parameters": [
{
"name": "attributeType",
"in": "query",
"required": true,
"schema": {
"type": "string",
"enum": [
"CUSTOM",
"DYNAMIC",
"STATIC"
]
}
},
{
"name": "contextId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"minLength": 1
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FolderAttributeDto"
}
}
}
}
}
}
}
},
"/api/attribute/criteria/context/{contextId}/non-group/list": {
"get": {
"tags": [
"attribute-criteria-controller"
],
"operationId": "getAllNonGroupAttribute",
"parameters": [
{
"name": "attributeType",
"in": "query",
"required": true,
"schema": {
"type": "string",
"enum": [
"CUSTOM",
"DYNAMIC",
"STATIC"
]
}
},
{
"name": "contextId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"minLength": 1
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeDto"
}
}
}
}
}
}
}
},
"/api/attribute/criteria/config/find": {
"get": {
"tags": [
"attribute-criteria-controller"
],
"operationId": "getAttributeCriteriaConfig",
"parameters": [
{
"name": "attributeId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/AttributeCriteriaConfigDto"
}
}
}
}
}
}
},
"/api/attribute/criteria/config/all": {
"get": {
"tags": [
"attribute-criteria-controller"
],
"operationId": "findAllCriteriaConfig",
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeCriteriaConfigDto"
}
}
}
}
}
}
}
},
"/api/attribute/context/{contextId}/audience/tree": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "getAudienceAttributes",
"parameters": [
{
"name": "contextId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"minLength": 1
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FolderAttributeDto"
}
}
}
}
}
}
}
},
"/api/attribute/context/{contextId}/audience/non-group/list": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "getAudienceNonGroupAttributes",
"parameters": [
{
"name": "contextId",
"in": "path",
"required": true,
"schema": {
"type": "string",
"minLength": 1
}
},
{
"name": "searchComponent",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeDto"
}
}
}
}
}
}
}
},
"/api/attribute/audience/{attrGroupId}/list": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "findAudienceAttributesByAttrGroupId",
"parameters": [
{
"name": "attrGroupId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeDto"
}
}
}
}
}
}
}
},
"/api/attribute/audience/tree": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "getAudienceAttributes_1",
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FolderAttributeDto"
}
}
}
}
}
},
"deprecated": true
}
},
"/api/attribute/audience/non-group/list": {
"get": {
"tags": [
"attribute-controller"
],
"operationId": "getAudienceNonGroupAttributes_1",
"parameters": [
{
"name": "searchComponent",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeDto"
}
}
}
}
}
},
"deprecated": true
}
},
"/api/attribute-group/list-parent-group": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "getParentGroupByLevel",
"parameters": [
{
"name": "level",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "searchComponent",
"in": "query",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
}
}
}
}
}
},
"/api/attribute-group/list-for-static-attribute": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "getListAttGroupForStaticAttribute",
"parameters": [
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
}
}
}
}
}
},
"/api/attribute-group/list-child-group-code": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "getListChildGroupForBasicAttribute",
"parameters": [
{
"name": "code",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
},
"/api/attribute-group/list-by-level": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "getByLevel",
"parameters": [
{
"name": "level",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
}
}
}
}
}
},
"/api/attribute-group/list-all-display-tree": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "getAllDisplayTree",
"parameters": [
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
}
}
}
}
}
},
"/api/attribute-group/csr/{recordNo}": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "findByRecordNo_2",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
}
}
}
}
},
"/api/attribute-group/csr/rejection-reason/{recordNo}": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "rejectionReason_2",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/RejectionReasonVo"
}
}
}
}
}
}
},
"/api/attribute-group/csr/list": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "getAll_2",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/AttributeGroupCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
}
}
}
}
}
},
"/api/attribute-group/csr/id": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "findActiveByIds_2",
"parameters": [
{
"name": "params",
"in": "query",
"required": true,
"schema": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
}
}
}
}
},
"/api/attribute-group/csr/id/{id}": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "findActiveById_2",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
}
}
}
}
},
"/api/attribute-group/csr/id/generate": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "generateId_2",
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/api/attribute-group/csr/id/check/{id}": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "checkId_2",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string",
"pattern": "^(?!.*__)[A-Z0-9][A-Z0-9_]*$"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/api/attribute-group/csr/history/{recordNo}": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "findHistoryByRecordNo_3",
"parameters": [
{
"name": "recordNo",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int64"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
}
}
}
}
},
"/api/attribute-group/csr/history/list": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "getAllHistory_3",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/AttributeGroupCriteria"
}
},
{
"name": "pageable",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/Pageable"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
}
}
}
}
}
},
"/api/attribute-group/csr/count": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "count_3",
"parameters": [
{
"name": "criteria",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/AttributeGroupCriteria"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "integer",
"format": "int64"
}
}
}
}
}
}
},
"/api/attribute-group/check": {
"get": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "existsAttributeGroup",
"parameters": [
{
"name": "groupId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "boolean"
}
}
}
}
}
}
},
"/api/attribute-group/by-group-id": {
"get": {
"tags": [
"attribute-group-controller"
],
"operationId": "findAttributeGroupById",
"parameters": [
{
"name": "groupId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/AttributeGroupVo"
}
}
}
}
}
}
},
"/api/static-attribute/csr/delete": {
"delete": {
"tags": [
"static-attribute-resource"
],
"operationId": "delete",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DeleteRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultStaticAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute/csr/delete": {
"delete": {
"tags": [
"dynamic-attribute-resource"
],
"operationId": "delete_1",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DeleteRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultDynamicAttributeDto"
}
}
}
}
}
}
},
"/api/dynamic-attribute-value/csr/delete": {
"delete": {
"tags": [
"dynamic-attribute-value-resource"
],
"operationId": "deleteCustomerAttributeValue",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DeleteRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultCustomerAttributeValueChangeVo"
}
}
}
}
}
}
},
"/api/attribute-group/csr/delete": {
"delete": {
"tags": [
"attribute-group-manage-resource"
],
"operationId": "delete_2",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DeleteRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"$ref": "#/components/schemas/OperationResultAttributeGroupDto"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"ReferenceData": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"description": {
"type": "string"
},
"notFound": {
"type": "boolean"
},
"recordStatus": {
"type": "string"
},
"attributes": {
"type": "object",
"additionalProperties": {}
}
}
},
"StaticAttributeDto": {
"type": "object",
"properties": {
"recordNo": {
"type": "integer",
"format": "int64"
},
"status": {
"type": "string",
"readOnly": true
},
"lastUpdateBy": {
"type": "string",
"readOnly": true
},
"lastUpdateDate": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"lastApproveBy": {
"type": "string",
"readOnly": true
},
"lastApproveDate": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"lastUpdateByName": {
"type": "string",
"readOnly": true
},
"lastApproveByName": {
"type": "string",
"readOnly": true
},
"attributeId": {
"type": "string"
},
"fieldName": {
"type": "string"
},
"dataType": {
"type": "string",
"enum": [
"STRING",
"INT",
"DECIMAL",
"DATE",
"TIME",
"BOOLEAN",
"SEGMENT",
"AUDIENCE"
]
},
"attributeName": {
"type": "string"
},
"attributeGroups": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReferenceData"
}
},
"audienceAttribute": {
"type": "boolean"
},
"audienceIdentified": {
"type": "boolean"
},
"attributeValuePredefined": {
"type": "boolean"
},
"tableReferenceData": {
"$ref": "#/components/schemas/ReferenceData"
},
"contentParam": {
"type": "boolean"
},
"maxLength": {
"type": "integer",
"format": "int64"
},
"description": {
"type": "string",
"maxLength": 500,
"minLength": 0
}
}
},
"OperationResultStaticAttributeDto": {
"type": "object",
"properties": {
"errorCode": {
"type": "string"
},
"message": {
"type": "string"
},
"entity": {
"$ref": "#/components/schemas/StaticAttributeDto"
}
}
},
"DynamicAttributeDto": {
"type": "object",
"properties": {
"recordNo": {
"type": "integer",
"format": "int64"
},
"status": {
"type": "string",
"readOnly": true
},
"lastUpdateBy": {
"type": "string",
"readOnly": true
},
"lastUpdateDate": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"lastApproveBy": {
"type": "string",
"readOnly": true
},
"lastApproveDate": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"lastUpdateByName": {
"type": "string",
"readOnly": true
},
"lastApproveByName": {
"type": "string",
"readOnly": true
},
"entity": {
"type": "string",
"enum": [
"CLIENT",
"PRODUCT_ACCOUNT",
"CARD",
"CORPORATION",
"CHAIN",
"STORE",
"CAMPAIGN",
"ITEM"
]
},
"attributeId": {
"type": "string",
"maxLength": 30,
"minLength": 1
},
"attributeName": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"description": {
"type": "string",
"maxLength": 100,
"minLength": 0
},
"effectiveFrom": {
"type": "string",
"format": "date"
},
"effectiveTo": {
"type": "string",
"format": "date"
},
"dataType": {
"type": "string",
"enum": [
"STRING",
"NUMBER",
"DATE",
"BOOLEAN",
"TIME"
]
},
"semanticType": {
"type": "string"
},
"defaultValue": {
"type": "string",
"maxLength": 50,
"minLength": 0
},
"preDefineAttributeValue": {
"type": "boolean"
},
"listOfValue": {
"type": "array",
"items": {
"type": "string"
}
},
"attributeGroups": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReferenceData"
}
}
},
"required": [
"attributeId",
"attributeName",
"effectiveFrom",
"effectiveTo"
]
},
"OperationResultDynamicAttributeDto": {
"type": "object",
"properties": {
"errorCode": {
"type": "string"
},
"message": {
"type": "string"
},
"entity": {
"$ref": "#/components/schemas/DynamicAttributeDto"
}
}
},
"CustomerAttributeValueChangeRequestVo": {
"type": "object",
"properties": {
"recordNo": {
"type": "integer",
"format": "int64"
},
"isSpecific": {
"type": "boolean"
},
"attributeId": {
"type": "string"
},
"entity": {
"type": "string",
"enum": [
"CLIENT",
"PRODUCT_ACCOUNT",
"CARD",
"CORPORATION",
"CHAIN",
"STORE",
"CAMPAIGN",
"ITEM"
]
},
"entityId": {
"type": "string"
},
"effectiveFrom": {
"type": "string",
"format": "date-time"
},
"reason": {
"type": "string",
"minLength": 1
},
"newAttributeValue": {
"type": "string",
"minLength": 1
},
"newEffectiveFromMode": {
"type": "string",
"enum": [
"FIXED_DATE",
"DURATION",
"NON_EXPIRY"
]
},
"newEffectiveFrom": {
"type": "string",
"format": "date-time"
},
"newEffectiveFromDuration": {
"type": "integer",
"format": "int32"
},
"newEffectiveFromPeriod": {
"type": "string",
"enum": [
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
]
},
"newEffectiveToMode": {
"type": "string",
"enum": [
"FIXED_DATE",
"DURATION",
"NON_EXPIRY"
]
},
"newEffectiveTo": {
"type": "string",
"format": "date-time"
},
"newEffectiveToDuration": {
"type": "integer",
"format": "int32"
},
"newEffectiveToPeriod": {
"type": "string",
"enum": [
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
]
},
"newEffectFromDesc": {
"type": "string"
},
"newEffectToDesc": {
"type": "string"
}
},
"required": [
"newAttributeValue",
"reason"
]
},
"CustomerAttributeValueChangeVo": {
"type": "object",
"properties": {
"recordNo": {
"type": "integer",
"format": "int64"
},
"definitionRecordNo": {
"type": "integer",
"format": "int64"
},
"recordNoRef": {
"type": "integer",
"format": "int64"
},
"isSpecific": {
"type": "boolean"
},
"valueSource": {
"type": "string"
},
"entity": {
"type": "string",
"enum": [
"CLIENT",
"PRODUCT_ACCOUNT",
"CARD",
"CORPORATION",
"CHAIN",
"STORE",
"CAMPAIGN",
"ITEM"
]
},
"entityName": {
"type": "string"
},
"entityId": {
"type": "string"
},
"cifNbr": {
"type": "string"
},
"entityValue": {
"type": "string"
},
"attributeId": {
"type": "string"
},
"attributeName": {
"type": "string"
},
"attributeValue": {
"type": "string"
},
"effectiveFrom": {
"type": "string",
"format": "date-time"
},
"effectiveTo": {
"type": "string",
"format": "date-time"
},
"newAttributeValue": {
"type": "string"
},
"newEffectiveFrom": {
"type": "string",
"format": "date-time"
},
"newEffectiveTo": {
"type": "string",
"format": "date-time"
},
"newEffectFromDesc": {
"type": "string"
},
"newEffectToDesc": {
"type": "string"
},
"newEffectiveFromMode": {
"type": "string",
"enum": [
"FIXED_DATE",
"DURATION",
"NON_EXPIRY"
]
},
"newEffectiveFromDuration": {
"type": "integer",
"format": "int32"
},
"newEffectiveFromPeriod": {
"type": "string",
"enum": [
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
]
},
"newEffectiveToMode": {
"type": "string",
"enum": [
"FIXED_DATE",
"DURATION",
"NON_EXPIRY"
]
},
"newEffectiveToDuration": {
"type": "integer",
"format": "int32"
},
"newEffectiveToPeriod": {
"type": "string",
"enum": [
"DAY",
"WEEK",
"MONTH",
"QUARTER",
"YEAR"
]
},
"reason": {
"type": "string"
},
"rejectReason": {
"type": "string"
},
"status": {
"type": "string"
},
"lastUpdateBy": {
"type": "string"
},
"lastUpdateDate": {
"type": "string",
"format": "date-time"
},
"lastApproveBy": {
"type": "string"
},
"lastApproveDate": {
"type": "string",
"format": "date-time"
},
"lastUpdateByName": {
"type": "string",
"readOnly": true
},
"lastApproveByName": {
"type": "string",
"readOnly": true
}
}
},
"OperationResultCustomerAttributeValueChangeVo": {
"type": "object",
"properties": {
"errorCode": {
"type": "string"
},
"message": {
"type": "string"
},
"entity": {
"$ref": "#/components/schemas/CustomerAttributeValueChangeVo"
}
}
},
"UpdateAttributeValueVo": {
"type": "object",
"properties": {
"loyaltyAccountNo": {
"type": "string"
},
"referenceNo": {
"type": "string"
},
"attributeId": {
"type": "string"
},
"entity": {
"type": "string",
"enum": [
"CLIENT",
"PRODUCT_ACCOUNT",
"CARD",
"CORPORATION",
"CHAIN",
"STORE",
"CAMPAIGN",
"ITEM"
]
},
"entityId": {
"type": "string"
},
"attrValue": {
"type": "string"
},
"baseDate": {
"type": "string",
"format": "date-time"
},
"effectiveFrom": {
"type": "string",
"format": "date-time"
},
"effectiveTo": {
"type": "string",
"format": "date-time"
},
"recordNoRef": {
"type": "integer",
"format": "int64"
},
"oldAttrValue": {
"type": "string"
},
"success": {
"type": "boolean"
},
"entityTable": {
"type": "boolean"
}
}
},
"AttributeGroupDto": {
"type": "object",
"properties": {
"recordNo": {
"type": "integer",
"format": "int64"
},
"status": {
"type": "string",
"readOnly": true
},
"lastUpdateBy": {
"type": "string",
"readOnly": true
},
"lastUpdateDate": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"lastApproveBy": {
"type": "string",
"readOnly": true
},
"lastApproveDate": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"lastUpdateByName": {
"type": "string",
"readOnly": true
},
"lastApproveByName": {
"type": "string",
"readOnly": true
},
"groupId": {
"type": "string",
"maxLength": 10,
"minLength": 1
},
"groupName": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"level": {
"type": "string",
"enum": [
"L1",
"L2",
"L3"
]
},
"parentGroup": {
"$ref": "#/components/schemas/ReferenceData"
},
"description": {
"type": "string",
"maxLength": 500,
"minLength": 0
},
"subGroups": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
},
"required": [
"groupId",
"groupName"
]
},
"OperationResultAttributeGroupDto": {
"type": "object",
"properties": {
"errorCode": {
"type": "string"
},
"message": {
"type": "string"
},
"entity": {
"$ref": "#/components/schemas/AttributeGroupDto"
}
}
},
"RejectRequest": {
"type": "object",
"properties": {
"recordNo": {
"type": "integer",
"format": "int64"
},
"rejectReason": {
"type": "string",
"minLength": 1
}
},
"required": [
"recordNo",
"rejectReason"
]
},
"BulkUploadRequest": {
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
}
}
},
"BulkRequest": {
"type": "object",
"properties": {
"recordNos": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"minItems": 1
},
"rejectReason": {
"type": "string"
}
},
"required": [
"recordNos"
]
},
"ApproveRequest": {
"type": "object",
"properties": {
"recordNo": {
"type": "integer",
"format": "int64"
}
},
"required": [
"recordNo"
]
},
"StaticAttributeVo": {
"type": "object",
"properties": {
"attributeType": {
"type": "string",
"enum": [
"CUSTOM",
"DYNAMIC",
"STATIC"
]
},
"attributeId": {
"type": "string"
},
"attributeName": {
"type": "string"
},
"description": {
"type": "string"
},
"dataType": {
"type": "string"
},
"semanticType": {
"type": "string"
},
"attributeValuePredefined": {
"type": "boolean"
},
"attributeGroups": {
"type": "array",
"items": {
"type": "string"
}
},
"maxLength": {
"type": "integer",
"format": "int64"
},
"fieldName": {
"type": "string"
},
"audienceAttribute": {
"type": "boolean"
},
"criteriaAttribute": {
"type": "boolean"
},
"audienceIdentified": {
"type": "boolean"
},
"tableReferenceData": {
"type": "string"
},
"contentParam": {
"type": "boolean"
},
"metaProperty": {
"type": "string"
}
}
},
"Pageable": {
"type": "object",
"properties": {
"page": {
"type": "integer",
"format": "int32",
"minimum": 0
},
"size": {
"type": "integer",
"format": "int32",
"minimum": 1
},
"sort": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"RangeFilterInstant": {
"type": "object",
"properties": {
"equals": {
"type": "string",
"format": "date-time"
},
"notEquals": {
"type": "string",
"format": "date-time"
},
"specified": {
"type": "boolean"
},
"in": {
"type": "array",
"items": {
"type": "string",
"format": "date-time"
}
},
"notIn": {
"type": "array",
"items": {
"type": "string",
"format": "date-time"
}
},
"greaterThan": {
"type": "string",
"format": "date-time"
},
"lessThan": {
"type": "string",
"format": "date-time"
},
"greaterThanOrEqual": {
"type": "string",
"format": "date-time"
},
"lessThanOrEqual": {
"type": "string",
"format": "date-time"
}
}
},
"StaticAttributeViewCriteria": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/StringFilter"
},
"lastUpdateDate": {
"$ref": "#/components/schemas/RangeFilterInstant"
},
"search": {
"type": "string"
},
"searchComponent": {
"type": "string"
},
"attributeId": {
"$ref": "#/components/schemas/StringFilter"
},
"fieldName": {
"$ref": "#/components/schemas/StringFilter"
},
"dataType": {
"$ref": "#/components/schemas/StringFilter"
},
"attributeName": {
"$ref": "#/components/schemas/StringFilter"
},
"audienceAttribute": {
"$ref": "#/components/schemas/StringFilter"
},
"criteriaAttribute": {
"$ref": "#/components/schemas/StringFilter"
},
"contentParam": {
"$ref": "#/components/schemas/StringFilter"
},
"description": {
"$ref": "#/components/schemas/StringFilter"
},
"componentColumns": {
"type": "array",
"items": {
"type": "string"
}
},
"attributeGroups": {
"$ref": "#/components/schemas/StringFilter"
}
}
},
"StringFilter": {
"type": "object",
"properties": {
"equals": {
"type": "string"
},
"notEquals": {
"type": "string"
},
"specified": {
"type": "boolean"
},
"in": {
"type": "array",
"items": {
"type": "string"
}
},
"notIn": {
"type": "array",
"items": {
"type": "string"
}
},
"contains": {
"type": "string"
},
"doesNotContain": {
"type": "string"
}
}
},
"RejectionReasonVo": {
"type": "object",
"properties": {
"moduleName": {
"type": "string"
},
"moduleRecordNo": {
"type": "integer",
"format": "int64"
},
"moduleStatus": {
"type": "string"
},
"rejectionReason": {
"type": "string"
},
"createdBy": {
"type": "string"
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastUpdateBy": {
"type": "string"
},
"lastUpdateDate": {
"type": "string",
"format": "date-time"
},
"createdByName": {
"type": "string",
"readOnly": true
},
"lastUpdateByName": {
"type": "string",
"readOnly": true
}
}
},
"StaticAttributeCriteria": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/StringFilter"
},
"lastUpdateDate": {
"$ref": "#/components/schemas/RangeFilterInstant"
},
"search": {
"type": "string"
},
"searchComponent": {
"type": "string"
},
"attributeId": {
"$ref": "#/components/schemas/StringFilter"
},
"fieldName": {
"$ref": "#/components/schemas/StringFilter"
},
"dataType": {
"$ref": "#/components/schemas/StringFilter"
},
"attributeName": {
"$ref": "#/components/schemas/StringFilter"
},
"audienceAttribute": {
"$ref": "#/components/schemas/StringFilter"
},
"criteriaAttribute": {
"$ref": "#/components/schemas/StringFilter"
},
"contentParam": {
"$ref": "#/components/schemas/StringFilter"
},
"description": {
"$ref": "#/components/schemas/StringFilter"
},
"componentColumns": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"MappingMatrixResponseDto": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"firstColumnHeader": {
"type": "string"
},
"columns": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MatrixColumnDto"
}
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MatrixRowDto"
}
}
}
},
"MatrixCellDto": {
"type": "object",
"properties": {
"contextId": {
"type": "string"
},
"isEnabled": {
"type": "boolean"
}
}
},
"MatrixColumnDto": {
"type": "object",
"properties": {
"contextId": {
"type": "string"
},
"contextType": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"MatrixRowDto": {
"type": "object",
"properties": {
"objectId": {
"type": "string"
},
"name": {
"type": "string"
},
"cells": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MatrixCellDto"
}
}
}
},
"DynamicAttributeVo": {
"type": "object",
"properties": {
"attributeType": {
"type": "string",
"enum": [
"CUSTOM",
"DYNAMIC",
"STATIC"
]
},
"attributeId": {
"type": "string"
},
"attributeName": {
"type": "string"
},
"description": {
"type": "string"
},
"dataType": {
"type": "string"
},
"semanticType": {
"type": "string"
},
"attributeValuePredefined": {
"type": "boolean"
},
"attributeGroups": {
"type": "array",
"items": {
"type": "string"
}
},
"maxLength": {
"type": "integer",
"format": "int64"
},
"entity": {
"type": "string",
"enum": [
"CLIENT",
"PRODUCT_ACCOUNT",
"CARD",
"CORPORATION",
"CHAIN",
"STORE",
"CAMPAIGN",
"ITEM"
]
},
"effectiveFrom": {
"type": "string",
"format": "date"
},
"effectiveTo": {
"type": "string",
"format": "date"
},
"defaultValue": {
"type": "string"
},
"attrGroupId": {
"type": "string"
}
}
},
"DynamicAttributeViewCriteria": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/StringFilter"
},
"lastUpdateDate": {
"$ref": "#/components/schemas/RangeFilterInstant"
},
"search": {
"type": "string"
},
"searchComponent": {
"type": "string"
},
"entity": {
"$ref": "#/components/schemas/StringFilter"
},
"attributeId": {
"$ref": "#/components/schemas/StringFilter"
},
"attributeName": {
"$ref": "#/components/schemas/StringFilter"
},
"description": {
"$ref": "#/components/schemas/StringFilter"
},
"attrGroupId": {
"$ref": "#/components/schemas/StringFilter"
},
"dataType": {
"$ref": "#/components/schemas/StringFilter"
},
"effectiveFrom": {
"$ref": "#/components/schemas/LocalDateFilter"
},
"effectiveTo": {
"$ref": "#/components/schemas/LocalDateFilter"
},
"componentColumns": {
"type": "array",
"items": {
"type": "string"
}
},
"attributeGroups": {
"$ref": "#/components/schemas/StringFilter"
}
}
},
"LocalDateFilter": {
"type": "object",
"properties": {
"equals": {
"type": "string",
"format": "date"
},
"notEquals": {
"type": "string",
"format": "date"
},
"specified": {
"type": "boolean"
},
"in": {
"type": "array",
"items": {
"type": "string",
"format": "date"
}
},
"notIn": {
"type": "array",
"items": {
"type": "string",
"format": "date"
}
},
"greaterThan": {
"type": "string",
"format": "date"
},
"lessThan": {
"type": "string",
"format": "date"
},
"greaterThanOrEqual": {
"type": "string",
"format": "date"
},
"lessThanOrEqual": {
"type": "string",
"format": "date"
}
}
},
"DynamicAttributeCriteria": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/StringFilter"
},
"lastUpdateDate": {
"$ref": "#/components/schemas/RangeFilterInstant"
},
"search": {
"type": "string"
},
"searchComponent": {
"type": "string"
},
"entity": {
"$ref": "#/components/schemas/StringFilter"
},
"attributeId": {
"$ref": "#/components/schemas/StringFilter"
},
"attributeName": {
"$ref": "#/components/schemas/StringFilter"
},
"description": {
"$ref": "#/components/schemas/StringFilter"
},
"attrGroupId": {
"$ref": "#/components/schemas/StringFilter"
},
"dataType": {
"$ref": "#/components/schemas/StringFilter"
},
"effectiveFrom": {
"$ref": "#/components/schemas/LocalDateFilter"
},
"effectiveTo": {
"$ref": "#/components/schemas/LocalDateFilter"
},
"componentColumns": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"BooleanFilter": {
"type": "object",
"properties": {
"equals": {
"type": "boolean"
},
"notEquals": {
"type": "boolean"
},
"specified": {
"type": "boolean"
},
"in": {
"type": "array",
"items": {
"type": "boolean"
}
},
"notIn": {
"type": "array",
"items": {
"type": "boolean"
}
}
}
},
"CustomerAttributeValueChangeCriteria": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/StringFilter"
},
"lastUpdateDate": {
"$ref": "#/components/schemas/RangeFilterInstant"
},
"search": {
"type": "string"
},
"searchComponent": {
"type": "string"
},
"attributeId": {
"$ref": "#/components/schemas/StringFilter"
},
"attributeName": {
"$ref": "#/components/schemas/StringFilter"
},
"entity": {
"$ref": "#/components/schemas/StringFilter"
},
"entityId": {
"$ref": "#/components/schemas/StringFilter"
},
"isSpecific": {
"$ref": "#/components/schemas/BooleanFilter"
},
"effectiveFrom": {
"$ref": "#/components/schemas/LocalDateFilter"
},
"effectiveTo": {
"$ref": "#/components/schemas/LocalDateFilter"
},
"effectiveOnly": {
"type": "boolean"
},
"csn": {
"type": "string"
},
"componentColumns": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"DynamicAttributeValueDetailCriteria": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"valueSource": {
"type": "string"
},
"recordNo": {
"type": "integer",
"format": "int64"
},
"definitionRecordNo": {
"type": "integer",
"format": "int64"
},
"entity": {
"type": "string"
},
"entityId": {
"type": "string"
},
"csn": {
"type": "string"
}
}
},
"DynamicAttributeValueDetailVo": {
"type": "object",
"properties": {
"recordNo": {
"type": "integer",
"format": "int64"
},
"definitionRecordNo": {
"type": "integer",
"format": "int64"
},
"csn": {
"type": "string"
},
"cifNbr": {
"type": "string"
},
"isSpecific": {
"type": "boolean"
},
"valueSource": {
"type": "string"
},
"entity": {
"type": "string",
"enum": [
"CLIENT",
"PRODUCT_ACCOUNT",
"CARD",
"CORPORATION",
"CHAIN",
"STORE",
"CAMPAIGN",
"ITEM"
]
},
"entityName": {
"type": "string"
},
"entityId": {
"type": "string"
},
"entityValue": {
"type": "string"
},
"attributeId": {
"type": "string"
},
"attributeName": {
"type": "string"
},
"attributeValue": {
"type": "string"
},
"effectiveFrom": {
"type": "string",
"format": "date-time"
},
"effectiveTo": {
"type": "string",
"format": "date-time"
},
"status": {
"type": "string"
},
"lastUpdateBy": {
"type": "string"
},
"lastUpdateDate": {
"type": "string",
"format": "date-time"
},
"lastApproveBy": {
"type": "string"
},
"lastApproveDate": {
"type": "string",
"format": "date-time"
},
"addOnVisible": {
"type": "boolean"
},
"historyEmpty": {
"type": "boolean"
}
}
},
"DynamicAttributeValueAddOnCriteria": {
"type": "object",
"properties": {
"csn": {
"type": "string"
},
"entity": {
"type": "string"
},
"entityId": {
"type": "string"
},
"attributeId": {
"type": "string"
},
"excludeRecordNo": {
"type": "integer",
"format": "int64"
},
"search": {
"type": "string"
}
}
},
"DynamicAttributeValueAddOnVo": {
"type": "object",
"properties": {
"recordNo": {
"type": "integer",
"format": "int64"
},
"attributeValue": {
"type": "string"
},
"effectiveFrom": {
"type": "string",
"format": "date-time"
},
"effectiveTo": {
"type": "string",
"format": "date-time"
},
"currentlyEffective": {
"type": "boolean"
},
"status": {
"type": "string"
}
}
},
"AttributeValueVo": {
"type": "object",
"properties": {
"attributeId": {
"type": "string"
},
"attributeType": {
"type": "string",
"enum": [
"CUSTOM",
"DYNAMIC",
"STATIC"
]
},
"entity": {
"type": "string"
},
"entityId": {
"type": "string"
},
"attrValue": {
"type": "string"
},
"effectiveFrom": {
"type": "string",
"format": "date-time"
},
"effectiveTo": {
"type": "string",
"format": "date-time"
}
}
},
"AttributeReferenceValue": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"description": {
"type": "string"
}
}
},
"AttributeVo": {
"type": "object",
"properties": {
"attributeType": {
"type": "string",
"enum": [
"CUSTOM",
"DYNAMIC",
"STATIC"
]
},
"attributeId": {
"type": "string"
},
"attributeName": {
"type": "string"
},
"description": {
"type": "string"
},
"dataType": {
"type": "string"
},
"semanticType": {
"type": "string"
},
"attributeValuePredefined": {
"type": "boolean"
},
"attributeGroups": {
"type": "array",
"items": {
"type": "string"
}
},
"maxLength": {
"type": "integer",
"format": "int64"
}
}
},
"AttributeDto": {
"type": "object",
"properties": {
"attributeType": {
"type": "string",
"enum": [
"CUSTOM",
"DYNAMIC",
"STATIC"
]
},
"attributeId": {
"type": "string"
},
"attributeName": {
"type": "string"
},
"description": {
"type": "string"
},
"dataType": {
"type": "string"
},
"semanticType": {
"type": "string"
},
"attributeValuePredefined": {
"type": "boolean"
},
"preDefineAttributeValue": {
"type": "boolean"
},
"listOfValue": {
"type": "array",
"items": {
"type": "string"
}
},
"attributeGroups": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReferenceData"
}
},
"maxLength": {
"type": "integer",
"format": "int64"
}
}
},
"FolderAttributeDto": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"groupName": {
"type": "string"
},
"parentGroup": {
"type": "string"
},
"level": {
"type": "string",
"enum": [
"L1",
"L2",
"L3"
]
},
"attributes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeDto"
}
}
}
},
"AttributeCriteriaConfigDto": {
"type": "object",
"properties": {
"attributeId": {
"type": "string"
},
"criteriaFieldId": {
"type": "string"
},
"computeInd": {
"type": "string"
},
"compareValue": {
"type": "string"
},
"criteriaType": {
"type": "string"
}
}
},
"AttributeGroupCriteria": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/StringFilter"
},
"lastUpdateDate": {
"$ref": "#/components/schemas/RangeFilterInstant"
},
"search": {
"type": "string"
},
"searchComponent": {
"type": "string"
},
"groupId": {
"$ref": "#/components/schemas/StringFilter"
},
"groupName": {
"$ref": "#/components/schemas/StringFilter"
},
"parentGroup": {
"$ref": "#/components/schemas/StringFilter"
},
"level": {
"$ref": "#/components/schemas/StringFilter"
},
"componentColumns": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"AttributeGroupVo": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"groupName": {
"type": "string"
},
"level": {
"type": "string"
},
"parentGroup": {
"type": "string"
},
"description": {
"type": "string"
},
"subGroup": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AttributeGroupVo"
}
}
}
},
"DeleteRequest": {
"type": "object",
"properties": {
"recordNo": {
"type": "integer",
"format": "int64"
}
},
"required": [
"recordNo"
]
}
}
}
}