Skip to content

Commit

Permalink
69.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PureCloud Jenkins committed Apr 28, 2022
1 parent 4824145 commit 341c61c
Show file tree
Hide file tree
Showing 221 changed files with 5,466 additions and 19,186 deletions.
28 changes: 14 additions & 14 deletions APIData.json
Original file line number Diff line number Diff line change
Expand Up @@ -7661,7 +7661,7 @@
}
],
"return": "Whatsappintegration",
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewConversationsApiWithConfig(config)\n\nvar integrationId string // Integration ID\nvar body platformclientv2.Whatsappintegrationupdaterequest // WhatsAppIntegrationUpdateRequest\n// Update or activate a WhatsApp messaging integration.\ndata, response, err := apiInstance.PatchConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId, body)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PatchConversationsMessagingIntegrationsWhatsappIntegrationId: %v\\n\", err)\n}"
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewConversationsApiWithConfig(config)\n\nvar integrationId string // Integration ID\nvar body platformclientv2.Whatsappintegrationupdaterequest // WhatsAppIntegrationUpdateRequest\n// Update or activate a WhatsApp messaging integration\ndata, response, err := apiInstance.PatchConversationsMessagingIntegrationsWhatsappIntegrationId(integrationId, body)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PatchConversationsMessagingIntegrationsWhatsappIntegrationId: %v\\n\", err)\n}"
},
"patchconversationsmessagingsupportedcontentsupportedcontentid": {
"operationId": "patchconversationsmessagingsupportedcontentsupportedcontentid",
Expand Down Expand Up @@ -9890,16 +9890,16 @@
"getgamificationprofile": {
"operationId": "getgamificationprofile",
"functionName": "GetGamificationProfile",
"signature": "GetGamificationProfile(performanceProfileId)",
"signature": "GetGamificationProfile(profileId)",
"parameters": [
{
"name": "performanceProfileId",
"name": "profileId",
"type": "string",
"required": "true"
}
],
"return": "Performanceprofile",
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewGamificationApiWithConfig(config)\n\nvar performanceProfileId string // Performance Profile Id\n// Performance profile by id\ndata, response, err := apiInstance.GetGamificationProfile(performanceProfileId)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling GetGamificationProfile: %v\\n\", err)\n}"
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewGamificationApiWithConfig(config)\n\nvar profileId string // performanceProfileId\n// Performance profile by id\ndata, response, err := apiInstance.GetGamificationProfile(profileId)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling GetGamificationProfile: %v\\n\", err)\n}"
},
"getgamificationprofilemembers": {
"operationId": "getgamificationprofilemembers",
Expand Down Expand Up @@ -10443,30 +10443,30 @@
"postgamificationprofileactivate": {
"operationId": "postgamificationprofileactivate",
"functionName": "PostGamificationProfileActivate",
"signature": "PostGamificationProfileActivate(performanceProfileId)",
"signature": "PostGamificationProfileActivate(profileId)",
"parameters": [
{
"name": "performanceProfileId",
"name": "profileId",
"type": "string",
"required": "true"
}
],
"return": "Performanceprofile",
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewGamificationApiWithConfig(config)\n\nvar performanceProfileId string // Performance Profile Id\n// Activate a performance profile\ndata, response, err := apiInstance.PostGamificationProfileActivate(performanceProfileId)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostGamificationProfileActivate: %v\\n\", err)\n}"
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewGamificationApiWithConfig(config)\n\nvar profileId string // performanceProfileId\n// Activate a performance profile\ndata, response, err := apiInstance.PostGamificationProfileActivate(profileId)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostGamificationProfileActivate: %v\\n\", err)\n}"
},
"postgamificationprofiledeactivate": {
"operationId": "postgamificationprofiledeactivate",
"functionName": "PostGamificationProfileDeactivate",
"signature": "PostGamificationProfileDeactivate(performanceProfileId)",
"signature": "PostGamificationProfileDeactivate(profileId)",
"parameters": [
{
"name": "performanceProfileId",
"name": "profileId",
"type": "string",
"required": "true"
}
],
"return": "Performanceprofile",
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewGamificationApiWithConfig(config)\n\nvar performanceProfileId string // Performance Profile Id\n// Deactivate a performance profile\ndata, response, err := apiInstance.PostGamificationProfileDeactivate(performanceProfileId)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostGamificationProfileDeactivate: %v\\n\", err)\n}"
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewGamificationApiWithConfig(config)\n\nvar profileId string // performanceProfileId\n// Deactivate a performance profile\ndata, response, err := apiInstance.PostGamificationProfileDeactivate(profileId)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostGamificationProfileDeactivate: %v\\n\", err)\n}"
},
"postgamificationprofilemembers": {
"operationId": "postgamificationprofilemembers",
Expand Down Expand Up @@ -10595,10 +10595,10 @@
"putgamificationprofile": {
"operationId": "putgamificationprofile",
"functionName": "PutGamificationProfile",
"signature": "PutGamificationProfile(performanceProfileId, body)",
"signature": "PutGamificationProfile(profileId, body)",
"parameters": [
{
"name": "performanceProfileId",
"name": "profileId",
"type": "string",
"required": "true"
},
Expand All @@ -10609,7 +10609,7 @@
}
],
"return": "Performanceprofile",
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewGamificationApiWithConfig(config)\n\nvar performanceProfileId string // Performance Profile Id\nvar body platformclientv2.Performanceprofile // performanceProfile\n// Updates a performance profile\ndata, response, err := apiInstance.PutGamificationProfile(performanceProfileId, body)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PutGamificationProfile: %v\\n\", err)\n}"
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewGamificationApiWithConfig(config)\n\nvar profileId string // performanceProfileId\nvar body platformclientv2.Performanceprofile // performanceProfile\n// Updates a performance profile\ndata, response, err := apiInstance.PutGamificationProfile(profileId, body)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PutGamificationProfile: %v\\n\", err)\n}"
},
"putgamificationprofilemetric": {
"operationId": "putgamificationprofilemetric",
Expand Down Expand Up @@ -22315,7 +22315,7 @@
}
],
"return": "Recordingjob",
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewRecordingApiWithConfig(config)\n\nvar body platformclientv2.Recordingjobsquery // query\n// Create a recording bulk job\ndata, response, err := apiInstance.PostRecordingJobs(body)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostRecordingJobs: %v\\n\", err)\n}"
"example": "config := platformclientv2.GetDefaultConfiguration()\nconfig.BasePath = \"\" // expected format: mypurecloud.com\nconfig.AccessToken = \"your_access_token\" // or use AuthorizeClientCredentials(...) or AuthorizeCodeGrant(...)\n\napiInstance := platformclientv2.NewRecordingApiWithConfig(config)\n\nvar body platformclientv2.Recordingjobsquery // query\n// Create a recording bulk job.\ndata, response, err := apiInstance.PostRecordingJobs(body)\nfmt.Printf(\"Response:\\n Success: %v\\n Status code: %v\\n Correlation ID: %v\\n Body: %v\\n\", response.IsSuccess, response.StatusCode, response.CorrelationID, data.String())\nif err != nil {\n\tfmt.Printf(\"Error calling PostRecordingJobs: %v\\n\", err)\n}"
},
"postrecordinglocalkeys": {
"operationId": "postrecordinglocalkeys",
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Platform API Client SDK - Go

A Go package to interface with the Genesys Cloud Platform API. View the documentation on the [pkg.go.dev](https://pkg.go.dev/github.com/MyPureCloud/platform-client-sdk-go). Browse the source code on [Github](https://github.com/MyPureCloud/platform-client-sdk-go).

Latest version: 68.0.0 [![GitHub release](https://img.shields.io/github/release/mypurecloud/platform-client-sdk-go.svg)](https://github.com/MyPureCloud/platform-client-sdk-go)
Latest version: 69.0.0 [![GitHub release](https://img.shields.io/github/release/mypurecloud/platform-client-sdk-go.svg)](https://github.com/MyPureCloud/platform-client-sdk-go)
[![Release Notes Badge](https://developer-content.genesys.cloud/images/sdk-release-notes.png)](https://github.com/MyPureCloud/platform-client-sdk-go/blob/master/releaseNotes.md)

## Golang Version Dependency
Expand All @@ -18,7 +18,7 @@ Some macOS users encounter the error "argument list too long" when building or i
Retrieve the package from https://github.com/MyPureCloud/platform-client-sdk-go using `go get`:

```go
go get github.com/mypurecloud/platform-client-sdk-go/v68/platformclientv2
go get github.com/mypurecloud/platform-client-sdk-go/v69/platformclientv2
```

## Using the SDK
Expand All @@ -27,7 +27,7 @@ go get github.com/mypurecloud/platform-client-sdk-go/v68/platformclientv2

```go
import (
"github.com/mypurecloud/platform-client-sdk-go/v68/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v69/platformclientv2"
)
```

Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Platform API Client SDK - Go

A Go package to interface with the Genesys Cloud Platform API. View the documentation on the [pkg.go.dev](https://pkg.go.dev/github.com/MyPureCloud/platform-client-sdk-go). Browse the source code on [Github](https://github.com/MyPureCloud/platform-client-sdk-go).

Latest version: 68.0.0 [![GitHub release](https://img.shields.io/github/release/mypurecloud/platform-client-sdk-go.svg)](https://github.com/MyPureCloud/platform-client-sdk-go)
Latest version: 69.0.0 [![GitHub release](https://img.shields.io/github/release/mypurecloud/platform-client-sdk-go.svg)](https://github.com/MyPureCloud/platform-client-sdk-go)
[![Release Notes Badge](https://developer-content.genesys.cloud/images/sdk-release-notes.png)](https://github.com/MyPureCloud/platform-client-sdk-go/blob/master/releaseNotes.md)

## Golang Version Dependency
Expand All @@ -18,7 +18,7 @@ Some macOS users encounter the error "argument list too long" when building or i
Retrieve the package from https://github.com/MyPureCloud/platform-client-sdk-go using `go get`:

```go
go get github.com/mypurecloud/platform-client-sdk-go/v68/platformclientv2
go get github.com/mypurecloud/platform-client-sdk-go/v69/platformclientv2
```

## Using the SDK
Expand All @@ -27,7 +27,7 @@ go get github.com/mypurecloud/platform-client-sdk-go/v68/platformclientv2

```go
import (
"github.com/mypurecloud/platform-client-sdk-go/v68/platformclientv2"
"github.com/mypurecloud/platform-client-sdk-go/v69/platformclientv2"
)
```

Expand Down
Loading

0 comments on commit 341c61c

Please sign in to comment.