Organizations
Recupera informações técnicas sobre Participantes registrados no diretório, essas informações permitem identificar e consumir as APIs dos participantes
Code samples
const data = null;
const xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://data.directory.opinbrasil.com.br/participants");
xhr.setRequestHeader("Accept", "application/json");
xhr.send(data);
GET /participants
Example responses
200 Response
[
{
"OrganisationId": "string",
"Status": "Active",
"OrganisationName": "string",
"CreatedOn": "string",
"LegalEntityName": "string",
"CountryOfRegistration": "string",
"CompanyRegister": "string",
"RegistrationNumber": "string",
"RegistrationId": "string",
"RegisteredName": "string",
"AddressLine1": "string",
"AddressLine2": "string",
"City": "string",
"Postcode": "string",
"Country": "string",
"ParentOrganisationReference": "string",
"Contacts": [
{
"ContactId": "string",
"OrganisationId": "string",
"ContactType": "Business",
"FirstName": "string",
"LastName": "string",
"Department": "string",
"EmailAddress": "string",
"PhoneNumber": "string",
"AddressLine1": "string",
"AddressLine2": "string",
"City": "string",
"Postcode": "string",
"Country": "string",
"AdditionalInformation": "string",
"PgpPublicKey": "string"
}
],
"AuthorisationServers": [
{
"AuthorisationServerId": "string",
"OrganisationId": "string",
"AutoRegistrationSupported": true,
"ApiResources": [
{
"ApiResourceId": "string",
"ApiFamilyType": "string",
"ApiVersion": 0,
"ApiDiscoveryEndpoints": [
{
"ApiDiscoveryId": "string",
"ApiEndpoint": "http://example.com"
}
]
}
],
"CustomerFriendlyDescription": "string",
"CustomerFriendlyLogoUri": "http://example.com",
"CustomerFriendlyName": "string",
"DeveloperPortalUri": "http://example.com",
"TermsOfServiceUri": "http://example.com",
"NotificationWebhook": "http://example.com",
"NotificationWebhookStatus": "string",
"OpenIDDiscoveryDocument": "http://example.com",
"PayloadSigningCertLocationUri": "http://example.com",
"ParentAuthorisationServerId": "string"
}
],
"OrgDomainClaims": [
{
"OrganisationAuthorityDomainClaimId": "string",
"AuthorisationDomainName": "string",
"AuthorityId": "string",
"AuthorityName": "string",
"RegistrationId": "string",
"Status": "Active"
}
],
"OrgDomainRoleClaims": [
{
"OrganisationId": "string",
"OrganisationAuthorityClaimId": "string",
"AuthorityId": "string",
"Status": "Active",
"AuthorisationDomain": "string",
"Role": "string",
"Authorisations": [
{
"Status": "Active",
"MemberState": "st"
}
],
"RegistrationId": "string",
"UniqueTechnicalIdenifier": [
"string"
]
}
]
}
]
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | Export the open-data for all the organisations | ||
401 | Unauthorized | None | |
403 | Forbidden | None | |
404 | The specified key does not exist | None | |
500 | Internal Server Error | None | |
502 | Bad Gateway | None |