Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-976

REST enpoint for updating organization unit use wrong method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • REST API
    • NEW
    • NEW

      REST endpoint /organizationalunits/

      {organizationalUnitName} with method POST is used for updating an existing organizational unit. REST method PUT should be used for updating. POST method is for creating.
      REST endpoint is implemented here

      Also REST endpoint /organizationalunits with method POST is used for creating new organizational unit. This endpoint should be change to /organizationalunits/{organizationalUnitName}

      where

      {organizationalUnitName}

      is same as org. unit name in REST call body.

            eignatow Eder Ignatowicz
            jakubschwan Jakub Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: