In IFS 10.14 we try to connect an Employee to a Resource / Person record via a REST call to ResourceDetailsHandling.svc/ResourceSet(ResourceSeq=<resourceSeq>)/ResourceConnectionEmployeeArray,
According to the API documentation the field ResourceConnectionSeq is required in the payload.
The problem is that that value should be created by this API, and does not exist until the call has been completed.
In IEE RESOURCE_CONNECTION_API the function Get_Next_Sequence___ appears to handle the increment of the sequence number.
However, offering an empty value to the payload (assuming IFS will create one) results in an error. Offering a numeric value creates the record with that passed numeric value as ResourceConnectionSeq, but of course carries the risk of duplicates.
The documentation does not give any clarity
Any help would be appreciated.
Regards, Reinier
Question
How to connect Employee to Resource/Person via REST
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.