edit-icon download-icon

QueryWaterMarkTemplateList

Last Updated: Feb 08, 2018

Description

The QueryWaterMarkTemplateList API queries details about watermark templates by watermark template ID.

Request parameters

Parameter Type Required or not Description
Action String Yes API of the action, system required parameter. Set this parameter to QueryWaterMarkTemplateList.
WaterMarkTemplateIds String Yes List of watermark template IDs separated by commas (,). A maximum of 10 template IDs can be entered.

Return parameters

Name Type Description
WaterMarkTemplateList AliyunWaterMarkTemplate[ ] List of watermark templates
NonExistWids String[ ] List of non-existing watermark templates. If no data exists, this structure is not returned.

Example

Request example

  1. http://mts.cn-hangzhou.aliyuncs.com/?WaterMarkTemplateIds=88c6ca184c0e47098a5b665e2a126797&Action=QueryWaterMarkTemplateList&<Public parameter>

Return example

XML

  1. <QueryWaterMarkTemplateListResponse>
  2. <RequestId>25818875-5F78-4A13-BEF6-D7393642CA58</RequestId>
  3. <TotalCount>1</TotalCount>
  4. <PageNumber>1</PageNumber>
  5. <PageSize>10</PageSize>
  6. <WaterMarkTemplateList list="true">
  7. <WaterMarkTemplate>
  8. <Id>88c6ca184c0e47098a5b665e2a126797</Id>
  9. <Name>example-watermark</Name>
  10. <Width>10</Width>
  11. <Height>30</Height>
  12. <Dx>10</Dx>
  13. <Dy>5</Dy>
  14. <ReferPos>TopRight</ReferPos>
  15. <Type>Image</Type>
  16. <State>Normal</State>
  17. </WaterMarkTemplate>
  18. </WaterMarkTemplateList>
  19. </QueryWaterMarkTemplateListResponse>

JSON

  1. {
  2. "RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
  3. "TotalCount": 1,
  4. "PageNumber": 1,
  5. "PageSize": 10,
  6. "WaterMarkTemplateList": {
  7. "WaterMarkTemplate": [{
  8. "Id": "88c6ca184c0e47098a5b665e2a126797",
  9. "Name": "example-watermark",
  10. "Width": "10",
  11. "Height": "30",
  12. "Dx": "10",
  13. "Dy": "5",
  14. "ReferPos": "TopRight",
  15. "Type": "Image",
  16. "State": "Normal"
  17. }]
  18. }
  19. }
Thank you! We've received your feedback.