updates
This commit is contained in:
31
bruno/propify/ProjectStatuses/Create new.bru
Normal file
31
bruno/propify/ProjectStatuses/Create new.bru
Normal file
@@ -0,0 +1,31 @@
|
||||
meta {
|
||||
name: Create new
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{API_BASE_URL}}/api/{{API_VERSION}}/project-statuses
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{BEARER_TOKEN}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "Test Projekt 1",
|
||||
"eventNumber": "123-456",
|
||||
"description": "This is the first project",
|
||||
"projectType": "energy_consulting_wg",
|
||||
"status": "preparation",
|
||||
"propertyId": "ff27cd1b-9eab-482c-8fd7-8093573efca2",
|
||||
"amountRequested": "10000"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
31
bruno/propify/ProjectStatuses/Delete one by ID.bru
Normal file
31
bruno/propify/ProjectStatuses/Delete one by ID.bru
Normal file
@@ -0,0 +1,31 @@
|
||||
meta {
|
||||
name: Delete one by ID
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
delete {
|
||||
url: API_BASE_URL}}/api/{{API_VERSION}}/project-statuses/...
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{BEARER_TOKEN}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "Mustername 1",
|
||||
"street": "Musterstraße",
|
||||
"houseNumber": "1",
|
||||
"zipCode": "55123",
|
||||
"city": "Musterstadt",
|
||||
"country": "de",
|
||||
"notes": "Lorem ipsum"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
19
bruno/propify/ProjectStatuses/Get all.bru
Normal file
19
bruno/propify/ProjectStatuses/Get all.bru
Normal file
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: Get all
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{API_BASE_URL}}/api/{{API_VERSION}}/project-statuses
|
||||
body: none
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{BEARER_TOKEN}}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
19
bruno/propify/ProjectStatuses/Get one by ID.bru
Normal file
19
bruno/propify/ProjectStatuses/Get one by ID.bru
Normal file
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: Get one by ID
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{API_BASE_URL}}/api/{{API_VERSION}}/project-statuses/...
|
||||
body: none
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{BEARER_TOKEN}}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
8
bruno/propify/ProjectStatuses/folder.bru
Normal file
8
bruno/propify/ProjectStatuses/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: ProjectStatuses
|
||||
seq: 6
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
31
bruno/propify/ProjectTypes/Create new.bru
Normal file
31
bruno/propify/ProjectTypes/Create new.bru
Normal file
@@ -0,0 +1,31 @@
|
||||
meta {
|
||||
name: Create new
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{API_BASE_URL}}/api/{{API_VERSION}}/project-types
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{BEARER_TOKEN}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "Test Projekt 1",
|
||||
"eventNumber": "123-456",
|
||||
"description": "This is the first project",
|
||||
"projectType": "energy_consulting_wg",
|
||||
"status": "preparation",
|
||||
"propertyId": "ff27cd1b-9eab-482c-8fd7-8093573efca2",
|
||||
"amountRequested": "10000"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
31
bruno/propify/ProjectTypes/Delete one by ID.bru
Normal file
31
bruno/propify/ProjectTypes/Delete one by ID.bru
Normal file
@@ -0,0 +1,31 @@
|
||||
meta {
|
||||
name: Delete one by ID
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
delete {
|
||||
url: API_BASE_URL}}/api/{{API_VERSION}}/project-types/...
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{BEARER_TOKEN}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "Mustername 1",
|
||||
"street": "Musterstraße",
|
||||
"houseNumber": "1",
|
||||
"zipCode": "55123",
|
||||
"city": "Musterstadt",
|
||||
"country": "de",
|
||||
"notes": "Lorem ipsum"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
19
bruno/propify/ProjectTypes/Get all.bru
Normal file
19
bruno/propify/ProjectTypes/Get all.bru
Normal file
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: Get all
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{API_BASE_URL}}/api/{{API_VERSION}}/project-types
|
||||
body: none
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{BEARER_TOKEN}}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
19
bruno/propify/ProjectTypes/Get one by ID.bru
Normal file
19
bruno/propify/ProjectTypes/Get one by ID.bru
Normal file
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: Get one by ID
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{API_BASE_URL}}/api/{{API_VERSION}}/project-types/...
|
||||
body: none
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{BEARER_TOKEN}}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
8
bruno/propify/ProjectTypes/folder.bru
Normal file
8
bruno/propify/ProjectTypes/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: ProjectTypes
|
||||
seq: 5
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
Reference in New Issue
Block a user