{"components":{"schemas":{"BadRequest":{"description":"Returned when something is wrong in the request, e.g. failed argument validation or missed argument","properties":{"attributes":{"description":"Invalid attributes","items":{"$ref":"#/components/schemas/RequestAttribute"},"type":"array"},"error":{"default":"BadRequest","description":"Error name","type":"string"},"message":{"default":"Required arguments are missing in the request","description":"Description of the request error","type":"string"}},"type":"object"},"BonusIssue":{"description":"Bonus issues","properties":{"currency":{"description":"Currency","type":"string"},"decisionDate":{"description":"Bonus issue decision date","type":"string"},"fundIssuedAmount":{"description":"Amount issued","format":"double","type":"number"},"numberOfShares":{"description":"Number of shares issued","format":"int64","type":"integer"},"registrationDateTime":{"description":"Bonus issue registration date","type":"string"},"shareNominalAmount":{"description":"Nominal amount of share","format":"double","type":"number"},"typeCodes":{"description":"Bonus issue type codes","items":{"description":"Bonus issue type codes","type":"string"},"type":"array"}},"type":"object"},"BonusIssueText":{"description":"Bonus issues texts","properties":{"freeText":{"description":"Bonus issue text","type":"string"}},"type":"object"},"NewIssue":{"description":"New issues","properties":{"amount":{"description":"New issue amount","format":"double","type":"number"},"currency":{"description":"New issue currency","type":"string"},"decisionBy":{"description":"New issue decision taken by","type":"string"},"decisionDate":{"description":"New issue decision date","type":"string"},"fullPaidAmount":{"description":"New issue fully paid amount","format":"double","type":"number"},"fullPaidNumberOfShares":{"description":"New issue fully paid number of shares","format":"int64","type":"integer"},"maxAmount":{"description":"New issue max amount","format":"double","type":"number"},"minAmount":{"description":"New issue min amount","format":"double","type":"number"},"nominalAmount":{"description":"New issue nominal amount","format":"double","type":"number"},"notPaid":{"description":"New issue is not fully paid","type":"boolean"},"numberOfShares":{"description":"New issue number of shares","format":"int64","type":"integer"},"paidAsset":{"description":"New issue is paid with asset","type":"boolean"},"paidCash":{"description":"New issue is paid with cash","type":"boolean"},"paidIncludingPremium":{"description":"New issue paid amount incl premium","format":"double","type":"number"},"paidSetOff":{"description":"New issue paid with offset","type":"boolean"},"partPaidAmount":{"description":"New issue part paid (amount)","format":"double","type":"number"},"partPaidNumberOfShares":{"description":"New issue part paid (number of shares)","format":"int64","type":"integer"},"partialRegistration":{"description":"New issue is partly registered","type":"boolean"},"reducedNumberOfShares":{"description":"Number of shares to be reduced because new issue is not fully paid","format":"int64","type":"integer"},"reducedShareCapital":{"description":"Amount of share capital to be reduced  because new issue is not fully paid","format":"double","type":"number"},"registrationDateTime":{"description":"New issue registration date","type":"string"}},"type":"object"},"NewIssueText":{"description":"New issues texts","properties":{"freeText":{"description":"New issue text","type":"string"}},"type":"object"},"PermitAndReductionSummons":{"properties":{"announcementDate":{"description":"Announcement date","type":"string"},"caseYear":{"description":"Court case year of summons","type":"string"},"contestDate":{"description":"Latests date for contesting the permission","type":"string"},"courtCaseNumber":{"description":"Court case number of summons","type":"string"},"courtCode":{"description":"Court code of summons","type":"string"},"courtDate":{"description":"Court date of summons","type":"string"},"registrationDateTime":{"description":"Registration date and time of the case at Bolagsverket","type":"string"},"summonsCaseNumber":{"description":"Case number of  Bolagsverket","type":"string"},"summonsCaseYear":{"description":"Case year of  Bolagsverket","type":"string"},"summonsDate":{"description":"Date when summons was done","type":"string"},"type":{"description":"Reason of summons, type of permission","type":"string"}},"type":"object"},"ReductionText":{"description":"Reduction text","properties":{"freeText":{"description":"Reduction cases text","type":"string"}},"type":"object"},"ReductionV1":{"description":"Reductions","properties":{"amount":{"description":"Reduction amount","format":"double","type":"number"},"currency":{"description":"Reduction currency","type":"string"},"decisionBy":{"description":"Reduction decision taken by","type":"string"},"decisionDate":{"description":"Reduction decision date","type":"string"},"maxAmount":{"description":"Reduction max amount","format":"double","type":"number"},"minAmount":{"description":"Reduction min amount","format":"double","type":"number"},"nominalAmount":{"description":"Reduction nominal amount","format":"double","type":"number"},"notImplemented":{"description":"Reduction not implemented","type":"boolean"},"numberOfShares":{"description":"Reduction number of shares","format":"int64","type":"integer"},"numberOfSharesIncreaseDueToOverdue":{"description":"Number of shares to be increased due to overdue reduction","format":"int64","type":"integer"},"overdueDecisionBy":{"description":"Reduction overdue - decision taken by","type":"string"},"overdueDecisionDate":{"description":"Reduction overdue - decision date","type":"string"},"permissionGrantedBy":{"description":"Reduction permission granted by","type":"string"},"permissionRegistrationDate":{"description":"Reduction permission registration date","type":"string"},"permittedAmount":{"description":"Permitted amount of reduction","format":"double","type":"number"},"purposeCodes":{"description":"Reduction purpose codes","items":{"description":"Reduction purpose codes","type":"string"},"type":"array"},"registrationDateTime":{"description":"Reduction registration date","type":"string"},"shareCapitalIncreaseDueToOverdue":{"description":"Reduction share capital amount to be increased due to overdue","format":"double","type":"number"},"totalDecidedAmount":{"description":"Total decided amount","format":"double","type":"number"},"typeCodes":{"description":"Reduction type codes","items":{"description":"Reduction type codes","type":"string"},"type":"array"}},"type":"object"},"RequestAttribute":{"description":"Incorrect attribute of request","properties":{"attribute":{"description":"Parameter name","type":"string"},"value":{"description":"Parameter value, subject for validation","type":"string"}},"type":"object"},"SearchResultStatus":{"description":"Description of search result","properties":{"code":{"description":"0 - found, 1 - not found","format":"int32","type":"integer"},"text":{"description":"search result description","type":"string"}},"type":"object"},"ServerError":{"description":"Internal server error","properties":{"error":{"default":"InternalServerError","description":"Error name","type":"string"},"message":{"default":"An internal server error occurred, please contact the system administrator with information on the error","description":"Description of the request error","type":"string"}},"type":"object"},"ShareCapital":{"description":"Share capital,  minimum limit","properties":{"amount":{"description":"amount","format":"double","type":"number"},"currency":{"description":"currency","type":"string"}},"type":"object"},"ShareCapitalDetails":{"description":"Share capital details","properties":{"maxShareCapital":{"allOf":[{"$ref":"#/components/schemas/ShareCapital"}],"description":"Share capital,  maximum limit"},"minShareCapital":{"allOf":[{"$ref":"#/components/schemas/ShareCapital"}],"description":"Share capital,  minimum limit"},"nominalAmountPerShare":{"description":"Nominal amount per share","format":"double","type":"number"},"registrationDateTime":{"description":"Registration date","type":"string"},"shareCapital":{"allOf":[{"$ref":"#/components/schemas/ShareCapital"}],"description":"Share capital"},"shareQuantity":{"allOf":[{"$ref":"#/components/schemas/ShareQuantity"}],"description":"Share quantity"}},"type":"object"},"ShareFactsRecord":{"description":"Company share facts record","properties":{"bonusIssueTexts":{"description":"Bonus issues texts","items":{"$ref":"#/components/schemas/BonusIssueText"},"type":"array"},"bonusIssues":{"description":"Bonus issues","items":{"$ref":"#/components/schemas/BonusIssue"},"type":"array"},"changeDate":{"description":"Date when the record was changed","type":"string"},"companyId":{"description":"Company identifier","type":"string"},"newIssueTexts":{"description":"New issues texts","items":{"$ref":"#/components/schemas/NewIssueText"},"type":"array"},"newIssues":{"description":"New issues","items":{"$ref":"#/components/schemas/NewIssue"},"type":"array"},"reductionTexts":{"description":"Reduction text","items":{"$ref":"#/components/schemas/ReductionText"},"type":"array"},"reductions":{"description":"Reductions","items":{"$ref":"#/components/schemas/ReductionV1"},"type":"array"},"shareCapitalDetails":{"allOf":[{"$ref":"#/components/schemas/ShareCapitalDetails"}],"description":"Share capital details"},"shareTexts":{"description":"Share texts","items":{"$ref":"#/components/schemas/ShareText"},"type":"array"},"shareTypes":{"description":"Share types","items":{"$ref":"#/components/schemas/ShareType"},"type":"array"},"stockExchangeInformation":{"allOf":[{"$ref":"#/components/schemas/StockExchangeInformation"}],"description":"Stock exchange information"},"summonsCreditors":{"allOf":[{"$ref":"#/components/schemas/PermitAndReductionSummons"}],"description":"Summons of creditors in permission case regarding reduction"}},"type":"object"},"ShareFactsResult":{"description":"Company share facts result","properties":{"records":{"description":"Company share facts records","items":{"$ref":"#/components/schemas/ShareFactsRecord"},"type":"array"},"status":{"$ref":"#/components/schemas/SearchResultStatus"}},"type":"object"},"ShareQuantity":{"description":"Share quantity","properties":{"max":{"description":"Maximum number of shares","format":"int64","type":"integer"},"min":{"description":"Minimum number of shares","format":"int64","type":"integer"},"quantity":{"description":"Total number of shares","format":"int64","type":"integer"}},"type":"object"},"ShareText":{"description":"Share texts","properties":{"freeText":{"description":"Free text comment on shares information","type":"string"}},"type":"object"},"ShareType":{"description":"Share types","properties":{"maxNumberOfShares":{"description":"Number of shares, maximum limit","format":"int64","type":"integer"},"minNumberOfShares":{"description":"Number of shares, minimum limit","format":"int64","type":"integer"},"numberOfShares":{"description":"Number of shares of this share type","format":"int64","type":"integer"},"type":{"description":"Share type","type":"string"},"voteValue":{"description":"Voting value of the share type","type":"string"}},"type":"object"},"StockExchangeInformation":{"properties":{"stockExchangeListCode":{"description":"Listed ad stock exchange - code","type":"string"},"stockExchangeListText":{"description":"Listed at stock exchange - description","type":"string"}},"type":"object"}},"securitySchemes":{"OAuth2":{"description":"All requests require authentication via OAuth2 client credentials.\n\nBase URL: https://api.roaring.io\n\n1. Obtain a Consumer key and Consumer secret from https://developer.roaring.io/keys\n   (separate sandbox and production pairs).\n2. Request an access token by POSTing to the token endpoint:\n\n   POST https://api.roaring.io/token\n   Content-Type: application/x-www-form-urlencoded\n   Authorization: Basic base64(consumer-key:consumer-secret)\n\n   body: grant_type=client_credentials\n\n   Tokens are valid for 3600 seconds. The response contains an access_token of\n   type Bearer.\n3. Send the access token on every API call:\n\n   Authorization: Bearer <access_token>","flows":{"clientCredentials":{"tokenUrl":"https://api.roaring.io/token","scopes":{}}},"type":"oauth2"}}},"info":{"description":"Fetch company share facts information\n\nAll requests require authentication via OAuth2 client credentials.\n\nBase URL: https://api.roaring.io\n\n1. Obtain a Consumer key and Consumer secret from https://developer.roaring.io/keys\n   (separate sandbox and production pairs).\n2. Request an access token by POSTing to the token endpoint:\n\n   POST https://api.roaring.io/token\n   Content-Type: application/x-www-form-urlencoded\n   Authorization: Basic base64(consumer-key:consumer-secret)\n\n   body: grant_type=client_credentials\n\n   Tokens are valid for 3600 seconds. The response contains an access_token of\n   type Bearer.\n3. Send the access token on every API call:\n\n   Authorization: Bearer <access_token>","title":"Share Facts","version":"1.1","x-logo":{"url":"https://assets.roaring.io/svg/share-facts-v3.1.svg"}},"openapi":"3.0.1","paths":{"/{companyId}":{"get":{"description":"It supports date parameter to find share facts information up to date","operationId":"view","parameters":[{"description":"id of company","in":"path","name":"companyId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareFactsResult"}}},"description":"OK, successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}},"description":"Returned when something is wrong in the request, e.g. failed argument validation or arguments are missing"},"404":{"description":"Requested resource could not be found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}},"description":"An internal server error occurred, please contact the system administrator with information on the error"}},"summary":"Find share facts information by company id","tags":["ShareFactsSe"]}},"/history/{companyId}":{"get":{"description":"Changes of the company share facts within specified date range. The range includes \"from\" and excludes \"to\".","operationId":"history","parameters":[{"description":"id of company","in":"path","name":"companyId","required":true,"schema":{"type":"string"}},{"description":"beginning of the date range (including), iso 8601 format","in":"query","name":"fromDate","schema":{"type":"string"}},{"description":"ending of the date range (excluding), iso 8601 format","in":"query","name":"toDate","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareFactsResult"}}},"description":"OK, successful response"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequest"}}},"description":"Returned when something is wrong in the request, e.g. failed argument validation or arguments are missing"},"404":{"description":"Requested resource could not be found"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServerError"}}},"description":"An internal server error occurred, please contact the system administrator with information on the error"}},"summary":"Find history share facts by company id","tags":["ShareFactsSe"]}}},"security":[{"OAuth2":[]}],"servers":[{"url":"https://api.roaring.io/se/company/share-facts/1.1"}],"x-category":"company","x-countries":["se"],"x-id":"ShareFactsApiSe"}