docs(api): bruno endpoint saves
This commit is contained in:
24
LogisticsSupportTool_API_DOCS/app/admin/User/Get Users.bru
Normal file
24
LogisticsSupportTool_API_DOCS/app/admin/User/Get Users.bru
Normal file
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: Get Users
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/lst/api/admin/users
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username":"matthes01",
|
||||
"name":"blake",
|
||||
"email":"blake.matthes@alpla.com",
|
||||
"password":"nova0511"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
meta {
|
||||
name: GrantROle by ID
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/lst/api/admin/:userID/grant
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
userID: 0hlO48C7Jw1J804FxrCnonK
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"module":"users",
|
||||
"role":"admin"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
8
LogisticsSupportTool_API_DOCS/app/admin/User/folder.bru
Normal file
8
LogisticsSupportTool_API_DOCS/app/admin/User/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: User
|
||||
seq: 2
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -16,10 +16,10 @@ headers {
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "Bethlehem",
|
||||
"serverDNS": "USBET1VMS006",
|
||||
"plantToken": "usbet1",
|
||||
"ipAddress": "10.204.0.26",
|
||||
"name": "Bowling Green 2",
|
||||
"serverDNS": "USBOW2VMS006",
|
||||
"plantToken": "usbow2",
|
||||
"ipAddress": "10.30.0.26",
|
||||
"greatPlainsPlantCode": 0,
|
||||
"lstServerPort": 4000,
|
||||
"serverLoc": "E$\\LST"
|
||||
|
||||
@@ -14,6 +14,10 @@ params:path {
|
||||
token: usbet1
|
||||
}
|
||||
|
||||
headers {
|
||||
Cookie: {{session_cookie}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"zipcode": 45245
|
||||
|
||||
Reference in New Issue
Block a user