Skip Navigation
Expand
Custom Fields in EstablishSession request for chat REST API
Answer ID 10800   |   Last Review Date 07/24/2019

How do I pass custom fields using Chat REST API?

Environment:

Chat
Oracle Service Cloud - 18D and 19A releases

Resolution:

To pass the custom field in an EstablishSession REST call you will need to include the prefix "c." or "c$" to the name value when passing custom fields.

For example {\"name\" : \"c$location\", \"type\" : \"string\", \"value\" : \"200 Test Parkway Redwood Shores NJ 07036 USA\"}

You can get further information on Chat REST API here.

Available Languages for this Answer:

Notify Me
The page will refresh upon submission. Any pending input will be lost.