Introduction
Cedar Rose "Company Flexible API" has the following Advantages:
RESTful Web Services
Cedar Rose implements RESTful web services over HTTP, with a JSON response, and thus, we can integrate with any web based solution.
LOGIN
For authentication, a username and password are required; if the client hasn’t been provided with one, please contact Cedar Rose. During the login request, and in addition to the username and password, the request body should contain “grant_type=password”. After a successful login, the system will respond with an “access_token” which should be used with all other requests henceforth and the response will be in JSON.
Company Quick Search
Name | Type | Description | Required |
Name | string | English name, Arabic name, or register number. Can contain % in the start, middle, and/or end. | Required |
CountryID | integer | Country Filter | optional (required, if searching by register number) |
Name | Type | Description |
IDATOM | String | Cedar Rose Company ID (serial number) |
UID | String | country code + Cedar Rose reference number |
Name | String | comma delimited list of trading names that are similar to the search filter |
CommedricalRegister | String | Main Commercial Register Number |
Country | String | Country Name |
Town | String | Town Name |
POBOX | String | POBOX Number |
ReferenceNo | String | additional serial Number |
Street | String | Street Name |
Area | String | Area Name |
PostalCode | String | Postal Code |
RegisteredName | String | Company English Name (and Arabic name if available) |
Company Flexible Search
Name | Type | Description | Required |
SelectFields | array of strings | Columns of the response. Example: companyname, CountryName (complete list available in sample) | Required |
AllFilters | array of objects (Filter: FilterName, FilterValues) | List of filters | Required |
FilterName | string | Example: companyname, RegisterNumber (complete list available in sample) | Required |
FilterValues | array of objects (From, To) | Required | |
From | String | if the filter is not a range, this parameter is considered as the filter value | Required |
To | String | this parameter is only filled if he filter contains a range | Optional |
Name | Type | Description |
CompanyName | String | Company English Name |
CompanyLocalName | String | Company Arabic Name |
UID | String | country code + Cedar Rose reference number |
CountryName | String | Country Name |
RegisterNumber | String | Main Commercial Register Number |
IDATOM | String | Cedar Rose Company ID (serial number) |
ManagerName | String | Manager Name |
LegalFormID | String | the serial number of the company Legal Form |
Company Available Data
This company returns:
Person Directorship/Shareholding Search
Name | Type | Description | Required |
FirstName | nvarchar(50) | No | |
MiddleName | nvarchar(50) | No | |
LastName | nvarchar(50) | No | |
UID | nvarchar(50) | No | |
YearOfbirth | int | No | |
MonthOfBirth | int | No | |
DayOfBirth | int | No | |
IsFormer | bit | No | |
isExact | bit | No | |
LanguageId | int | No | |
IdentityNumber | nvarchar(50) | No | |
NationalityCountryId | int | No |
Name | Type | Description |
FirstName | nvarchar(50) | |
MiddleName | nvarchar(50) | |
LastName | nvarchar(50) | |
UID | nvarchar(50) | |
YearOfbirth | int | |
MonthOfBirth | int | |
DayOfBirth | int | |
IsFormer | bit | |
isExact | bit | |
LanguageId | int | |
IdentityNumber | nvarchar(50) | |
NationalityCountryId | int |
Place Order (or Download)
Name | Type | Description | Required |
SubjectName | String | The available name of the company | Required to include either SubjectName or IDATOM |
ProductId | String | serial number of the requested product (example: 284 is the serial number of Company Credit Report) | Required |
SpeedId | String | serial number of the requested Speed (example: 1 is the serial number of the redular speed) | Required |
SubjectCountryID | String | serial number of the Country of the order | Required |
IDATOM | String | serial number of the company (if available) | Required to include either SubjectName or IDATOM |
AdditionalInfo | String | additional info that you would like to include in your request | Optional |
SubjectDetails | String | available details about the company | Optional |
TradingName | String | available trading names of the company | Optional |
CustomerReference | String | could be your serial number or project ID or purchase number or just "0" | required |
Name | Type | Description |
Price | String | the price amount of the order, according to the product, speed and country |
VAT | String | the VAT amount |
DueDate | String | the Due Date of the order, according to product, speed, country, holidays... |
UID | String | country code + Cedar Rose reference number |
Currency | String | Currency (ISO 4217 Currency Code) |
OrderID | Int | Order ID of the placed order |
Content | String (XML) | you will receive xml design separately according to the product |
Supporting Functions
FAQs