Data types
The following is a guide to the Data Types available at Request/Response body level, and those available when defining Connector Fields.
Request/Response Data Types
These data types can be set to define the format of the entire request/response.
Data Type | Description |
---|---|
Unknown | Passes no Content-Type/Accept Header |
Xml | Passes a Content-Type/Accept header of |
Json | Passes a Content-Type/Accept header of |
Form | Passes a Content-Type/Accept header of |
File | For uploading a file using multipart/form-data |
PlainText | Passes/returns unformatted text |
SimpleFile | For uploading and downloading files from the body |
MultipartRelated | (Supported for use in Request Only) |
CSV | Use when working with CSV content. |
Field formats
These data types can be set to define the format of the individual fields in the request/response.
Data Type | Description | Example Values |
---|---|---|
Text | Value is a string. |
|
Boolean | Used for true or false values. |
|
DateTime | Values contain dates and perhaps time parts. |
|
Integer | Values are whole numbers. |
|
Decimal | Number, rounded to 12 decimal places. |
|
Float | Number, rounded to 14 decimal places. |
|
File | Holds the contents of a file. | n/a |
Undefined | Value will be passed unformatted. | n/a |