Bol accounts
All endpoints that are created for managing bol accounts.
Create a new bol user in the database.
POST
https://dev.bol.mintycloud.nl/api/v1/accounts/bol
This endpoint creates a new bol user into the database.
Request Body
userId*
Number
db userId.
clientId*
String
Bol clientId
secret*
String
Bol secret
country*
String
Country (Netherlands)
label*
String
Country label (nl, be, nl-be)
{
"bolUserId": 1
}
Get all bol user.
GET
https://dev.bol.mintycloud.nl/api/v1/accounts/bol
This endpoint is used for getting all bol users from the database.
[
{
"userId": 1,
"bolUserId": 1,
"clientId": "50343e9d-66b2-3d74-9eda-2e53485674dd6",
"secret": ".OP!(d?#[p[D6dk?Y^1[rYCviefESOScWD3[I31d?q5!!VLv!WD7tt!xJ}ODszOP",
"country": "Netherlands",
"label": "nl",
"errorCount": 0,
"lastError": "0000-00-00 00:00:00.000"
},
{
"userId": 1,
"bolUserId": 2,
"clientId": "50343e9d-66b2-3d74-9eda-2e53485674dd6",
"secret": ".OP!(d?#[p[D6dk?Y^1[rYCviefESOScWD3[I31d?q5!!VLv!WD7tt!xJ}ODszOP",
"country": "Netherlands",
"label": "nl",
"errorCount": 0,
"lastError": "0000-00-00 00:00:00.000"
}
]
Get an existing bol user.
GET
https://dev.bol.mintycloud.nl/api/v1/accounts/bol/:bolUserId
Get a bol user by their identifier.
Path Parameters
bolUserId*
Number
Bol user identifier
{
"userId": 13,
"bolUserId": 1,
"clientId": "50343e9d-66b2-3d74-9eda-2e53485674dd6",
"secret": ".OP!(d?#[p[D6dk?Y^1[rYCviefESOScWD3[I31d?q5!!VLv!WD7tt!xJ}ODszOP",
"country": "Netherlands",
"label": "nl",
"errorCount": 0,
"lastError": "0000-00-00 00:00:00.000"
}
Update an existing bol user.
PUT
https://dev.bol.mintycloud.nl/api/v1/accounts/bol/:bolUserId
Update bol user information.
Path Parameters
bolUserId*
Number
Bol user identifier
Request Body
clientId
String
Bol clientId
secret
String
Bol secret
country
String
Country (Netherlands)
label
String
Country label (nl, be, nl-be)
addError
Number
Add number to the error count.
{
"message": "Bol User 1 updated."
}
Delete an existing bol user.
DELETE
https://dev.bol.mintycloud.nl/api/v1/accounts/bol/:bolUserId
Delete bol user information.
Path Parameters
bolUserId*
String
Bol user identifier
Last updated