KB10097 - Bconnect Getting Started - Bconnect - Customers
KB10097 - Bconnect Getting Started - Bconnect - Customers
It is therefore necessary to export the automatically generated certificate of the baramundi certification authority
(root CA). This also signs the certificate bound to port 443 by default.
Export
1. Go to bMC > Configuration > Mobile devices
https://feedback.baramundi.de/knowledge-base/article/kb10097-bconnect-getting-started 1/5
12/7/23, 3:51 PM KB10097 - bConnect Getting Started | bConnect | Customers
Import
1. Import the baramundi Root CA to the Trusted Root Certification Authorities so that the certificate chain is
complete.
Run a first test call of bConnect to check if the basic setup of the interface is
correct
1. Open your bConnect interface
https://<bmsserver.domain>(:<port>)/bConnect/Info.xml
Example
https://mma-srv-02-en.moma.test/bConnect/Info.xml
https://feedback.baramundi.de/knowledge-base/article/kb10097-bconnect-getting-started 2/5
12/7/23, 3:51 PM KB10097 - bConnect Getting Started | bConnect | Customers
GET The GET method allows you to request a resource from the server.
DELETE The DELETE method deletes the specified resource on the server.
If a parameter (for example, a specific client) should be used, it must be added to the call separated by
a question mark.
(e.g. https://bmsserver.customer.net/bConnect/v1.0/search.xml?type=endpoint&term=test)
What is a controller?
Depending on what is to be queried, changed or deleted, the corresponding controller must be addressed.
Data format
There are two file formats available
XML and
JSON
Examples
GET
1. Show all endpoints in XML format
https://<bmsserver.domain>:<port>/bConnect/v1.0/Endpoints.xml
Example
https://mma-srv-02-en.moma.test/bConnect/v1.0/Endpoints.xml
https://feedback.baramundi.de/knowledge-base/article/kb10097-bconnect-getting-started 3/5
12/7/23, 3:51 PM KB10097 - bConnect Getting Started | bConnect | Customers
https://<bmsserver.domain>:<port>/bConnect/v1.0/Search.xml?type=endpoint&term=<term>
Example
https://mma-srv-02-en.moma.test/bConnect/v1.0/Search.xml?type=endpoint&term=CL
$api = "https://$bserver/bConnect";
# info query
Invoke-RestMethod -Uri "$($api)/info.json" -Credential $creds -Method Get
# endpoint query
https://feedback.baramundi.de/knowledge-base/article/kb10097-bconnect-getting-started 4/5
12/7/23, 3:51 PM KB10097 - bConnect Getting Started | bConnect | Customers
https://feedback.baramundi.de/knowledge-base/article/kb10097-bconnect-getting-started 5/5