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) |
Field formats
These data types can be set to define the format of the individual fields in the request/response.
Data Type | Description | Example Value |
---|---|---|
Boolean | Example. |
|
DateTime | Example. |
|
Decimal | Number, rounded to 12 decimal places. |
|
Integer | Example. |
|
Float | Number, rounded to 14 decimal places. |
|
Text | Value will be stored as a string. |
|
File | Holds the contents of a file. | n/a |
Undefined | Value will be passed unformatted. | n/a |