4.28. Get Image Captions
GET /cm/codes/image-captions
Description
Get a list of supported image captions
Responses
| HTTP Code | Description | Schema |
|---|---|---|
200 |
Success |
|
500 |
Internal server error |
Produces
-
application/xml
Tags
-
CodeLists
Example HTTP request
Request path
/cm/codes/image-captions
Example HTTP response
Response 200
<?xml version="1.0" encoding="UTF-8"?>
<ImageCaptions>
<ImageCaption Code="1" IsAllowedForVacationRental="true" Name="Balcony/Terrace"/>
</ImageCaptions>
Response 500
<?xml version="1.0" encoding="UTF-8"?>
<ErrorResponse CorrelationID="8b417d6a-f3df-4d65-870c-240378b8ad3e" Endpoint="ImageCaptions">
<Errors>
<Error Code="9000" ShortText="Internal Server Error" Status="NotProcessed"/>
</Errors>
</ErrorResponse>
