The xml and Json parser ordered the result, so you lost you order.
To resolved that :
Add in Json all of your exclusions in first and add they inclusions in second for the same path.
In first post this :
And in second post :
Graphic result join at this email.
I join at this mail a json example to add a new job with this specifications.
De : Shashank Raj [mailto:firstname.lastname@example.org]
Envoyé : mercredi 30 mai 2018 09:01
À : email@example.com
Objet : ManifoldCF API file system exclusion list
We have been trying to modify the present job through API. For this we are first calling API/JSON/jobs/jobid to get the JSON format and then appending an excluded file in the repository column of the job. But by priority the included files show up first causing exclusion not to occur since first inclusion is "all files". How do I make it possible to exclude a given file first in priority? We are doing this by sending a put request using the same API.
Also we need to know what does "_value_" stand for in this exclude JSON object.