GetPptTemplateSelector

Updated at:

Retrieves the filters for PowerPoint (PPT) templates.

Try it now

You can call this API directly in OpenAPI Explorer without calculating the signature. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.

Authorization information

Currently, this API does not expose authorization information.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

WorkspaceId

string

No

The workspace ID.

lm-xxxx

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

Id of the request

xxxxx

Success

boolean

Indicates whether the request was successful.

Code

string

The error code.

DataNotExists

Message

string

The error message.

Error message

HttpStatusCode

integer

The HTTP status code.

400

Data

object

The response object.

Colour

array<object>

The colors.

object

Id

integer

The color ID.

1

Name

string

The color name.

Orange

Code

string

The color value.

#FCC462

SuitStyle

array<object>

The styles.

object

Id

integer

The style ID.

1

Title

string

The style name.

Flat and minimalist

SuitScene

array<object>

The scenarios.

object

Id

integer

The scenario ID.

1

Title

string

The scenario name.

Education and training

Career

array<object>

The careers.

object

Id

integer

The career ID.

1

Name

string

The career name.

Education and training

IsHot

integer

Indicates whether the career is popular.

0

Examples

Success response

JSON format

{
  "RequestId": "xxxxx",
  "Success": true,
  "Code": "DataNotExists",
  "Message": "Error message",
  "HttpStatusCode": 400,
  "Data": {
    "Colour": [
      {
        "Id": 1,
        "Name": "Orange",
        "Code": "#FCC462"
      }
    ],
    "SuitStyle": [
      {
        "Id": 1,
        "Title": "Flat and minimalist"
      }
    ],
    "SuitScene": [
      {
        "Id": 1,
        "Title": "Education and training"
      }
    ],
    "Career": [
      {
        "Id": 1,
        "Name": "Education and training",
        "IsHot": 0
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

403NoPermissionYou are not authorized to perform this action.Please check the workspaceId assignment

For more error codes, visit the Error Center.

Release notes

See Release Notes for a complete list.