The /CreateJob endpoint returns 500: "Multiple job domains detected, please use the new V2 methods and provide the domainID." even when supplying a domain ID in the "domainID"-field.
I can't find a /CreateJobV2 endpoint in the documentation. What am I missing?
The error message is indeed confusing and outdated. Originally jobs were created without a domain, the web method is still backwards compatible so that it still works to create jobs without specifying a domain when there are no multiple domains. This error only occurs when using Jobs with multiple domains, while still creating jobs the old way. With multiple domains it's necessary to specify the ID of the domain in the job object (DMAJob) when calling the CreateJob method.
Thank you for pointing this out and for even fixing our documentation, greatly appreciated!
Awesome, thank you! I got it to work but it didn’t help my troubleshooting that the documentation was wrong (https://github.com/SkylineCommunications/dataminer-docs/pull/156/commits/0596f7126bedcde8e3ab79c79b50047eaa998bac).