Use this API to fetch the status of a submitted wrong information based on Request Id.
Endpoint
GET https://api.insideview.com/api/v1/target/companies/wrongInfo/{requestId}/
Request
HTTP Headers
| Header Name | Type | Required | Description |
| accessToken | String | Yes |
Valid access token. |
| Accept | String | No | Selects the response's content type. Valid values are application/json and application/xml (default). |
URI Parameters
| Parameter Name | Type | Required | Description |
| requestId | String | Yes | Request ID returned while submitting wrong information |
Responses
HTTP 200
Returns either a JSON or XML data structure depending on the request Accept header.
| Name | type | Description |
| requestId | String | Request Id for submitted wrong Info |
| companyId | String | InsideView Company ID |
| status | String | Status of the request |
| fields | Array | Fields reported |
| fields revenue | String | Annual Revenue reported |
| fields industryCode | String | Industry Id reported |
| fields other | String | Other fields reported |
| fields employees | Integer | Employee count reported |
| fields address | String | address reported |
| fields websites | String | company URL reported |
| fields removeCompany | String | Reported to remove company |
| createdDate | String | Request submission date |
application/json example
{
"requestId": "927002",
"companyId": "K7ytJKFut0yG3NSr1xemWXwK_94OYFQJa228CcvRG854ayacqwPY-4mPbmSeNKZm",
"status": "new",
"fields": {
"revenue": 12,
"employees": 100,
"address": "vivek street",
"websites": "http://vivek.com",
"other": "vivek",
"industryCode": "1"
},
"createdDate": "2016-07-04T05:07:09.148-07:00"
}
application/xml example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <companyWrongInfo> <companyId>K7ytJKFut0yG3NSr1xemWXwK_94OYFQJa228CcvRG854ayacqwPY-4mPbmSeNKZm</companyId> <createdDate>2016-07-04T05:07:40.264-07:00</createdDate> <fields> <address>vivek street</address> <revenue>12</revenue> <websites>http://vivek.com</websites> <employees>100</employees> <industryCode>1</industryCode> <other>vivek</other> </fields> <requestId>925003</requestId> <status>new</status> </companyWrongInfo>
HTTP 400
Invalid query parameter(s).
HTTP 401
Unauthorized Error - Cannot use API's without setting a valid accessToken in header.
HTTP 405
Method Not Allowed - Your are not allowed to access this API.
HTTP 429
Request is throttled.