Special fields
Get special fields list
GET /special_fields/list
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/list
XML response example
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>
carrier
Field | Type | Value |
---|---|---|
carrier | string |
|
GET /special_fields/carrier
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/carrier
XML response example
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>
country
Field | Type | Value |
---|---|---|
country | string |
|
GET /special_fields/country
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/country
XML response example
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>
currency
Field | Type | Value |
---|---|---|
currency | string |
|
GET /special_fields/currency
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/currency
XML response example
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>
kind
Field | Type | Value |
---|---|---|
kind | integer |
|
GET /special_fields/kind
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/kind
XML response example
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>
language
Field | Type | Value |
---|---|---|
language | string |
|
GET /special_fields/language
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/language
XML response example
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>
late_fee
Field | Type | Value |
---|---|---|
late_fee | double |
|
GET /special_fields/late_fee
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/late_fee
XML response example
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>
mass_unit
Field | Type | Value |
---|---|---|
mass_unit | string |
|
GET /special_fields/mass_unit
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/mass_unit
XML response example
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>
payment
Field | Type | Value |
---|---|---|
payment | string |
|
GET /special_fields/payment
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/payment
XML response example
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>
status
Field | Type | Value |
---|---|---|
status | string |
For estimates:
|
GET /special_fields/status
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/status
XML response example
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>
terms
Field | Type | Value |
---|---|---|
terms | string |
|
GET /special_fields/terms
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/terms
XML response example
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>
imservice
Field | Type | Value |
---|---|---|
imservice | string |
|
GET /special_fields/imservice
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/imservice
XML response example
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>
frequency
Field | Type | Value |
---|---|---|
frequency | string |
|
GET /special_fields/frequency
cURL request example
curl -u #:#{password}'\ -H 'User-Agent: #{user_agent}'\ -X GET https://#{subdomain}.iscriba.com/api/special_fields/frequency
XML response example
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>