Developer Q&A

Ask a Question
Back to All

Create a Work Order Item on behalf of someone

Hi,

I can create a work item based on the user that establishes the API communication.
Once I add the following line, the system throws an error as:

//on behalf of someone else
RequestorContact = new Contact() { FirstName = "John", LastName = "Smith" }

//Error
Error dehydrating property value for Corrigo.BO.WorkOrder.WorkOrder2.Creator

A possible way to achieve this? thanks