summaryrefslogtreecommitdiffstats
path: root/restclient/serviceOrder.http
diff options
context:
space:
mode:
Diffstat (limited to 'restclient/serviceOrder.http')
-rw-r--r--restclient/serviceOrder.http29
1 files changed, 29 insertions, 0 deletions
diff --git a/restclient/serviceOrder.http b/restclient/serviceOrder.http
new file mode 100644
index 0000000..c8c6905
--- /dev/null
+++ b/restclient/serviceOrder.http
@@ -0,0 +1,29 @@
+### Create REJECTED
+POST {{serviceOrder.url}}/serviceOrder
+ ?fields=id,state,description,relatedParty.id,toto
+Accept: application/json
+Content-Type: application/json
+
+< ./json/serviceOrder_create_in_rejected.json
+
+### Create COMPLETED
+POST {{serviceOrder.url}}/serviceOrder
+ ?fields=id,state,description,relatedParty.id,toto
+Accept: application/json
+Content-Type: application/json
+
+< ./json/serviceOrder_create_in_completed.json
+
+### List
+GET {{serviceOrder.url}}/serviceOrder/
+Accept: application/json
+
+### List with fields
+GET {{serviceOrder.url}}/serviceOrder
+ ?fields=id,state,description,relatedParty.id
+Accept: application/json
+
+### List COMPLETED
+GET {{serviceOrder.url}}/serviceOrder
+ ?state=COMPLETED
+Accept: application/json \ No newline at end of file