13.8. create

Name
create
Description
Create a custom errata. If "publish" is set to true, the errata will be published as well
Parameters
  • string sessionKey
  • struct - errata info
    • string synopsis
    • string advisory_name
    • int advisory_release
    • string advisory_type - Type of advisory (one of the following: 'Security Advisory', 'Product Enhancement Advisory', or 'Bug Fix Advisory'
    • string product
    • string errataFrom
    • string topic
    • string description
    • string references
    • string notes
    • string solution
  • array:
    • struct - bug
      • int id - Bug Id
      • string summary
      • string url
  • array:
    • string - keyword - List of keywords to associate with the errata.
  • array:
    • int - packageId
  • boolean publish - Should the errata be published.
  • array:
    • string - channelLabel - list of channels the errata should be published too, ignored if publish is set to false
Return Value
  • struct - errata
    • int id - Errata Id
    • string date - Date erratum was created.
    • string advisory_type - Type of the advisory.
    • string advisory_name - Name of the advisory.
    • string advisory_synopsis - Summary of the erratum.