Add varoius Byndle Mission and Updatingservice endpoints

This commit is contained in:
Sivert V. Sæther
2025-03-04 09:25:29 +01:00
parent 38e728ff9d
commit aedd04f0da
7 changed files with 86 additions and 1 deletions

View 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"
}
}

View 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
}

View 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
}

View File

@@ -0,0 +1,11 @@
meta {
name: Download Logs
type: http
seq: 3
}
get {
url: {{host}}/missions/download/logs
body: none
auth: inherit
}

View 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
}

View File

@@ -1,6 +1,7 @@
vars {
host: http://172.31.71.129:43100/v1
customerId: 1358
updatingServiceId: 1782
}
vars:secret [
creds,

View File

@@ -1,8 +1,8 @@
vars {
host: https://api.byndle.no/v1
jwt: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjdXN0b21lcklkIjoiMTQiLCJ1c2VySWQiOiIyMzIyIiwiaXNzdWVkIjoiMDEvMjAvMjAyNSAwOTozMjoyOCIsImV4cCI6MTczNzk2Njc0OCwiaXNzIjoicG9ydGFsLmJ5bmRsZS5ubyIsImF1ZCI6InBvcnRhbC5ieW5kbGUubm8iLCJyb2xlIjoiU3lzdGVtQWRtaW5pc3RyYXRvciIsInVpZCI6MjMyMn0.Uq4QALk_ZKXRcgEdIaw7GJpc-0ao5UKG1vEesj5zWRA
customerId: 14
}
vars:secret [
jwt,
creds
]