Sv translation | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||
To retrieve a report subscription via the command line, proceed as follows. Identify the Report SubscriptionYou will need the ID of the report subscription. Unfortunately, this is not currently possible via the web interface. You will need to query the database:
Make an note of the returned ID. Run the Report SubscriptionThe report subscription can be run via the command line, using the URL specified in the following system parameter:
For example:
http GETTo execute the subscription, execute a http GET to the URL, replacing <ID> with the report subscriptions ID:
Using curlInstalling curlIf using linux, curl can be installed using the following command:
If using Windows, curl can be installed as part of the cygwin package. Retrieving with curlReplace <ID> with the ID of the relevant report subscription:
OutputIf successful, the output will be XML, which contains the filename of the generated report. For example:
Extract the Report File NameParsing the XMLIf you are using a programming language or script language which can parse XML, then you can extract the filename of the generated report using the following XPath expression:
Using the Command LineIf you are using curl from cygwin or from linux, you can extract the filename using sed as follows:
This will return the extracted filename to stdout. |
Sv translation | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Sv translation | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
Pour récupérer un abonnement à un rapport via la ligne de commande, procédez comme suit. Identifier l'abonnement au rapportVous aurez besoin de l'ID de l'abonnement au rapport. Malheureusement, cela n'est pas possible actuellement via l'interface web. Vous devrez interroger la base de données To retrieve a report subscription via the command line, proceed as follows. Identify the Report SubscriptionYou will need the ID of the report subscription. Unfortunately, this is not currently possible via the web interface. You will need to query the database:
Make an note of the returned ID. Run the Report SubscriptionThe report subscription can be run via the command line, using the URL specified in the following system parameter:Prenez note de la pièce d'identité retournée. Exécuter l'abonnement aux rapportsL'abonnement au rapport peut être lancé via la ligne de commande, en utilisant l'URL spécifiée dans le paramètre système suivant:
Par exemple:
http GETTo execute the subscription, execute a http GET to the URL, replacing <ID> with the report subscriptions IDPour exécuter l'abonnement, exécutez un GET http à l'URL, en remplaçant <ID> par l'ID d'abonnement au rapport:
Utilisation de curlInstallingInstallation de curlIf usingSi vous utilisez linux, curl can be installed using the following commandpeut être installé à l'aide de la commande suivante:
Si vous utilisez Windows, curl can be installed as part of the cygwin package.Retrieving with curlReplace <ID> with the ID of the relevant report subscriptionpeut être installé en tant que partie intégrante du paquet cygwin. Récupération avec CURLRemplacez <ID> par l'identifiant de l'abonnement au rapport concerné:
OutputIf successful, the output will be XML, which contains the filename of the generated report. For exampleSortieEn cas de succès, la sortie sera XML, qui contient le nom de fichier du rapport généré. Par exemple:
Extract the Report File NameParsing the XMLIf you are using a programming language or script language which can parse XML, then you can extract the filename of the generated report using the following XPath expressionExtraire le nom du fichier de rapportAnalyser le XMLSi vous utilisez un langage de programmation ou un langage de script qui peut analyser XML, vous pouvez alors extraire le nom de fichier du rapport généré en utilisant l'expression XPath suivante:
Using the Command LineUtilisation de la ligne de commandeSi vous utilisez curl à partir de cygwin ou de linux, vous pouvez extraire le nom du fichier en utilisant sed comme suit If you are using curl from cygwin or from linux, you can extract the filename using sed as follows:
Le nom de fichier extrait sera alors renvoyé à stdout. |