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 “companyone of: [ customerpartnervendornsResourceemployeecontact ]”
    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 “assignedemployee” 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!


Rookie Asked on February 15, 2022 in How To's.
Add Comment
5 Answer(s)


If you’re struggling to get started then there’s a Postman collection available:

I’m pretty sure this has some examples of how to reference other records.

Please let me know if you’re still struggling.



Intermediate Answered on February 25, 2022.
Add Comment

You’re talking about the NetSuite REST Api Tutorial.postman_collection.json, right?  I don’t see any supportCase examples there.

The other file, NetSuiteDataLoader has csv’s and java code, doesn’t seem to relate to this subject.

Rookie Answered on February 25, 2022.
Add Comment

Yes, the Postman collection. No support case but examples showing how to set customer like this:

“entity”: { “id”: 123 }

Also, have you got Beta records enabled?

Intermediate Answered on February 25, 2022.
Add Comment

Oh, so you’re saying the “Company” property needs a similar format as “Customer” that you’re referring to?  Okay, that’s great – I’ll start looking into that, thank you!

But as for Beta, now I’m worried because I don’t even know what you mean.  Are you saying Beta is a whole different set of records?  I assumed it was just a different endpoint for the same data.

Rookie Answered on February 25, 2022.
Add Comment

The “this documentation” you linked to above has little Beta icons, There’s also a checkbox at the top that shows you what is out of Beta.

At the moment supportCase is in Beta, though it’s worth checking the 2022.1 release notes to see if that’s about to change.

Access to Beta is openly available but you will need to apply via the link at the top of Setup > Company > Enable Featured > SuiteCloud.

Intermediate Answered on February 25, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor