saveImageFormat
Last update: March 8, 2022
- Topics:
- Dynamic Media Classic,SDK/API
CREATED FOR:
- Developer
- Admin
Creates an image format.
The
urlModifier field value must consist of valid XML. For example, change & to &. Get the urlModfier value from the IPS user interface.Authorized User Types
IpsUserIpsAdminIpsCompanyAdminImagePortalAdmin
Parameters
Input (saveImageFormatParam)
| Name | Type | Required | Description |
|---|---|---|---|
| companyHandle | xsd:string | Yes | The handle to the company with the image format you want to work with. |
| imageFormatHandle | xsd:string | No | Image format handle you want to save. |
| name | xsd:string | Yes | Image format name. |
| urlModifier | xsd:string | Yes | This can be any IPS protocol query string. The easiest way to generate a URL modifier is to create one with the IPS user interface and then cut and paste the query string. |
Output (saveImageFormatReturn)
| Name | Type | Required | Description |
|---|---|---|---|
| imageFormatHandle | xsd:string | Yes | Handle to the image format. |
Examples
This code sample creates an image format. In this example, urlModifier was determined by its value in the IPS user interface with a valid HTML format.
Request
<saveImageFormatParam xmlns="http://www.scene7.com/IpsApi/xsd">
<companyHandle>47</companyHandle>
<name>My Image Format Name</name>
<urlModifier>wid=400&hei=400&fmt=jpeg&qlt=750&op_sharpen=0&
resMode=bicub&op_usm=0.0,0.0,0,0&iccEmbed=0
</urlModifier>
</saveImageFormatParam>
Response
<saveImageFormatReturn xmlns="http://www.scene7.com/IpsApi/xsd">
<imageFormatHandle>47|301</imageFormatHandle>
</saveImageFormatReturn>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681