ListPptTemplates

Updated at:

Queries a list of PowerPoint templates.

Try it now

You can call this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.

Authorization information

No authorization information is available for this API.

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

WorkspaceId

string

No

The workspace ID.

llm-xx

NextToken

string

No

The token used to retrieve the next page of results.

+CBOXvu2YLxC6DOua8Qupg==

MaxResults

integer

No

The maximum number of results to return.

Modification is not supported. The value is fixed at 10.

SceneId

integer

No

The template scene ID.

7

StyleId

integer

No

The style ID.

1

ColourId

integer

No

The color ID.

1

CareerId

integer

No

The career ID.

1

Response elements

Element

Type

Description

Example

object

The response result.

Code

string

The status code.

NoData

Current

integer

The current page number.

1

Data

array<object>

The business data.

object

The template data.

Id

integer

The ID.

10

CoverImg

string

The cover image.

http://xxx.com/a.png

HttpStatusCode

integer

The HTTP status code.

200

Message

string

The error message.

success

RequestId

string

The unique ID of the request.

1813ceee-7fe5-41b4-87e5-982a4d18cca5

Size

integer

The number of entries per page. The default value is 10.

10

Success

boolean

Indicates whether the request was successful. A value of `true` indicates success and `false` indicates failure.

true

Total

integer

The total number of records.

100

NextToken

string

The token used to retrieve the next page of results.

+CBOXvu2YLxC6DOua8Qupg==

MaxResults

integer

The maximum number of results to return.

10

Examples

Success response

JSON format

{
  "Code": "NoData",
  "Current": 1,
  "Data": [
    {
      "Id": 10,
      "CoverImg": "http://xxx.com/a.png"
    }
  ],
  "HttpStatusCode": 200,
  "Message": "success",
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Size": 10,
  "Success": true,
  "Total": 100,
  "NextToken": "+CBOXvu2YLxC6DOua8Qupg==",
  "MaxResults": 10
}

Error codes

For a list of error codes, visit the Error Center.

Change history

For more information, see Change details.