Legacy Dev Forum Posts

 View Only

Sign Up

Properties type supported in custom connector action request/response schema

  • 1.  Properties type supported in custom connector action request/response schema

    Posted 06-05-2025 18:40

    HirotoMasaki | 2017-04-18 21:30:33 UTC | #1

    I am at the "4.Modify the request and response schemas (custom connector action only)" expander of the page, https://help.mypurecloud.com/articles/add-bridge-actions-web-services-data-dip-connector/. And notice the part, "properties type=Object type. Supports all JSON types, except object, null, and nested arrays". Our partner tried a custom connector action with boolean, number, etc. supported by JSON (see https://spacetelescope.github.io/understanding-json-schema/reference/type.html), but it looks like it does NOT appear to work. Once they update the response/etc. schema so that it uses just string, things appear to start working just fine. Are they (are we) missing something here? Have you come across the same 'issue'? Please let us know. Thanks.


    anon28066628 | 2017-04-18 14:44:59 UTC | #2

    This may be related to case VX-927, a fix for the way bridge action outputs are handled. We worked around this for a customer with these casting expressions:

    ToInt(ToString(number_value))

    ToDecimal(ToString(number_value))

    I'm assuming ToBoolean(ToString(boolean_value)) would work similarly. They can keep the semantics of their schema and webservice and work around it in Architect until a fix is in place.


    HirotoMasaki | 2017-04-18 21:32:00 UTC | #3

    Thanks RJ. I communicated out of band (via email) to the partner engineer. Also set a watcher on VX-927 to get updates as we move along. Thanks again.


    system | 2017-08-28 19:33:55 UTC | #4


    This post was migrated from the old Developer Forum.

    ref: 1191