RE: Rest Api: Create support case example?
Does anyone know of an example of how to create a support case using the REST api? or, really… any set of useful examples? I just keep randomly trying things. The documentation just isn’t clear.
Here are two examples where I’m having trouble creating a supportCase. (I’m referring to this documentation)
- The “company” field. Docs show “company: one of: [ customer, partner, vendor, nsResource, employee, contact ]”
but when I send “customer”, I get the error: “Invalid value for the resource or sub-resource field ‘company’. Provide a valid value.”
- The “assigned” field. Docs just show “assigned: employee” which is really not clear. I’ve tried sending just an employee ID, and I’ve tried sending an object where the Id property is set to the employee ID. Both give me this error: “Error while accessing a resource. You have entered an Invalid Field Value XYZ for the following field: assigned.” (I replaced my id with XYZ)
Any suggestions would be greatly appreciated!