Difference between revisions of "Return format"

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<span data-link_translate_en_title="Return format"  data-link_translate_en_url="Return format"></span>[[:en:Return format]][[en:Return format]]
 +
<span data-link_translate_de_title=""  data-link_translate_de_url=""></span>[[:de:]][[de:]]
 +
<span data-link_translate_he_title="תבנית החזרה"  data-link_translate_he_url="%D7%AA%D7%91%D7%A0%D7%99%D7%AA+%D7%94%D7%97%D7%96%D7%A8%D7%94"></span>[[:he:תבנית החזרה]][[he:תבנית החזרה]]
 +
<span data-link_translate_ru_title="Возвращает формат"  data-link_translate_ru_url="%D0%92%D0%BE%D0%B7%D0%B2%D1%80%D0%B0%D1%89%D0%B0%D0%B5%D1%82+%D1%84%D0%BE%D1%80%D0%BC%D0%B0%D1%82"></span>[[:ru:Возвращает формат]][[ru:Возвращает формат]]
 +
<span data-link_translate_ja_title="戻り値の形式"  data-link_translate_ja_url="%E6%88%BB%E3%82%8A%E5%80%A4%E3%81%AE%E5%BD%A2%E5%BC%8F"></span>[[:ja:戻り値の形式]][[ja:戻り値の形式]]
 +
<span data-link_translate_ar_title="إعادة تنسيق"  data-link_translate_ar_url="%D8%A5%D8%B9%D8%A7%D8%AF%D8%A9+%D8%AA%D9%86%D8%B3%D9%8A%D9%82"></span>[[:ar:إعادة تنسيق]][[ar:إعادة تنسيق]]
 +
<span data-link_translate_zh_title="返回格式"  data-link_translate_zh_url="%E8%BF%94%E5%9B%9E%E6%A0%BC%E5%BC%8F"></span>[[:zh:返回格式]][[zh:返回格式]]
 +
<span data-link_translate_ro_title="Format de retur"  data-link_translate_ro_url="Format+de+retur"></span>[[:ro:Format de retur]][[ro:Format de retur]]
 +
<span data-link_translate_pl_title="Zwrotny formacie"  data-link_translate_pl_url="Zwrotny+formacie"></span>[[:pl:Zwrotny formacie]][[pl:Zwrotny formacie]]
 +
<span data-link_translate_nl_title="Terugkeer formaat"  data-link_translate_nl_url="Terugkeer+formaat"></span>[[:nl:Terugkeer formaat]][[nl:Terugkeer formaat]]
 +
<span data-link_translate_it_title="Formato di ritorno"  data-link_translate_it_url="Formato+di+ritorno"></span>[[:it:Formato di ritorno]][[it:Formato di ritorno]]
 +
<span data-link_translate_pt_title="Formato de retorno"  data-link_translate_pt_url="Formato+de+retorno"></span>[[:pt:Formato de retorno]][[pt:Formato de retorno]]
 
<span data-link_translate_es_title="Formato de devolución"  data-link_translate_es_url="Formato+de+devoluci%C3%B3n"></span>[[:es:Formato de devolución]][[es:Formato de devolución]]
 
<span data-link_translate_es_title="Formato de devolución"  data-link_translate_es_url="Formato+de+devoluci%C3%B3n"></span>[[:es:Formato de devolución]][[es:Formato de devolución]]
 
<span data-link_translate_fr_title="Format de retour"  data-link_translate_fr_url="Format_de_retour"></span>[[:fr:Format de retour]][[fr:Format de retour]]
 
<span data-link_translate_fr_title="Format de retour"  data-link_translate_fr_url="Format_de_retour"></span>[[:fr:Format de retour]][[fr:Format de retour]]

Latest revision as of 15:32, 9 February 2017

en:Return format de: he:תבנית החזרה ru:Возвращает формат ja:戻り値の形式 ar:إعادة تنسيق zh:返回格式 ro:Format de retur pl:Zwrotny formacie nl:Terugkeer formaat it:Formato di ritorno pt:Formato de retorno es:Formato de devolución fr:Format de retour

This article has been created by an automatic translation software. You can view the article source here.

fr::de:Rückgabeformatfr:de:Rückgabeformat




Introduction

IKoula API offers two formats back for answers : XML & JSON

Explanation

Each method available in the API returns a response.
By default, the return of the API is XML.
It is possible to change this format of return by passing an extra parameter format, set to be JSO eit XM. If you add this parameter, do not forget to add it before the generation of your signature (see Attention)

Example

Here are some examples of calls GET :

Default XML
https://api.ikoula.com/index.php?r=wsflex/vmlist&login=mail@example.com&crypted_password=password_encrypted&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
XML desired
https://api.ikoula.com/index.php?r=wsflex/vmlist&login=mail@example.com&crypted_password=password_encrypted&format=xml&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
JSON desired
https://api.ikoula.com/index.php?r=wsflex/vmlist&login=mail@example.com&crypted_password=password_encrypted&format=json&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Attention

If you specify the return format, you add an additional parameter to the API call. He should not forget to Add FRON generate your signature (see WIKI de The signature generation)



This article seemed you to be u ?

0




You are not allowed to post comments.