Updating Change Stage/Status Through API V3

Updating Change Stage/Status Through API V3

Hi all,

Have started using the API v3 for creating changes, and don't seem to be able to update the stage and status of a newly created change. I am using the following API:


With the following input data:

  1.                 "change": {
  2.                     "stage": { "id": "2"},
  3.                     "status": { "id": "16"},
  4.                     "comment": "This is a test"
  5.                 }

The error being returned is:

  1. {"response_status":{"status_code":4000,"messages":[{"status_code":4009,"field":"change_stage","type":"failed","message":"Given field is not editable"}],"status":"failed"}}

I am able to change the stage and status through the web portal. These fields aren't listed as read-only in the documentation; however, I've found the documentation to be unreliable while working with this API. Does anyone have a working example of this they could share?

Regards,

Ed

                  New to ADSelfService Plus?