stash
This commit is contained in:
parent
1893b81204
commit
610392f241
235
Byndle/Admin/Customer/Delete.bru
Normal file
235
Byndle/Admin/Customer/Delete.bru
Normal file
@ -0,0 +1,235 @@
|
||||
meta {
|
||||
name: Delete
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{host}}/admin/customers/{{customerId}}
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"id": 1358,
|
||||
"name": "NEXTGENTEL AS",
|
||||
"createdTime": "2025-01-27T13:35:06.1505955",
|
||||
"enabled": true,
|
||||
"twoFactorAuthenticationEnabled": false,
|
||||
"isQuarantinePrivate": false,
|
||||
"isQuarantineBusiness": false,
|
||||
"quarantineDaysPrivate": null,
|
||||
"quarantineDaysBusiness": null,
|
||||
"isVatApplicable": true,
|
||||
"address1": "Sandslimarka 31 ",
|
||||
"address2": "",
|
||||
"postcode": "5254",
|
||||
"postarea": "SANDSLI",
|
||||
"invoiceEmail": "noreply@byndle.no",
|
||||
"contactEmail": "",
|
||||
"contactPhoneNr": null,
|
||||
"type": 10,
|
||||
"organizationNumber": 981649141,
|
||||
"approvedForPowerOffice": true,
|
||||
"approvedForOrderCorrections": false,
|
||||
"approvedForCollectiveInvoicing": false,
|
||||
"invoiceCreditTime": 14,
|
||||
"ownerUserId": null,
|
||||
"isAnonymousDemo": true,
|
||||
"customerDiscountPercentage": 0,
|
||||
"subscriptions": null,
|
||||
"extensions": null,
|
||||
"activeSubscription": {
|
||||
"isLicenceUpdate": false,
|
||||
"id": 1238,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"interval": 12,
|
||||
"intervalAtNextRenewal": 12,
|
||||
"paymentGateway": "PowerOffice GO",
|
||||
"active": true,
|
||||
"cancelOnNextRenewal": false,
|
||||
"createdAt": "2025-01-27T13:39:41.1125845",
|
||||
"updatedAt": "0001-01-01T00:00:00",
|
||||
"startOfSubscriptionPeriod": "2025-01-26T23:00:00",
|
||||
"nextRenewalDate": "2099-12-30T23:00:00",
|
||||
"numberOfLicences": 69,
|
||||
"licencesAtNextRenewal": 69,
|
||||
"gatewayReference": null,
|
||||
"maskedPan": "492500******0004",
|
||||
"subscriptionTemplate": {
|
||||
"id": 1058,
|
||||
"name": "Alt og alle perms! La stå!",
|
||||
"enabled": true,
|
||||
"showInStore": false,
|
||||
"category": 1,
|
||||
"net": 0,
|
||||
"vat": 0,
|
||||
"gross": 0,
|
||||
"establishingFee": 0,
|
||||
"subscriptions": [],
|
||||
"subscriptionPrices": [
|
||||
{
|
||||
"id": 1650,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 0,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1651,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 1,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1652,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 10,
|
||||
"price": 50,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1653,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 16,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1654,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 17,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1655,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 18,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1656,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 19,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1657,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 20,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1658,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 21,
|
||||
"price": 30000,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1659,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 22,
|
||||
"price": 125000,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1660,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 23,
|
||||
"price": 225000,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1661,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 30,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1662,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 31,
|
||||
"price": 50,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1663,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 40,
|
||||
"price": 20,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1664,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 50,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1665,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 150,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
},
|
||||
{
|
||||
"id": 1666,
|
||||
"subscriptionTemplateId": 1058,
|
||||
"priceType": 500,
|
||||
"price": 80,
|
||||
"tiered": false,
|
||||
"tieredFromAmount": 0
|
||||
}
|
||||
],
|
||||
"permissions": null,
|
||||
"limitLeadsTotalPerMonth": null,
|
||||
"limitLeadsPerList": null,
|
||||
"limitSearchHitsUsedPerMonth": null,
|
||||
"activeSubscriptions": 1,
|
||||
"activeLicenses": 69,
|
||||
"deleted": false,
|
||||
"deletedAt": null
|
||||
},
|
||||
"subscriptionProductLinks": null,
|
||||
"subscriptionTransactions": null,
|
||||
"initialCost": 0,
|
||||
"minimalCost": 0,
|
||||
"canDownload": false,
|
||||
"customerId": 1358,
|
||||
"orderId": null,
|
||||
"isFree": false,
|
||||
"isPaid": false
|
||||
},
|
||||
"antallBruker": 3,
|
||||
"hasActiveSubscription": true,
|
||||
"isValidated": true,
|
||||
"onboardingLevel": 0,
|
||||
"deleted": false,
|
||||
"deletedAt": null
|
||||
}
|
||||
}
|
11
Byndle/Customers/Customer.bru
Normal file
11
Byndle/Customers/Customer.bru
Normal file
@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Customer
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{host}}/customers/{{customerId}}
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
@ -12,6 +12,6 @@ put {
|
||||
|
||||
body:json {
|
||||
[
|
||||
"PersonAddress", "Phone"
|
||||
"DwellingUnit"
|
||||
]
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
vars {
|
||||
host: https://demoapi.byndle.no/v1
|
||||
customerId: 236
|
||||
}
|
||||
vars:secret [
|
||||
creds,
|
||||
|
@ -1,5 +1,6 @@
|
||||
vars {
|
||||
host: http://172.31.71.129:43100/v1
|
||||
customerId: 1358
|
||||
}
|
||||
vars:secret [
|
||||
creds,
|
||||
|
@ -1,6 +1,7 @@
|
||||
vars {
|
||||
host: https://api.byndle.no/v1
|
||||
jwt: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjdXN0b21lcklkIjoiMTQiLCJ1c2VySWQiOiIyMzIyIiwiaXNzdWVkIjoiMDEvMjAvMjAyNSAwOTozMjoyOCIsImV4cCI6MTczNzk2Njc0OCwiaXNzIjoicG9ydGFsLmJ5bmRsZS5ubyIsImF1ZCI6InBvcnRhbC5ieW5kbGUubm8iLCJyb2xlIjoiU3lzdGVtQWRtaW5pc3RyYXRvciIsInVpZCI6MjMyMn0.Uq4QALk_ZKXRcgEdIaw7GJpc-0ao5UKG1vEesj5zWRA
|
||||
customerId: 14
|
||||
}
|
||||
vars:secret [
|
||||
creds
|
||||
|
Loading…
x
Reference in New Issue
Block a user