Add various endpoints, mostly new Stoplist ones

This commit is contained in:
Sivert V. Sæther
2025-03-13 10:00:47 +01:00
parent aedd04f0da
commit 5f1b0b2f90
9 changed files with 89 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
meta {
name: BRL
type: http
seq: 2
}
post {
url: {{host}}/admin/customers/brl
body: json
auth: inherit
}
body:json {
26008
}

View File

@@ -11,5 +11,5 @@ delete {
}
vars:pre-request {
sourceEntryId: 11777473
sourceEntryId: 11777557
}

View File

@@ -0,0 +1,11 @@
meta {
name: Companies
type: http
seq: 1
}
get {
url: {{host}}/Creditsafe/portfolio/companies
body: none
auth: inherit
}

View File

@@ -12,11 +12,11 @@ put {
body:json {
{
"FromYear": 2002,
"ToYear": 2023
"FromYear": 2003,
"ToYear": 2025
}
}
vars:pre-request {
missionId: 25656
missionId: 25801
}

View File

@@ -0,0 +1,11 @@
meta {
name: Add Team Stoplist
type: http
seq: 7
}
post {
url: {{host}}/stoplists/team/{{teamId}}/{{stoplistId}}
body: json
auth: inherit
}

View File

@@ -0,0 +1,21 @@
meta {
name: Edit Team Stoplist
type: http
seq: 9
}
put {
url: {{host}}/stoplists/team/{{teamId}}/{{linkId}}
body: json
auth: inherit
}
body:json {
[
"PostalCode"
]
}
vars:pre-request {
linkId: 4
}

View File

@@ -0,0 +1,15 @@
meta {
name: Remove Team Stoplist
type: http
seq: 8
}
delete {
url: {{host}}/stoplists/team/{{linkId}}
body: none
auth: inherit
}
vars:pre-request {
linkId: 3
}

View File

@@ -11,5 +11,5 @@ put {
}
vars:pre-request {
isGlobal: true
isGlobal: false
}

View File

@@ -0,0 +1,11 @@
meta {
name: Team Stoplists
type: http
seq: 6
}
get {
url: {{host}}/stoplists/team/{{teamId}}
body: none
auth: inherit
}