|
16139 | 16139 | "return": "Recognition", |
16140 | 16140 | "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.EmployeeEngagementApi();\n\nlet recognitionId = \"recognitionId_example\"; // String | The Recognition ID\n\n// Gets a single recognition\napiInstance.getEmployeeengagementRecognition(recognitionId)\n .then((data) => {\n console.log(`getEmployeeengagementRecognition success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getEmployeeengagementRecognition\");\n console.error(err);\n });" |
16141 | 16141 | }, |
| 16142 | + "getemployeeengagementrecognitions": { |
| 16143 | + "operationId": "getemployeeengagementrecognitions", |
| 16144 | + "functionName": "getEmployeeengagementRecognitions", |
| 16145 | + "signature": "getEmployeeengagementRecognitions(direction, recipient, dateStart, dateEnd, pageSize, pageNumber)", |
| 16146 | + "parameters": [ |
| 16147 | + { |
| 16148 | + "name": "direction", |
| 16149 | + "type": "String", |
| 16150 | + "required": "false" |
| 16151 | + }, |
| 16152 | + { |
| 16153 | + "name": "recipient", |
| 16154 | + "type": "String", |
| 16155 | + "required": "false" |
| 16156 | + }, |
| 16157 | + { |
| 16158 | + "name": "dateStart", |
| 16159 | + "type": "Date", |
| 16160 | + "required": "false" |
| 16161 | + }, |
| 16162 | + { |
| 16163 | + "name": "dateEnd", |
| 16164 | + "type": "Date", |
| 16165 | + "required": "false" |
| 16166 | + }, |
| 16167 | + { |
| 16168 | + "name": "pageSize", |
| 16169 | + "type": "Number", |
| 16170 | + "required": "false" |
| 16171 | + }, |
| 16172 | + { |
| 16173 | + "name": "pageNumber", |
| 16174 | + "type": "Number", |
| 16175 | + "required": "false" |
| 16176 | + } |
| 16177 | + ], |
| 16178 | + "return": "Recognitions", |
| 16179 | + "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.EmployeeEngagementApi();\n\nlet opts = { \n \"direction\": \"received\", // String | The direction of the recognitions.\n \"recipient\": \"recipient_example\", // String | The ID of the recipient (when direction is sent).\n \"dateStart\": new Date(\"2013-10-20T19:20:30+01:00\"), // Date | The start date of the search range. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z\n \"dateEnd\": new Date(\"2013-10-20T19:20:30+01:00\"), // Date | The end date of the search range. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z\n \"pageSize\": 100, // Number | Page size\n \"pageNumber\": 1 // Number | Page number\n};\n\n// Gets sent recognitions\napiInstance.getEmployeeengagementRecognitions(opts)\n .then((data) => {\n console.log(`getEmployeeengagementRecognitions success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getEmployeeengagementRecognitions\");\n console.error(err);\n });" |
| 16180 | + }, |
16142 | 16181 | "patchemployeeengagementcelebration": { |
16143 | 16182 | "operationId": "patchemployeeengagementcelebration", |
16144 | 16183 | "functionName": "patchEmployeeengagementCelebration", |
|
33355 | 33394 | "getoutboundmessagingcampaigns": { |
33356 | 33395 | "operationId": "getoutboundmessagingcampaigns", |
33357 | 33396 | "functionName": "getOutboundMessagingcampaigns", |
33358 | | - "signature": "getOutboundMessagingcampaigns(pageSize, pageNumber, sortBy, sortOrder, name, contactListId, divisionId, type, senderSmsPhoneNumber, id, contentTemplateId, campaignStatus)", |
| 33397 | + "signature": "getOutboundMessagingcampaigns(pageSize, pageNumber, sortBy, sortOrder, name, contactListId, divisionId, type, senderSmsPhoneNumber, id, contentTemplateId, campaignStatus, ruleSetIds)", |
33359 | 33398 | "parameters": [ |
33360 | 33399 | { |
33361 | 33400 | "name": "pageSize", |
@@ -33416,10 +33455,15 @@ |
33416 | 33455 | "name": "campaignStatus", |
33417 | 33456 | "type": "String", |
33418 | 33457 | "required": "false" |
| 33458 | + }, |
| 33459 | + { |
| 33460 | + "name": "ruleSetIds", |
| 33461 | + "type": "[String]", |
| 33462 | + "required": "false" |
33419 | 33463 | } |
33420 | 33464 | ], |
33421 | 33465 | "return": "MessagingCampaignEntityListing", |
33422 | | - "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.OutboundApi();\n\nlet opts = { \n \"pageSize\": 25, // Number | Page size. The max that will be returned is 100.\n \"pageNumber\": 1, // Number | Page number\n \"sortBy\": \"name\", // String | The field to sort by\n \"sortOrder\": \"ascending\", // String | The direction to sort\n \"name\": \"name_example\", // String | Name\n \"contactListId\": \"contactListId_example\", // String | Contact List ID\n \"divisionId\": [\"divisionId_example\"], // [String] | Division ID(s)\n \"type\": \"type_example\", // String | Campaign Type\n \"senderSmsPhoneNumber\": \"senderSmsPhoneNumber_example\", // String | Sender SMS Phone Number\n \"id\": [\"id_example\"], // [String] | A list of messaging campaign ids to bulk fetch\n \"contentTemplateId\": \"contentTemplateId_example\", // String | Content template ID\n \"campaignStatus\": \"campaignStatus_example\" // String | Campaign Status\n};\n\n// Query a list of Messaging Campaigns\napiInstance.getOutboundMessagingcampaigns(opts)\n .then((data) => {\n console.log(`getOutboundMessagingcampaigns success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getOutboundMessagingcampaigns\");\n console.error(err);\n });" |
| 33466 | + "example": "const platformClient = require(\"purecloud-platform-client-v2\");\n\nconst client = platformClient.ApiClient.instance;\nclient.setEnvironment(platformClient.PureCloudRegionHosts.us_east_1); // Genesys Cloud region\n\n// Manually set auth token or use loginImplicitGrant(...) or loginClientCredentialsGrant(...) or loginPKCEGrant(...)\nclient.setAccessToken(\"your_access_token\");\n\nlet apiInstance = new platformClient.OutboundApi();\n\nlet opts = { \n \"pageSize\": 25, // Number | Page size. The max that will be returned is 100.\n \"pageNumber\": 1, // Number | Page number\n \"sortBy\": \"name\", // String | The field to sort by\n \"sortOrder\": \"ascending\", // String | The direction to sort\n \"name\": \"name_example\", // String | Name\n \"contactListId\": \"contactListId_example\", // String | Contact List ID\n \"divisionId\": [\"divisionId_example\"], // [String] | Division ID(s)\n \"type\": \"type_example\", // String | Campaign Type\n \"senderSmsPhoneNumber\": \"senderSmsPhoneNumber_example\", // String | Sender SMS Phone Number\n \"id\": [\"id_example\"], // [String] | A list of messaging campaign ids to bulk fetch\n \"contentTemplateId\": \"contentTemplateId_example\", // String | Content template ID\n \"campaignStatus\": \"campaignStatus_example\", // String | Campaign Status\n \"ruleSetIds\": [\"ruleSetIds_example\"] // [String] | Ruleset ID(s)\n};\n\n// Query a list of Messaging Campaigns\napiInstance.getOutboundMessagingcampaigns(opts)\n .then((data) => {\n console.log(`getOutboundMessagingcampaigns success! data: ${JSON.stringify(data, null, 2)}`);\n })\n .catch((err) => {\n console.log(\"There was a failure calling getOutboundMessagingcampaigns\");\n console.error(err);\n });" |
33423 | 33467 | }, |
33424 | 33468 | "getoutboundmessagingcampaignsdivisionview": { |
33425 | 33469 | "operationId": "getoutboundmessagingcampaignsdivisionview", |
|
0 commit comments