CsvSimplePost

<< Fare clic per visualizzazione il sommario >>

Percorso:  I servizi di Jamio openwork > Rest Service >

CsvSimplePost

Service

Rest

 

Method

CsvSimplePost

 

Description

Invokes a REST service with the POST method.

 

Input

Name

Description

Type

Optional

baseUrl

The base url of the REST service (ex.: “https://api.twitter.com/1.1/”). (Required, unless specified in the “BaseUrl” configuration field)

String

 

resource

The resource (ex.: “statuses/show.json”). (Required, unless specified in the “Resource” configuration field)

String

 

data

Data to post. ParametersToString(), Detokenize() or SimpleDetokenize() can be used to get this string

Dataset

 

contentType

The media type of the request (ex.: “application/x-www-form-urlencoded”, “text/plain”; see http://en.wikipedia.org/wiki/MIME_type). (Defaults to “application/x-www-form-urlencoded”)

String

 

simpleList

If true, all fields are added to the returned list, ignoring row separators; if false, each object in the returned list is in turn a list, that is, each object contains a row, that contains n fields. (Defaults to false)

Bool

 

csvDelimiter

A string containing the field delimiter. (Defaults to ‘,’)

String

 

csvFieldsNotEnclosedInQuotes

True if no field is enclosed in quotes. (Defaults to false)

Bool

 

Output

Name

Description

Type

Optional

returnValue

A List of string containing the fields of the CSV structure returned by the REST invocation        .

List of string

 

 

Remarks

If only the complete url is available (not its baseUrl and resource parts), it can be passed in anyone of the two parameters (baseUrl or resource) leaving the other empty.