Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Delete attribute definitions based on name or ID. This is new as of Grouper v2.3.0

Features

  • Add or edit Delete an attribute definitionIf
  • you are editing an existing Lookup the attribute definition , you can look it up by name or idYou can specify a saveMode of INSERT, UPDATE, or INSERT_OR_UPDATE.  If you specify INSERT and the attributeDef exists, it will be an error.  If you specify UPDATE and the attributeDef doesnt exist, it will be an error.be name, id, or index
  • Non-lite service can save delete multiple attributeDef at onceYou can have this operation automatically create parent stems if they do not exist
  • Can pass in a txType so that you can run all the saves deletes in one transaction, or just finish the work that is possible with no enclosing transaction
  • Can set the name, and description of an attribute def
  • Returns attribute definition(s), and the result code of if it was inserted or updateddeleted
  • Can actAs another user

attributeDefDelete Lite service

  • Accepts one attribute def to savedelete...
  • Documentation: SOAP (click on attributeDefSaveattributeDefDelete), REST
  • For REST, the request can put data in query string (in URL or request body)
  • REST request (colon is escaped to %3A): PUT DELETE /grouper-ws/servicesRest/v2_3_000/attributeDefs
    • Note: if passing data in request body e.g. actAs, use a POST
  • (see documentation above for details): Request object, response object
  • Response codes
  • Samples (all files with "Lite" in them, click on "download" to see file)

...

  • Accepts multiple attributeDefs to savedelete
  • Documentation: SOAP (click on attributeDefSaveattributeDefDelete), REST
  • REST request (colon is escaped to %3A): POST DELETE /grouper-ws/servicesRest/v2_3_000/attributeDefs
  • (see documentation above for details): Request objectresponse object
  • Response codes
  • Returns an overall status, and a status for each assignmentdelete
  • Samples (all files with "Lite" in them, click on "download" to see file)