Ifd:updateIllustration

From dev.ifd-library.org

Jump to: navigation, search

API version 3

Function public IfdIllustration updateIllustration (
                                                  String session_id,
                                                  String concept_guid,
                                                  IfdIllustration illustrationm) 
                      throws IfdServerException

EXPRESS Heading

Query function updateIllustration(
                 concept_guid : STRING;
                 illustrationm: IfdIllustration) : IfdIllustration;


The function updates specified illustration of the concept. It was a lacuna in original v.2.0 – no any functionality to manage illustrations.


Input:

  • String concept_guid - (optional) global unique id of a concept (or context, where user is owner) to be updated in specified illustration. If the parameter is unset or empty the illustration will be updated in respect to all concepts;

IfdIllustration illustrationm - illustration specification in the following attributes:

  • guid – global unique id of the original illustration (it shall be assigned to the specified concept if specified);
  • language – language (specified by guid, language_code or name_in_english) of the illustration – could be a subject to change;
  • mimetype – type of MIME type of the illustration representation;
  • illustration – MIME code of the illustration;
  • preferred_by – ignored in input

Return:

  • IfdIllustration - The same illustration with updated attributes (guid could be changed).


Back to the API