-
Notifications
You must be signed in to change notification settings - Fork 0
GET Company ID
Ksenyia edited this page Feb 1, 2017
·
2 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
{
errorList: Array,
company: {
_id: String,
company_name: String,
company_website: {
string: String,
source: String,
timestamp: Date
},
company_established_source: String,
countries_of_operation: Array,
country_of_incorporation: [
{
country: String,
source: String,
timestamp: Date
}
],
company_aliases: Array
}
}
HTTP GET
Default Request
curl -GET http://end-point-uri/companies/56fcd3d8be65cd01000bd79e
Response
HTTP Status Code 200
{
errorList: [],
company: {
_id: "585bb90a8bb3aa000f2116a5",
company_name: "Tianjin Energy Resources",
company_website: {
string: "http://www.tianjinenergy.com",
source: "585bb9088bb3aa000f21155b",
timestamp: "2016-12-22T11:17:39.000Z"
},
company_established_source: "585bb9088bb3aa000f21155b",
countries_of_operation: [],
country_of_incorporation: [{
country: "5808851f5e0ba42fc79bd5b7",
source: "585bb9088bb3aa000f21155b",
timestamp: "2016-12-22T11:17:39.000Z"
}],
company_aliases: []
}
}