Skip to main content

sailpoint.beta.IAIMessageCatalogsApi

All URIs are relative to https://sailpoint.api.identitynow.com/beta

MethodHTTP requestDescription
get-message-catalogsGET /translation-catalogs/{catalog-id}Get Message catalogs

get-message-catalogs

Get Message catalogs The getMessageCatalogs API returns message catalog based on the language headers in the requested object.

API Spec

Parameters

Param TypeNameData TypeRequiredDescription
Pathcatalog_idstrTrueThe ID of the message catalog.

Return type

List[MessageCatalogDto]

Responses

CodeDescriptionData TypeResponse headers
200The message catalogs based on the request headersList[MessageCatalogDto]-
400Client Error - Returned if the request body is invalid.ErrorResponseDto-
401Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.ListAccessModelMetadataAttribute401Response-
403Forbidden - Returned if the user you are running as, doesn't have access to this end-point.ErrorResponseDto-
429Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.ListAccessModelMetadataAttribute429Response-
500Internal Server Error - Returned if there is an unexpected error.ErrorResponseDto-

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

Example

from sailpoint.beta.api.iai_message_catalogs_api import IAIMessageCatalogsApi
from sailpoint.beta.api_client import ApiClient
from sailpoint.beta.models.message_catalog_dto import MessageCatalogDto
from sailpoint.configuration import Configuration
configuration = Configuration()


with ApiClient(configuration) as api_client:
catalog_id = 'recommender' # str | The ID of the message catalog. # str | The ID of the message catalog.

try:
# Get Message catalogs

results = IAIMessageCatalogsApi(api_client).get_message_catalogs(catalog_id=catalog_id)
# Below is a request that includes all optional parameters
# results = IAIMessageCatalogsApi(api_client).get_message_catalogs(catalog_id)
print("The response of IAIMessageCatalogsApi->get_message_catalogs:\n")
print(results.model_dump_json(by_alias=True, indent=4))
except Exception as e:
print("Exception when calling IAIMessageCatalogsApi->get_message_catalogs: %s\n" % e)

[Back to top]