Syncing your portfolio
Use the Connect API to keep your Strise portfolio in step with your own systems. Being in the portfolio is what puts a company under monitoring.
Finding a company's internal ID
Look up a company by its organisation number and register country with companyIdentifierSearch. It returns the Strise ID that every later call uses.
query {
companyIdentifierSearch(where: { identifiers: ["918330100"], country: "NO" }) {
edges {
node {
id
name
isMonitored
}
}
}
}identifiers takes several organisation numbers at once. country is an ISO 3166-1 alpha-2 code. If no register has the company, create it with customCompanyCreate.
Adding a company to your portfolio
mutation {
companyAddToMonitoring(where: { id: "<company_id>" }) {
success
company {
id
name
isMonitored
}
}
}| Mutation | Use it to |
|---|---|
companiesAddToMonitoring(where: { ids: [...] }) | Add several companies in one call. The response lists the ids that failed. |
companyAddToMonitoringAndAssign, companiesAddToMonitoringAndAssign | Add companies and assign them to a team member. |
importCompany | Bring in a company from another system with its risk level, review validity date, and status in one call. See the migration guide. |
Removing a company from your portfolio
mutation {
companyRemoveFromMonitoring(where: { id: "<company_id>" }) {
success
company {
id
isMonitored
}
}
}Removing a company from monitoring deletes no data. Its reviews and screening history stay in Strise.
Checking what is in your portfolio
portfolioCompanies lists the companies in your portfolio, 20 per page by default and at most 100. Filter by countries or statuses, and compare the result with your own list to find companies to add or remove.
query {
portfolioCompanies(where: { countries: ["NO"] }, pageInfo: { size: 100, offset: 0 }) {
edges {
node {
id
name
entityPortfolioStatusInfo {
status
}
}
}
pageInfo {
totalSize
nextPageOffset
}
}
}The companies guide in the Connect API reference covers more company workflows. For private persons, see the private persons guide.
Last updated on