DX Engine for Generic Webservice
Connector Configuration
Parameter Name | Parameter Property | Description |
---|---|---|
Base URL | baseUrl | |
Path | path | |
Method | method | Valid values: GET , POST , PUT , DELETE |
Headers | baseHeaders | |
Query Parameters | baseQueryParams |
Component Configuration
Parameter Name | Parameter Property | Description |
---|---|---|
Connection | connectionCode | The Connection Code of a configured Universal Connector. |
Webservice Path | path | |
Method | method | |
Headers | baseHeaders | |
Query Parameters | baseQueryParams | |
Query Parameter Options | queryParamsOptions | An onject that described how query paramaters will be stringified in the URL path. See details below. |
Body | body |
Query Parameter Options
Property | Datatype | Description |
---|---|---|
encode | boolean | URL encode the keys and values. (Default: true ) |
arrayFormat | string | How array values are rendered. Valid values are: none , bracket , index , comma , separator , bracket-separator , colon-list-separator (Default: none ) |
skipNull | boolean | Skip keys with null as the value. (Default: true ) |
skipEmptyString | boolean | Skip keys with an empty string as the value. (Default: false ) |
Array Formats
Format | Object | Result |
---|---|---|
none | { a: ['b', 'c'] } | a[0]=b&a[1]=c&a[2]=d |
brackets | { a: ['b', 'c'] } | a[]=b&a[]=c |
comma | { a: ['b', 'c'] } | a=b,c |
indices | { a: ['b', 'c'] } | a[0]=b&a[1]=c |
Component Experience Rule Configuration
Parameter Name | Parameter Property | Description |
---|---|---|
Headers | headers | |
Query Parameters | queryParams | |
Body | body |