summaryrefslogtreecommitdiffstats
path: root/restclient/serviceOrder.http
diff options
context:
space:
mode:
authorMatthieuGeerebaert <matthieu.geerebaert@orange.com>2018-03-29 00:42:08 +0200
committerMatthieuGeerebaert <matthieu.geerebaert@orange.com>2018-04-03 23:48:32 +0200
commit7d695d108ce9f5fd5ee977fe12e47b704f507623 (patch)
tree42b4d6e72ef5546c2c9c100323b2db1b33c4ab84 /restclient/serviceOrder.http
parent9ac6c3cc7e3f4aec9ba69e7a5bb0800471c4e8dc (diff)
Add serviceOrder rest services
- Add create, get, find serviceOrder operations - Add tests - Add Mongo / Mysql / H2 datasource management ( H2 test ) - Add VSCode restclient samples with .settings to play with serviceOrder operations - Resolve conflict 40291, with cherry pick Change-Id: I81a76a211fe5526a3a31deb945770f0a5e2c195f Issue-ID: EXTAPI-42 Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
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