diff --git a/doc/src/technical/guia-desenvolvemento/guia-integracion-terceiros.rst b/doc/src/technical/guia-desenvolvemento/guia-integracion-terceiros.rst
index febf382ff..72c8763e8 100644
--- a/doc/src/technical/guia-desenvolvemento/guia-integracion-terceiros.rst
+++ b/doc/src/technical/guia-desenvolvemento/guia-integracion-terceiros.rst
@@ -954,7 +954,7 @@ Exemplo de ficheiro de importación
-
+
@@ -977,7 +977,7 @@ Exemplo de ficheiro de importación
-
+
diff --git a/scripts/rest-clients/export-order-element.sh b/scripts/rest-clients/export-orders.sh
similarity index 100%
rename from scripts/rest-clients/export-order-element.sh
rename to scripts/rest-clients/export-orders.sh
diff --git a/scripts/rest-clients/import-order.sh b/scripts/rest-clients/import-order.sh
deleted file mode 100755
index 7087dc56d..000000000
--- a/scripts/rest-clients/import-order.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-. ./rest-common-env.sh
-
-printf "Login name: "
-read loginName
-printf "Password: "
-read password
-
-baseServiceURL=$DEVELOPMENT_BASE_SERVICE_URL
-certificate=$DEVELOPMENT_CERTIFICATE
-
-for i in "$@"
-do
- if [ "$i" = "--prod" ]; then
- baseServiceURL=$PRODUCTION_BASE_SERVICE_URL
- certificate=$PRODUCTION_CERTIFICATE
- else
- file=$i
- fi
-done
-
-if [ "$file" = "" ]; then
- printf "Missing file\n" 1>&2
- exit 1
-fi
-
-authorization=`./base64.sh $loginName:$password`
-
-curl -sv -X POST $certificate -d @$file \
- --header "Content-type: application/xml" \
- --header "Authorization: Basic $authorization" \
- $baseServiceURL/orderelements/ | tidy -xml -i -q -utf8
diff --git a/scripts/rest-clients/import-order-elements.sh b/scripts/rest-clients/import-orders.sh
similarity index 100%
rename from scripts/rest-clients/import-order-elements.sh
rename to scripts/rest-clients/import-orders.sh
diff --git a/scripts/rest-clients/order-sample.xml b/scripts/rest-clients/order-sample.xml
index ef9ca68ab..c387d86bc 100644
--- a/scripts/rest-clients/order-sample.xml
+++ b/scripts/rest-clients/order-sample.xml
@@ -16,14 +16,14 @@
-
+
-
+
diff --git a/scripts/rest-clients/order-update-sample.xml b/scripts/rest-clients/order-update-sample.xml
index 47215a659..cd81be357 100644
--- a/scripts/rest-clients/order-update-sample.xml
+++ b/scripts/rest-clients/order-update-sample.xml
@@ -2,7 +2,7 @@
+ code="ORDER-1" name="Order UPDATED" init-date="2010-01-01">
@@ -13,14 +13,14 @@
-
+
-
+
diff --git a/scripts/rest-clients/order-elements-sample.xml b/scripts/rest-clients/orders-sample.xml
similarity index 75%
rename from scripts/rest-clients/order-elements-sample.xml
rename to scripts/rest-clients/orders-sample.xml
index b824dca9e..62c33dd5a 100644
--- a/scripts/rest-clients/order-elements-sample.xml
+++ b/scripts/rest-clients/orders-sample.xml
@@ -6,42 +6,38 @@
init-date="2010-03-15T10:22:24.251+01:00" name="Pedido A"
code="PREFIX-00019">
-
+
-
-
+
-
-
-
-
+
+ type="LEAVE" name="medicalLeave" />
+ type="LEAVE" name="medicalLeave" />
+ type="LEAVE" name="paternityLeave" />
@@ -54,7 +50,7 @@
init-date="2010-03-15T10:22:24.251+01:00" name="Pedido BBB"
code="PREFIX-00022">
-
+
&2
- exit 1
-fi
-
-authorization=`./base64.sh $loginName:$password`
-
-curl -sv -X PUT $certificate -d @$file \
- --header "Content-type: application/xml" \
- --header "Authorization: Basic $authorization" \
- $baseServiceURL/orderelements/ | tidy -xml -i -q -utf8