aboutsummaryrefslogtreecommitdiffstats
path: root/restclient/serviceOrder.http
blob: c8c69059ba5ac21980b41d8d2d0786db8d209145 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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