-
Notifications
You must be signed in to change notification settings - Fork 0
GET Company By ID
Ksenyia edited this page May 16, 2016
·
5 revisions
It gives the data of company like company title, aliases, company groups, commodities and so on.
Resource URI
/companies/{id}
Resource Properties
Property | Description |
---|---|
id | A string that uniquely identifies the concession. |
Response Attribute
{
_id: String,
company_name: String,
company_established_source: String,
company_website:
{
source: String,
string: String,
_id: String,
timestamp: Date
},
description: String,
open_corporates_id: String,
companies_house_id: String,
countries_of_operation:[
{
source: String,
country: String,
_id: String,
timestamp: Date
}
],
country_of_incorporation:[
{
source: String,
country: String,
_id: String,
timestamp: Date
}
],
company_aliases:[
{
_id: String,
alias: String
}
]
}
HTTP GET
Default Request
curl -GET http://end-point-uri/companies/56fcd3d8be65cd01000bd79e
Response
HTTP Status Code 200
{
_id: "56fcd3d8be65cd01000bd79e",
company_name: "Anglogold Ashanti Ghana Limited",
company_established_source: "56fcd3d7be65cd01000bd794",
company_website:
{
source: "56747e060e8cc07115200ee6",
string: "http://www.anglogoldashanti.com",
_id: "56f8c98288a7024614708fd8",
timestamp: ""2016-03-31T07:29:38.779Z""
},
description: "<p>yes</p><p>no</p>",
open_corporates_id: "1944-017354-06",
companies_house_id: "03323845",
countries_of_operation:[
{
source: "56747e060e8cc07115200ee5",
country: "56f8c98288a7024614708e98",
_id: "56f8c98288a70246147090cb",
timestamp: "2016-03-28T06:04:49.711Z"
}
],
country_of_incorporation:[
{
source: "56747e060e8cc07115200ee5",
country: "56a7e6c02302369318e16bb8",
_id: "56f8c98288a70246147090ca",
timestamp: "2016-03-28T06:04:49.711Z"
}
],
company_aliases:[
{
_id: "56a7d55eb04a1f2214b7b1dd,
alias: "company"
}
]
}