DocumentationDynamic Media Image Production System API

getUserChars

Last update: March 8, 2022
  • Topics:
  • Dynamic Media Classic,SDK/API

CREATED FOR:

  • Developer
  • Admin

Gets a list of the characters used in a particular field.

Syntax

Authorized User Types

  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • ImagePortalAdmin

Parameters

Input (getUserCharsParam)

NameTypeRequiredDescription
charFieldxsd:stringYesDetermines the Trash State to search for.
includeInactivexsd:booleanYesInclude or exclude inactive users. Non-IPS Admin users must be an active member of at least one company to be authorized to make any API calls. An authorization fault is returned if the user has no active company memberships.
includInvalidxsd:booleanNoInclude or exclude invalid users.
companyHandleArraytypes:HandleArrayNoFilter results based on company.
groupHandleArraytypes:HandleArrayNoFilters results based on groups.
userRoleArraytypes:StringArrayNoFilters results based on user role.
numCharsxsd:intNoEnable >1 character.

Output (getUserCharsReturn)

NameTypeRequiredDescription
userCharsArraytypes:StringArrayYesAn array of character prefixes.

Examples

This code sample returns:

  • First characters of the last names of the users of a specific company.
  • A set of groups.
  • A set of user roles.

The User Char Filter Fields string constant determines the type of user characters returned.

Request

<ns1:getUserCharsParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
   <ns1:charField>LastName</ns1:charField>
   <ns1:includeInvalid>false</ns1:includeInvalid>
   <ns1:companyHandleArray>
      <ns1:items>47</ns1:items>
   </ns1:companyHandleArray>
</ns1:getUserCharsParam>

Response

<getUserCharsReturn xmlns="http://www.scene7.com/IpsApi/xsd">
   <userCharsArray>
      <items>b</items>
      <items>c</items>
      <items>d</items>
   </userCharsArray>
</getUserCharsReturn>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681