-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrest.http
47 lines (35 loc) · 1.07 KB
/
rest.http
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
GET http://localhost:50000/v1.0/invoke/offerservice/method/45f6e3fc-c7bc-4c76-b80c-1fb6d6ce16f2 HTTP/1.1
###
POST http://localhost:50000/v1.0/invoke/offerservice/method/ HTTP/1.1
content-type: application/json
{
"candidateId": "candidate-id-123123",
"firstName": "Joe",
"lastName": "Kitz",
"personalEmail": "[email protected]",
"manager": "markk",
"competitionId": "competition-id-123123",
"positionName": "position-name",
"level": "20",
"step": 3,
"salary": 100000
}
### INVALID REQUEST
POST http://localhost:50000/v1.0/invoke/offerservice/method/ HTTP/1.1
content-type: application/json
{
"candidateId": "candidate-id-123123",
"firstName": "sdsdf!!!123",
"lastName": "Kitz",
"personalEmail": "[email protected]",
"manager": "markk",
"competitionId": "competition-id"
}
###
PUT http://localhost:50000/v1.0/invoke/offerservice/method/ManagerSignOffRequested/322768b2-7425-4371-87fb-a65baf253e6c
###
PUT http://localhost:50000/v1.0/invoke/offerservice/method/ManagerSignOff/005c0c5d-92f6-47b5-9219-33048ca9c97d
content-type: application/json
{
"approved": true
}