<< Fare clic per visualizzazione il sommario >> Percorso: API di piattaforma > Altri servizi > Rest > CsvSimplePost |
Service
Method
CsvSimplePost
Description
Invokes a REST service with the POST method and returns a list of object containing the fields of the CSV structure returned by the REST invocation.
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 |
A Key/Value pair collection of parameters to post (ex.: “id”, “210462857140252672”, “trim_user”, “true”).. |
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 the “ContentType” configuration field, if specified. |
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. |
Boolean |
|
csvDelimiter |
A string containing the field delimiter. Defaults to ‘,’. |
String |
|
csvFieldsNotEnclosedInQuotes |
True if no field is enclosed in quotes. Defaults to false. |
Boolean |
|
Output |
|||
Name |
Description |
Type |
Optional |
returnValue |
A List of object containing the fields of the CSV structure returned by the REST invocation. |
Arrayvalue |
|
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.