Champs spécifiques
Obtenir la liste des champs spécifiques
GET /special_fields/list
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/list
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?> <xml> <special_fields> <special_field> <carrier> <item> <value>CHRONOPOST</value> <translation>Chronopost</translation> </item> <item> ... </item> </carrier> </special_field> <special_field> ... </special_field> ... </special_fields> </xml>Haut
carrier
Champ | Type | Valeur |
---|---|---|
carrier | string |
|
GET /special_fields/carrier
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/carrier
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<carrier>
<item>
<value>CHRONOPOST</value>
<translation>Chronopost</translation>
</item>
<item>
...
</item>
</carrier>
</special_field>
</xml>
Haut
country
Champ | Type | Valeur |
---|---|---|
country | string |
|
GET /special_fields/country
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/country
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<country>
<item>
<value>AF</value>
<translation>AFGHANISTAN</translation>
</item>
<item>
...
</item>
</country>
</special_field>
</xml>
Haut
currency
Champ | Type | Valeur |
---|---|---|
currency | string |
|
GET /special_fields/currency
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/currency
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<currency>
<item>
<value>AUD</value>
<translation>Dollars Australiens</translation>
</item>
<item>
...
</item>
</currency>
</special_field>
</xml>
Haut
kind
Champ | Type | Valeur |
---|---|---|
kind | integer |
|
GET /special_fields/kind
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/kind
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<kind>
<item>
<value>1</value>
<translation>Service</translation>
</item>
<item>
...
</item>
</kind>
</special_field>
</xml>
Haut
language
Champ | Type | Valeur |
---|---|---|
language | string |
|
GET /special_fields/language
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/language
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<language>
<item>
<value>french</value>
<translation>français</translation>
</item>
<item>
...
</item>
</language>
</special_field>
</xml>
Haut
late_fee
Champ | Type | Valeur |
---|---|---|
late_fee | double |
|
GET /special_fields/late_fee
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/late_fee
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<late_fee>
<item>
<value>0</value>
<translation>Pas d'intérêt de retard</translation>
</item>
<item>
...
</item>
</late_fee>
</special_field>
</xml>
Haut
mass_unit
Champ | Type | Valeur |
---|---|---|
mass_unit | string |
|
GET /special_fields/mass_unit
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/mass_unit
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<mass_unit>
<item>
<value>kg</value>
<translation>Kilogramme</translation>
</item>
<item>
...
</item>
</mass_unit>
</special_field>
</xml>
Haut
payment
Champ | Type | Valeur |
---|---|---|
payment | string |
|
GET /special_fields/payment
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/payment
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<payment>
<item>
<value>TIP</value>
<translation>TIP (Titre Interbancaire de Paiement)</translation>
</item>
<item>
...
</item>
</payment>
</special_field>
</xml>
Haut
status
Champ | Type | Valeur |
---|---|---|
status | string |
Pour le cas d'un devis :
|
GET /special_fields/status
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/status
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?> <xml> <special_field> <status> <estimate> <item> <value>draft</value> <translation>Créé</translation> </item> <item> ... </item> </estimate> <purchaseorder> ... </purchaseorder> <invoice> ... </invoice> <packinglist> ... </packinglist> </status> </special_field> </xml>Haut
terms
Champ | Type | Valeur |
---|---|---|
terms | string |
|
GET /special_fields/terms
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/terms
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<terms>
<item>
<value>0</value>
<translation>à réception</translation>
</item>
<item>
...
</item>
</terms>
</special_field>
</xml>
Haut
imservice
Champ | Type | Valeur |
---|---|---|
imservice | string |
|
GET /special_fields/imservice
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/imservice
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<imservice>
<item>
<value>AIM</value>
<translation>AOL Instant Messenger</translation>
</item>
<item>
...
</item>
</imservice>
</special_field>
</xml>
Haut
frequency
Champ | Type | Valeur |
---|---|---|
frequency | string |
|
GET /special_fields/frequency
Exemple de requête avec cURL
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/frequency
Exemple de réponse XML
HTTP Status: 200 OK
<?xml version="1.0" encoding="utf-8"?>
<xml>
<special_field>
<frequency>
<item>
<value>weekly</value>
<translation>Toutes les semaines</translation>
</item>
<item>
...
</item>
</imservice>
</special_field>
</xml>
Haut