Rest Keys are case sensitive

Just an FYI spent 30 minutes trying to figure out why my REST call to create a labor head was failing with POSTMAN. Appears that the Keys are case sensitive and that someone in Epicor forgot to camelcase a single word in a single key.

image

Seems like they could adjust the programming on the BO side not to be case sensitive.

This is one of the things you’re insulated from when you get to 10.2.500 and can use Epicor Functions. All the dirty interface work is encapsulated in the function and hidden from your client.

Is this v1 or v2 REST?

image

What are Epicor functions?

Give the 10.2.500+ ICE guides a read. Functions are basically user defined API endpoints that are self contained including the request and response signatures and allow you to orchestrate server side code (like a BPM but far more powerful given you can invoke anywhere/anytime).

I did a little “Hello World” example a little while ago. This might help when reading the documentation.

2 Likes