This page provides the list of events and associated payload for external events (via EventBridge) for the Subscription microservice.

External Events via EventBridge

The following events contain the entity changed in the event message payload.

List of Events

S.No.API callCall detailEvent TypeIdentifier
1.POST CreateIndex  searchservices/index/create  response_item.id
2.DELETE DeleteIndex  searchservices/index/delete  request_id
3.POST CreateLinks  searchservices/links/create  response_id
4.POST CreateSortOrder  searchservice/sortorder/create  response_id
5.POST CreateSynonym  searchservice/synonym/create  response_id
6.DELETE DeleteSortOrder  searchservice/sortorder/delete  request_id
7.DELETE DeleteSynonym  searchservice/synonym/delete  request_id
8.PATCH PatchUpdateLinks  searchservice/links/patch  response_id
9.POST CreateAttribute  searchservice/attribute/create  response_attributeId
10.POST CreateConfig  searchservice/config/create  response_id
11.DELETE DeleteAttribute  searchservice/attribute/delete  request_attributeId
12.DELETE DeleteConfig  searchservice/config/delete  request_id
13.PATCH PatchUpdateAttribute  searchservice/attribute/patch  response_attributeId
14.PATCH PatchUpdateConfigProperties  searchservice/configproperties/patch  response_id
15.PATCH PatchUpdateConfig  searchservice/config/patch  response_id
16.PUT UpdateAttribute  searchservice/attribute/update  response_attributeId
17.PUT UpdateConfigProperties  searchservice/configproperties/update  response_configProperties.id

Payload

CreateIndex

Event Type: searchservices/index/create

{
  "version": "0",
  "id": "bc0cd236-03de-ff11-fb6e-6259e93187da",
  "detail-type": "searchservice/index/create",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:23:29Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "timestamp": 1715253809735,
    "payload": {
      "item": {
        "response": {
          "productid": "2"
        }
      }
    },
    "collectionId": "423",
    "eventType": "searchservice/index/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteIndex

Event Type: searchservices/index/delete

{
  "version": "0",
  "id": "bdbc10de-365d-28c3-e8ff-971e8934480c",
  "detail-type": "searchservice/index/delete",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:24:06Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "timestamp": 1715253846960,
    "payload": {
      "responseCode": "SESED0000",
      "responseMessage": "INDEX_DELETE_SUCCESS",
      "timeStamp": "1715253846957"
    },
    "collectionId": "423",
    "eventType": "searchservice/index/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

CreateLinks

Event Type: searchservices/links/create

{
  "version": "0",
  "id": "2cc28752-e1e9-31ec-65bb-a18eb5434df2",
  "detail-type": "searchservice/links/create",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:23:35Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "400",
    "timestamp": 1715253815018,
    "payload": {
      "id": 400,
      "searchTerm": "srqyzrktvcejvsopopmbhktsciyxfzrjqjycjrydcsc",
      "locale": "en_US",
      "redirectURL": "http://www.skava.com",
      "collectionid": 423,
      "createdOn": "2024-05-09T11:23:34.999688",
      "createdBy": 1,
      "updatedOn": "2024-05-09T11:23:34.99969",
      "updatedBy": 1
    },
    "collectionId": "423",
    "eventType": "searchservice/links/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

CreateSortOrder

Event Type: searchservice/sortorder/create

CreateSynonym

Event Type: searchservice/synonym/create

{
  "version": "0",
  "id": "760a6ea5-a051-6a15-373f-c83ddab184cc",
  "detail-type": "searchservice/synonym/create",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:23:56Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "196",
    "timestamp": 1715253836171,
    "payload": {
      "id": 196,
      "collectionId": 423,
      "searchTerm": "pphfheqblfrann1715253836130",
      "locale": "en_US",
      "synonymType": "SYNONYM",
      "searchType": "KEYWORD",
      "words": "qa",
      "createdOn": "2024-05-09T11:23:56.1485",
      "createdBy": 1,
      "updatedOn": "2024-05-09T11:23:56.148502",
      "updatedBy": 1
    },
    "collectionId": "423",
    "eventType": "searchservice/synonym/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteSortOrder

Event Type: searchservice/sortorder/delete

{
  "version": "0",
  "id": "5e704d1f-07f4-d264-7d72-eb6e62d886d3",
  "detail-type": "searchservice/sortorder/delete",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:24:19Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "2615",
    "timestamp": 1715253859601,
    "payload": {
      "responseCode": "SESOD0000",
      "responseMessage": "INDEX_DELETE_SUCCESS",
      "timeStamp": "1715253859599"
    },
    "collectionId": "423",
    "eventType": "searchservice/sortorder/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteSynonym

Event Type: searchservice/synonym/delete

{
  "version": "0",
  "id": "428d01ae-ec11-c015-1865-d686ef90f5d5",
  "detail-type": "searchservice/synonym/delete",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:24:24Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "197",
    "timestamp": 1715253864901,
    "payload": {
      "responseCode": "SESYD0000",
      "responseMessage": "SYNONYM_DELETE_SUCCESS",
      "timeStamp": "1715253864899"
    },
    "collectionId": "423",
    "eventType": "searchservice/synonym/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateLinks

Event Type: searchservice/links/patch

{
  "version": "0",
  "id": "4d71c4a2-dee1-127a-3aa7-1847f5eafc55",
  "detail-type": "searchservice/links/patch",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:23:40Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "400",
    "timestamp": 1715253820294,
    "payload": {
      "id": 400,
      "searchTerm": "srqyzrktvcejvsopopmbhktsciyxfzrjqjycjrydcsc",
      "locale": "en_US",
      "redirectURL": "http://www.skavapatch.com",
      "collectionid": 423,
      "createdOn": "2024-05-09T11:23:35",
      "createdBy": 1,
      "updatedOn": "2024-05-09T11:23:40.276671",
      "updatedBy": 1
    },
    "collectionId": "423",
    "eventType": "searchservice/links/patch",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

CreateAttribute

Event Type: searchservice/attribute/create

{
  "version": "0",
  "id": "bc89db63-eb7b-007d-e9f3-cfba59bc5abb",
  "detail-type": "searchservice/attribute/create",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:23:13Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "3BZ7THiaeae3J44GnA3Bd1to3Gh3DHoO",
    "timestamp": 1715253793723,
    "payload": {
      "configId": 1334,
      "attributeId": "3BZ7THiaeae3J44GnA3Bd1to3Gh3DHoO",
      "filterable": "NONE",
      "sortable": "NONE",
      "suggestable": false,
      "searchable": "NONE",
      "searchWeightage": 0,
      "suggestionWeightage": 0,
      "values": [
        {
          "locale": "en_US",
          "displayName": "NewYearCollections"
        }
      ],
      "createdOn": "2024-05-09T11:23:13.694334",
      "updatedOn": "2024-05-09T11:23:13.694335",
      "createdBy": 1,
      "updatedBy": 1
    },
    "collectionId": "423",
    "eventType": "searchservice/attribute/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

CreateConfig

Event Type: searchservice/config/create

{
  "version": "0",
  "id": "d35a625e-d117-d229-944f-0e91c31e17ae",
  "detail-type": "searchservice/config/create",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:22:40Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "1334",
    "timestamp": 1715253760037,
    "payload": {
      "id": 1334,
      "collectionId": 423,
      "classifierName": "classifiername_17152537578855342",
      "searchEngineCollName": "423_category_int",
      "description": "Creating new classifier",
      "properties": [
        {
          "locale": "en_US",
          "name": "historicalsaleboostingpercentage",
          "value": "test"
        },
        {
          "locale": "default",
          "name": "suggestionminimumcharacters",
          "value": "3"
        },
        {
          "locale": "default",
          "name": "price_range_gap",
          "value": "1000"
        },
        {
          "locale": "default",
          "name": "price_range_min",
          "value": "0"
        },
        {
          "locale": "default",
          "name": "price_range_max",
          "value": "100000"
        },
        {
          "locale": "default",
          "name": "groupsuggestion"
        },
        {
          "locale": "default",
          "name": "mltconfig"
        },
        {
          "locale": "default",
          "name": "groupsuggestion_count_pergroup"
        },
        {
          "locale": "default",
          "name": "groupsuggestion_search_fieldname"
        },
        {
          "locale": "default",
          "name": "stopwords",
          "value": "NULL"
        },
        {
          "locale": "default",
          "name": "slider_filter_attributes"
        }
      ],
      "createdOn": "2024-05-09T11:22:37.900352",
      "updatedOn": "2024-05-09T11:22:37.900353",
      "createdBy": 1,
      "updatedBy": 1
    },
    "collectionId": "423",
    "eventType": "searchservice/config/create",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteAttribute

Event Type: searchservice/attribute/delete

{
  "version": "0",
  "id": "47b319f0-ea52-dc6b-61ff-6fd899160658",
  "detail-type": "searchservice/attribute/delete",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:24:01Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "TL79jm1e87X77v9g85KXbA41y79IQm3DztpK",
    "timestamp": 1715253841462,
    "payload": {
      "configId": 0,
      "createdBy": 0,
      "updatedBy": 0
    },
    "collectionId": "423",
    "eventType": "searchservice/attribute/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

DeleteConfig

Event Type: searchservice/config/delete

{
  "version": "0",
  "id": "6499998f-8665-219b-62af-15c11223e33f",
  "detail-type": "searchservice/config/delete",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:24:31Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "1336",
    "timestamp": 1715253871343,
    "payload": {
      "responseCode": "SECND0000",
      "responseMessage": "CONFIG_DELETE_SUCCESS",
      "timeStamp": "1715253871341"
    },
    "collectionId": "423",
    "eventType": "searchservice/config/delete",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateAttribute

Event Type: searchservice/attribute/patch

{
  "version": "0",
  "id": "069bed2c-a44e-b21f-b314-6d39789804d5",
  "detail-type": "searchservice/attribute/patch",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:23:24Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "3BZ7THiaeae3J44GnA3Bd1to3Gh3DHoO",
    "timestamp": 1715253804297,
    "payload": {
      "configId": 1334,
      "attributeId": "3BZ7THiaeae3J44GnA3Bd1to3Gh3DHoO",
      "filterable": "NONE",
      "sortable": "NONE",
      "suggestable": false,
      "searchable": "NONE",
      "searchWeightage": 0,
      "suggestionWeightage": 0,
      "values": [
        {
          "locale": "en_US",
          "displayName": "PatchPongalOff"
        }
      ],
      "createdOn": "2024-05-09T11:23:14",
      "updatedOn": "2024-05-09T11:23:24.279140341",
      "createdBy": 1,
      "updatedBy": 1
    },
    "collectionId": "423",
    "eventType": "searchservice/attribute/patch",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateConfigProperties

Event Type: searchservice/config/patch

{
  "version": "0",
  "id": "f9003091-5b36-e293-c10b-9e40acbbbfbe",
  "detail-type": "searchservice/config/patch",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:22:46Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "1334",
    "timestamp": 1715253766148,
    "payload": {
      "id": 1334,
      "collectionId": 423,
      "classifierName": "classifiername_17152537578855342",
      "searchEngineCollName": "423_category_int",
      "description": "Creating new classifier",
      "properties": [
        {
          "locale": "en_US",
          "name": "historicalsaleboostingpercentage",
          "value": "60"
        },
        {
          "locale": "default",
          "name": "suggestionminimumcharacters",
          "value": "3"
        },
        {
          "locale": "default",
          "name": "price_range_gap",
          "value": "1000"
        },
        {
          "locale": "default",
          "name": "price_range_min",
          "value": "0"
        },
        {
          "locale": "default",
          "name": "price_range_max",
          "value": "100000"
        },
        {
          "locale": "default",
          "name": "groupsuggestion"
        },
        {
          "locale": "default",
          "name": "mltconfig"
        },
        {
          "locale": "default",
          "name": "groupsuggestion_count_pergroup"
        },
        {
          "locale": "default",
          "name": "groupsuggestion_search_fieldname"
        },
        {
          "locale": "default",
          "name": "stopwords",
          "value": "NULL"
        },
        {
          "locale": "default",
          "name": "slider_filter_attributes"
        }
      ],
      "createdOn": "2024-05-09T11:22:38",
      "updatedOn": "2024-05-09T11:22:46.097826037",
      "createdBy": 1,
      "updatedBy": 1
    },
    "collectionId": "423",
    "eventType": "searchservice/config/patch",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

PatchUpdateConfig

Event Type: searchservice/attribute/update

{
  "version": "0",
  "id": "da4029d4-f6de-b3c8-f821-3f0c704c0eff",
  "detail-type": "searchservice/attribute/update",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:23:19Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "3BZ7THiaeae3J44GnA3Bd1to3Gh3DHoO",
    "timestamp": 1715253799010,
    "payload": {
      "configId": 1334,
      "attributeId": "3BZ7THiaeae3J44GnA3Bd1to3Gh3DHoO",
      "filterable": "NONE",
      "sortable": "NONE",
      "suggestable": false,
      "searchable": "NONE",
      "searchWeightage": 0,
      "suggestionWeightage": 0,
      "values": [
        {
          "locale": "en_US",
          "displayName": "Offers"
        }
      ],
      "createdOn": "2024-05-09T11:23:14",
      "updatedOn": "2024-05-09T11:23:18.994106",
      "createdBy": 1,
      "updatedBy": 1
    },
    "collectionId": "423",
    "eventType": "searchservice/attribute/update",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

UpdateAttribute

Event Type: searchservice/configproperties/patch

{
  "version": "0",
  "id": "234a05f6-4299-9141-f6c4-0f3deb461492",
  "detail-type": "searchservice/configproperties/patch",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:23:08Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "id": "16028",
    "timestamp": 1715253788440,
    "payload": {
      "id": 16028,
      "configId": 1335,
      "locale": "en_US",
      "name": "historicalsaleboostingpercentage",
      "value": "update Propertyupdate"
    },
    "collectionId": "423",
    "eventType": "searchservice/configproperties/patch",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

UpdateConfigProperties

Event Type: searchservice/configproperties/update

{
  "version": "0",
  "id": "334404da-e0a8-da08-d43d-aaf76317b65a",
  "detail-type": "searchservice/configproperties/update",
  "source": "searchservice",
  "account": "277827593990",
  "time": "2024-05-09T11:23:01Z",
  "region": "us-east-1",
  "resources": [
    
  ],
  "detail": {
    "timestamp": 1715253781938,
    "payload": {
      "configProperties": [
        {
          "id": 16018,
          "configId": 1334,
          "locale": "en_US",
          "name": "suggestionminimumcharacters",
          "value": "1st Property update"
        },
        {
          "id": 16017,
          "configId": 1334,
          "locale": "en_US",
          "name": "historicalsaleboostingpercentage",
          "value": "2nd Property update"
        }
      ]
    },
    "collectionId": "423",
    "eventType": "searchservice/configproperties/update",
    "userId": "1",
    "actOnBehalfOfUser": 0,
    "roles": [
      "ROLE_SUPER_ADMIN"
    ],
    "channel": "CSR"
  }
}

 

Internal Events via RabbitMQ/AWS MQ

This event communicates with the internal microservices.

Currently, there are no events associated with the Search microservice.

 

 

Revision History

2024-05-22 | SW – Added the external events for Release 8.17.4.
2024-05-21 | SD – Create and updated with content.