Name | Type | Description | Notes |
---|---|---|---|
method | MethodEnum | ||
path | String | ||
base_url_override | String | [optional] | |
data | String | [optional] | |
multipart_form_data | Array<MultipartFormFieldRequest> | Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. | [optional] |
headers | Hash<String, AnyType> | The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. | [optional] |
request_format | RequestFormatEnum | [optional] | |
normalize_response | Boolean | Optional. If true, the response will always be an object of the form `{"type": T, "value": ...}` where `T` will be one of `string, boolean, number, null, array, object`. | [optional] |
require 'merge_accounting_client'
instance = MergeAccountingClient::DataPassthroughRequest.new(
method: POST,
path: /scooters,
base_url_override: null,
data: {"company": "Lime", "model": "Gen 2.5"},
multipart_form_data: null,
headers: {"EXTRA-HEADER":"value"},
request_format: JSON,
normalize_response: null
)