Skip to main content
Question

Automation op voorlopige wijzigingsaanvraag

  • January 16, 2026
  • 6 replies
  • 86 views

ehorstingUGT
Forum|alt.badge.img+2

Wij hebben voor onze IT kavels (4) aparte mailimport folders zodat de juiste behandelaarsgroep cq coordinator wordt gezet bij mailimport.

Wijzigingen importeren bij ons standaard als Voorlopige wijzigingsaanvraag. Nu loop ik hierop vast.

Ik doe de query /tas/api/operatorChanges/${unid} en krijg de volgende respons:

Response body: {"status":400,"errors":[{"errorCode":"Change type is not set. Please first set the change type before continuing","appliesTo":[]}]}

Ik heb geen idee wat ik precies moet doen nu. Als ik het op een normale (dus niet voorlopige) wijzigingsaanvraag uitvoer krijg ik wel netjes respons.

edit: ik snap de foutmelding, hij wil weten of het een eenvoudige of uitgebreide change is, maar zover is het proces nog niet..

6 replies

Forum|alt.badge.img+2
  • New Member
  • January 16, 2026

Hi there,
I think this is happening because your provisional RfC hasn’t been given a change type (e.g. Simple or Extensive). I’m guessing that normal changes work because they’ve gone far enough to have that set?


Forum|alt.badge.img+6

Hi,

Since you have posted your query in the English environment of this community, I will reply in English.

What are you trying to achieve? What kind of method are you using (GET, POST, PATCH)? 
 


ehorstingUGT
Forum|alt.badge.img+2
  • Author
  • New Member
  • January 19, 2026

Sorry, new to this community page, was not aware of different language topics :-)

What I want to achieve is to set a change template on a mail-imported change. However, mail-imported changes are (voorlopige wijzigingsaanvraag) preliminary changes (what is the term in English?) and do not have a change-type yet. This is causing an error. How can I do this?

Extra info: We have 4 mailimports for our disciplines and for each imported change I want to apply the right changetemplate.


Sanne Haller
Forum|alt.badge.img+3

When a email is imported as a (preliminary request for) change and the environment uses simple and extensive changes, the change type is not automatically set. Before you can do anything with the change through api, you need to set the change type (Simple or Extensive).

In your actionsequents first make a patch step on  /tas/api/operatorChanges/${unid} to set the change type. After that you can use any api call you want.

At the top of my head it's this JSON body. But please check the documentation at the developer page.

[

  {

    "op": "add",

    "path": "/changeType"

    "value": "Extensive"

  }

]

 


Forum|alt.badge.img+1

I have the same question. 

With

  {
    "op": "replace",
    "path": "/changeType",
    "value": "extensive"
 }

 The changetype is filled. But then there's the following errorcode:

"status":400,"errors": "errorCode":"submitting a prfc requires a manager","appliesTo":

How can I automatically prove the change form prfc to rfc


Forum|alt.badge.img

I have the same question. 

With

  {
    "op": "replace",
    "path": "/changeType",
    "value": "extensive"
 }

 The changetype is filled. But then there's the following errorcode:

"status":400,"errors": "errorCode":"submitting a prfc requires a manager","appliesTo":

How can I automatically prove the change form prfc to rfc

If I understand that correctly, u should set a manager in your changetemplate and activate the authorization checkbox “approved”. 
Maybe you should set up several templates, which fits your needs and identify the topic of the mail to assign the correct change-template.

Hth,

Thomas