curl --request POST \
--url https://api2.rhombussystems.com/api/partner/getPartnerOrgProfile \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '{}'import requests
url = "https://api2.rhombussystems.com/api/partner/getPartnerOrgProfile"
payload = {}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://api2.rhombussystems.com/api/partner/getPartnerOrgProfile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/partner/getPartnerOrgProfile")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{}")
.asString();{
"error": true,
"errorMsg": "<string>",
"functionalityList": [
"CREATE_CLIENT"
],
"msp": true,
"mspSince": 123,
"mspStatus": "<string>",
"warningMsg": "<string>"
}Get partner org MSP profile
Whether the calling partner is a verified MSP (designation ACTIVE and signature valid), its designation status and the caller’s partner functionalities.
curl --request POST \
--url https://api2.rhombussystems.com/api/partner/getPartnerOrgProfile \
--header 'Content-Type: application/json' \
--header 'x-auth-apikey: <api-key>' \
--header 'x-auth-scheme: <x-auth-scheme>' \
--data '{}'import requests
url = "https://api2.rhombussystems.com/api/partner/getPartnerOrgProfile"
payload = {}
headers = {
"x-auth-scheme": "<x-auth-scheme>",
"x-auth-apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-auth-scheme': '<x-auth-scheme>',
'x-auth-apikey': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://api2.rhombussystems.com/api/partner/getPartnerOrgProfile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api2.rhombussystems.com/api/partner/getPartnerOrgProfile")
.header("x-auth-scheme", "<x-auth-scheme>")
.header("x-auth-apikey", "<api-key>")
.header("Content-Type", "application/json")
.body("{}")
.asString();{
"error": true,
"errorMsg": "<string>",
"functionalityList": [
"CREATE_CLIENT"
],
"msp": true,
"mspSince": 123,
"mspStatus": "<string>",
"warningMsg": "<string>"
}Authorizations
Your Rhombus API key. Must be accompanied by the x-auth-scheme header set to api-token (or partner-api-token for partner endpoints).
Headers
Authentication scheme identifier. Use api-token for standard API key authentication, partner-api-token for partner API key authentication. Must be paired with the x-auth-apikey header containing your API key.
api-token, api, partner-api-token, partner-api Body
Request for the calling partner org's MSP profile (no fields).
Response
OK
The calling partner org's MSP profile.
Partner functionalities of the calling role.
CREATE_CLIENT, DELETE_CLIENT, DEAL_ADMINISTRATION, REMOTE_REGISTER_DEVICE, ORG_ADMINISTRATION, AUTH_ADMINISTRATION, DOOR_ACCESS_ADMINISTRATION, USER_ADMINISTRATION, REPORT_ADMINISTRATION, NOTIFICATION_ADMINISTRATION, LICENSE_ADMINISTRATION, RECEIVE_EMAILS, API_ADMINISTRATION, INTEGRATION_ADMINISTRATION, DATA_EXFILTRATION, MSP_ADMINISTRATION, CLIP_MANAGEMENT, UNKNOWN True only when the partner's MSP designation is ACTIVE and its signature verifies.
Epoch millis the designation was signed, when msp is true.
NONE, PENDING_APPROVAL, ACTIVE or REVOKED (never trusted alone; see msp).