<< Fare clic per visualizzazione il sommario >> Percorso: API di piattaforma > Altri servizi > Rest > SimpleGet |
Service
Method
SimpleGet
Description
Invokes a REST service with the GET method and returns a string containing the service output
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 |
|
parameters |
A Key/Value pair collection of parameters (ex.: “id”, “210462857140252672”, “trim_user”, “true”). |
Dataset |
|
Output |
|||
Name |
Description |
Type |
Optional |
returnValue |
A string containing the service output. |
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.
The output string can be in various formats (Json, XML, CSV, HTML and others): if desired, the appropriate transformations can be requested with other methods JsonToDictionary, XmlToDictionary and CsvToList.