-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a609b6
commit 130e3dd
Showing
3 changed files
with
49 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
bruno/Workflow service/Unused/Search schema by Tenant Id.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
meta { | ||
name: Search schema by Tenant Id | ||
type: http | ||
seq: 3 | ||
} | ||
|
||
get { | ||
url: {{BASE_URL}}/engine/schema/search?tenantId={{TENANT_ID}} | ||
body: none | ||
auth: none | ||
} | ||
|
||
params:query { | ||
tenantId: {{TENANT_ID}} | ||
} | ||
|
||
headers { | ||
Content-Type: application/json | ||
x-api-key: {{API_KEY}} | ||
Authorization: Bearer {{MODERATOR_USER_JWT}} | ||
} | ||
|
||
tests { | ||
test("Request is successfull", function () { | ||
expect(res.getStatus()).to.equal(200); | ||
var jsonRes = res.getBody(); | ||
expect(jsonRes.Status).to.eql('success'); | ||
}); | ||
|
||
} | ||
|
||
docs { | ||
User login with username/phone/email and password. | ||
|
||
'LoginRoleId' is the role id through which user wants to log into the system provided the user has the role. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters