{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-country-apis-catalog/product-catalog/se/getDataUnit/sidebars.yaml","current-catalog-info":"current-catalog-info-/country-apis-catalog/product-catalog/se/getdataunit/openapi"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Requests and Responses","llmstxt":{"hide":true}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"requests-and-responses","__idx":0},"children":["Requests and Responses"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"authentication","__idx":1},"children":["Authentication"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To be able to retrieve company units, you must first authenticate your user account."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Please refer to the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/country-apis-catalog/product-catalog/se/authenticate"},"children":["Authenticate API documentation"]}," for details on how to authenticate and obtain a token."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The generated token can be used across all Creditsafe Sweden REST APIs including DateCheck, GetData, SearchEngine, GetSignatory, GetUnitData, and SPAR."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"production-urls","__idx":2},"children":["Production URLs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GetDataUnit Endpoint:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"https://se-webservice.apps.creditsafe.com/getdataunit\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Health Check:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"https://se-webservice.apps.creditsafe.com/getdataunit/health\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"request-methods","__idx":3},"children":["Request Methods"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The GetDataUnit REST API uses a single ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GET"]}," method to retrieve the list of units of an organization."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"getdataunit-request","__idx":4},"children":["GetDataUnit Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Endpoint:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"GET /getdataunit\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Example Request:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"HEADER: Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6Im…hPeGE7Ak8YtKFbA \nURL: https://se-webservice.apps.creditsafe.com/getdataunit?searchnumber=5565144408&transactionid=&language=sv&name=&address=&postnr=\nMethod: GET\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"request-parameters","__idx":5},"children":["Request Parameters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The table below describes each parameter included in the requests."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Data type"},"children":["Data type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Max length"},"children":["Max length"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Required"},"children":["Required"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["searchnumber"]}," (query)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["10"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unique identifier used to search for a company or business entity. Organization number (typically 10 digits). The value is normalised by the service before processing"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["name"]}," (query)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Company or business name used as search criteria"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["address"]}," (query)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Address value used as search criteria"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["postnr"]}," (query)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Postal code used as search criteria"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["includeinactive"]}," (query)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["When set to true, inactive entities are included in the results. Default: false"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["legacyformat"]}," (query)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Boolean"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["-"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["If you leave this parameter out or send a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}," value you will get the new format used in Creditsafe REST APIs. Pass ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," into this parameter if you want the API to respond with the old SOAP parameter format from previous versions of this service. The only reason to request the legacy format is if you are moving from the SOAP implementation to this new REST version and want a minimum of work with changing your implementation"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["language"]}," (query)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Language used for response content and messages. Supported values are English (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["en"]},") and Swedish (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sv"]},"). Default: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["en"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["transactionid"]}," (query)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["14"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Customer's internal information (customer/invoice number). Recommended to use this field as it can be helpful in tracking your call in Creditsafe logs"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Sandbox Parameter Behavior"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the sandbox version of this API, only the parameters ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["searchnumber"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["transactionid"]}," are actively supported. All other parameters included in the request will be ignored without error or warning."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Developers are encouraged to structure their requests as they would in a production environment, including all expected parameters. This ensures consistency and simplifies the transition to production usage. However, it is important to understand that in sandbox mode, unsupported parameters will not influence the response and should not be relied upon for testing behavior or data validation."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"response-successful","__idx":6},"children":["Response (Successful)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response contains a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metaData"]}," object with request information and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["report"]}," array with the list of company units found for the organization."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Legacy Format Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This document only illustrates the response when ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["legacyformat = false"]}," (default). For more information on the legacy format, please contact Creditsafe's Integration team for assistance."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"http-response-code-200-ok","__idx":7},"children":["HTTP Response code: 200 OK"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"metaData\": {\n    \"apiLogId\": 542900,\n    \"timeStamp\": \"2026-07-15T14:26:33\",\n    \"resource\": \"GetDataUnit (1218)\",\n    \"method\": \"GET\",\n    \"requestUrl\": \"https://se-webservice.apps.creditsafe.com/getdataunit?searchnumber=5565144408&language=sv\"\n  },\n  \"report\": [\n    {\n      \"name\": \"Exempel Sverige AB\",\n      \"officeType\": {\n        \"code\": \"CTY1\",\n        \"description\": \"Huvudkontor\"\n      },\n      \"status\": {\n        \"code\": \"CST1\",\n        \"description\": \"Aktivt\"\n      },\n      \"employeeRange\": \"200-499 anställda\",\n      \"industry\": {\n        \"code\": \"12345\",\n        \"description\": \"Exempelföretagsbranschen\"\n      },\n      \"visitingAddress\": {\n        \"address\": \"Hemvändargränd 4\",\n        \"postNr\": \"13142\",\n        \"city\": \"FIKTIVSTAD\",\n        \"countryCode\": \"SE\"\n      },\n      \"mailingAddress\": {\n        \"postNr\": \"10782\",\n        \"city\": \"STORSTADEN\",\n        \"countryCode\": \"SE\"\n      },\n      \"phone\": {\n        \"countryCode\": \"46\",\n        \"areaCode\": \"08\",\n        \"number\": \"853289\"\n      },\n      \"cfar\": \"10206589\"\n    }\n  ]\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"response-parameters","__idx":8},"children":["Response Parameters"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response contains two main sections:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"metadata","__idx":9},"children":["metaData"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["metaData"]}," object contains request information for tracing and troubleshooting:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Data type"},"children":["Data type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["apiLogId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Integer"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unique identifier for the Creditsafe API log. Refer to this ID when contacting support"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["timeStamp"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DateTime"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The exact time when the request was processed by Creditsafe. Format: YYYY-MM-DDTHH:MM:SS"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["resource"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Indicates which service delivered the report"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["method"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Specifies the HTTP method used for the request"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["requestUrl"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The complete URL of the request sent to Creditsafe"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"report","__idx":10},"children":["report"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["report"]}," array contains company unit data. For each company unit found, the following parameters will be returned:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Parameter"},"children":["Parameter"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Data type"},"children":["Data type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["name"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Company Unit Name"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["officeType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]},". Type of unit: CTY1 = Head quarter, CTY2 = Filial, CTY6 = Mobile workforce, fictitious Establishments"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["status"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]},". See full list of status codes in the service parameter list document"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["employeeRange"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Number of employees described as a range. Example: \"200-499 anställda\""]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["industry"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["code"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["visitingAddress"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["address"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["postNr"]}," (zip code), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["city"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["countryCode"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["mailingAddress"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["address"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["postNr"]}," (zip code), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["city"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["countryCode"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["phone"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["countryCode"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["areaCode"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["fax"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Object"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contains ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["countryCode"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["areaCode"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["cfar"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["String"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Workplace unit id from SCB (Statistiska CentralByrån)"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Null Values"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Please note that parameters with a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}," value are hidden in the responses of Creditsafe's REST APIs."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"understanding-the-response","__idx":11},"children":["Understanding the Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The GetDataUnit API returns a list of all units (offices, branches, etc.) associated with an organization:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Complete unit listing"]}," - All registered units for the specified organization"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Detailed unit information"]}," - Includes contact details, addresses, and operational status"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Filter capabilities"]}," - Use optional parameters to narrow down results by name, address, or zip code"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Structured data"]}," - Organized information about each unit's type, status, and location"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For detailed information about all available status codes and office types, contact Creditsafe's integration team for the complete parameter list documentation."]}]},"headings":[{"value":"Requests and Responses","id":"requests-and-responses","depth":1},{"value":"Authentication","id":"authentication","depth":2},{"value":"Production URLs","id":"production-urls","depth":2},{"value":"Request Methods","id":"request-methods","depth":2},{"value":"GetDataUnit Request","id":"getdataunit-request","depth":3},{"value":"Request Parameters","id":"request-parameters","depth":2},{"value":"Response (Successful)","id":"response-successful","depth":2},{"value":"HTTP Response code: 200 OK","id":"http-response-code-200-ok","depth":3},{"value":"Response Parameters","id":"response-parameters","depth":2},{"value":"metaData","id":"metadata","depth":3},{"value":"report","id":"report","depth":3},{"value":"Understanding the Response","id":"understanding-the-response","depth":2}],"frontmatter":{"seo":{"title":"Requests and Responses"}},"lastModified":"2026-07-21T12:36:41.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/country-apis-catalog/product-catalog/se/getdataunit/documentation/requests-responses","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}