Add various endpoints, mostly new Stoplist ones
This commit is contained in:
11
Byndle/Stoplists/Add Team Stoplist.bru
Normal file
11
Byndle/Stoplists/Add Team Stoplist.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Add Team Stoplist
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{host}}/stoplists/team/{{teamId}}/{{stoplistId}}
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
21
Byndle/Stoplists/Edit Team Stoplist.bru
Normal file
21
Byndle/Stoplists/Edit Team Stoplist.bru
Normal file
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: Edit Team Stoplist
|
||||
type: http
|
||||
seq: 9
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{host}}/stoplists/team/{{teamId}}/{{linkId}}
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
[
|
||||
"PostalCode"
|
||||
]
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
linkId: 4
|
||||
}
|
15
Byndle/Stoplists/Remove Team Stoplist.bru
Normal file
15
Byndle/Stoplists/Remove Team Stoplist.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Remove Team Stoplist
|
||||
type: http
|
||||
seq: 8
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{host}}/stoplists/team/{{linkId}}
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
linkId: 3
|
||||
}
|
@@ -11,5 +11,5 @@ put {
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
isGlobal: true
|
||||
isGlobal: false
|
||||
}
|
||||
|
11
Byndle/Stoplists/Team Stoplists.bru
Normal file
11
Byndle/Stoplists/Team Stoplists.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Team Stoplists
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{host}}/stoplists/team/{{teamId}}
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
Reference in New Issue
Block a user