Add varoius Byndle Mission and Updatingservice endpoints
This commit is contained in:
25
Byndle/Ajourhold/Add Person.bru
Normal file
25
Byndle/Ajourhold/Add Person.bru
Normal file
@@ -0,0 +1,25 @@
|
||||
meta {
|
||||
name: Add Person
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{host}}/ajourhold/{{updatingServiceId}}/entries
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"FirstName": "Helene Falck",
|
||||
"LastName": "Bjørge",
|
||||
"Birthdate": "1994-02-07T00:00:00Z",
|
||||
"StreetName": "Lillebergsvingen",
|
||||
"StreetNumber": "11",
|
||||
"StreetLetter": "",
|
||||
"DwellingUnit": "H0203",
|
||||
"PostCode": "0662",
|
||||
"MobNr": "95150690"
|
||||
}
|
||||
}
|
15
Byndle/Ajourhold/Person.bru
Normal file
15
Byndle/Ajourhold/Person.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Person
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{host}}/ajourhold/{{updatingServiceId}}/entries/sourceentry/{{sourceEntryId}}
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
sourceEntryId: 11777473
|
||||
}
|
22
Byndle/Missions/Building Establishment Info.bru
Normal file
22
Byndle/Missions/Building Establishment Info.bru
Normal file
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: Building Establishment Info
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{host}}/missions/{{missionId}}/addbuildingestablishmentinfo
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"FromYear": 2002,
|
||||
"ToYear": 2023
|
||||
}
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
missionId: 25656
|
||||
}
|
11
Byndle/Missions/Download Logs.bru
Normal file
11
Byndle/Missions/Download Logs.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Download Logs
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{host}}/missions/download/logs
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
11
Byndle/Missions/Visible in Maps.bru
Normal file
11
Byndle/Missions/Visible in Maps.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Visible in Maps
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{host}}/missions/{{missionId}}/visibleinmapcloud/true
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
@@ -1,6 +1,7 @@
|
||||
vars {
|
||||
host: http://172.31.71.129:43100/v1
|
||||
customerId: 1358
|
||||
updatingServiceId: 1782
|
||||
}
|
||||
vars:secret [
|
||||
creds,
|
||||
|
@@ -1,8 +1,8 @@
|
||||
vars {
|
||||
host: https://api.byndle.no/v1
|
||||
jwt: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjdXN0b21lcklkIjoiMTQiLCJ1c2VySWQiOiIyMzIyIiwiaXNzdWVkIjoiMDEvMjAvMjAyNSAwOTozMjoyOCIsImV4cCI6MTczNzk2Njc0OCwiaXNzIjoicG9ydGFsLmJ5bmRsZS5ubyIsImF1ZCI6InBvcnRhbC5ieW5kbGUubm8iLCJyb2xlIjoiU3lzdGVtQWRtaW5pc3RyYXRvciIsInVpZCI6MjMyMn0.Uq4QALk_ZKXRcgEdIaw7GJpc-0ao5UKG1vEesj5zWRA
|
||||
customerId: 14
|
||||
}
|
||||
vars:secret [
|
||||
jwt,
|
||||
creds
|
||||
]
|
||||
|
Reference in New Issue
Block a user