All URIs are relative to https://sailpoint.api.identitynow.com/beta
Method | HTTP request | Description |
---|---|---|
GetMessageCatalogs | Get /translation-catalogs/{catalog-id} | Get Message catalogs |
GetRecommendations | Post /recommendations/request | Returns a Recommendation Based on Object |
GetRecommendationsConfig | Get /recommendations/config | Get certification recommendation config values |
UpdateRecommendationsConfig | Put /recommendations/config | Update certification recommendation config values |
[]MessageCatalogDto GetMessageCatalogs(ctx, catalogId).Execute()
Get Message catalogs
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
catalogId := "catalogId_example" // string | The ID of the message catalog.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.IAIRecommendationsApi.GetMessageCatalogs(context.Background(), catalogId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IAIRecommendationsApi.GetMessageCatalogs``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetMessageCatalogs`: []MessageCatalogDto
fmt.Fprintf(os.Stdout, "Response from `IAIRecommendationsApi.GetMessageCatalogs`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
catalogId | string | The ID of the message catalog. |
Other parameters are passed through a pointer to a apiGetMessageCatalogsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
UserContextAuth, UserContextAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RecommendationResponseDto GetRecommendations(ctx).RecommendationRequestDto(recommendationRequestDto).Execute()
Returns a Recommendation Based on Object
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
recommendationRequestDto := *openapiclient.NewRecommendationRequestDto() // RecommendationRequestDto |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.IAIRecommendationsApi.GetRecommendations(context.Background()).RecommendationRequestDto(recommendationRequestDto).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IAIRecommendationsApi.GetRecommendations``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetRecommendations`: RecommendationResponseDto
fmt.Fprintf(os.Stdout, "Response from `IAIRecommendationsApi.GetRecommendations`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetRecommendationsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
recommendationRequestDto | RecommendationRequestDto |
UserContextAuth, UserContextAuth
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RecommendationConfigDto GetRecommendationsConfig(ctx).Execute()
Get certification recommendation config values
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.IAIRecommendationsApi.GetRecommendationsConfig(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IAIRecommendationsApi.GetRecommendationsConfig``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetRecommendationsConfig`: RecommendationConfigDto
fmt.Fprintf(os.Stdout, "Response from `IAIRecommendationsApi.GetRecommendationsConfig`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetRecommendationsConfigRequest struct via the builder pattern
UserContextAuth, UserContextAuth
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RecommendationConfigDto UpdateRecommendationsConfig(ctx).RecommendationConfigDto(recommendationConfigDto).Execute()
Update certification recommendation config values
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
recommendationConfigDto := *openapiclient.NewRecommendationConfigDto() // RecommendationConfigDto |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.IAIRecommendationsApi.UpdateRecommendationsConfig(context.Background()).RecommendationConfigDto(recommendationConfigDto).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `IAIRecommendationsApi.UpdateRecommendationsConfig``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateRecommendationsConfig`: RecommendationConfigDto
fmt.Fprintf(os.Stdout, "Response from `IAIRecommendationsApi.UpdateRecommendationsConfig`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiUpdateRecommendationsConfigRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
recommendationConfigDto | RecommendationConfigDto |
UserContextAuth, UserContextAuth
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]