[GET] - Company Wrong Information Feedback Status API

Follow

Use this API to fetch the status of a submitted wrong information based on Request Id. 

Endpoint

GET https://api.insideview.com/api/v1/company/wrongInfo/{requestId}/

Request

HTTP Headers

Header Name Type Required Description
accessToken String Yes

Valid access token.
See Authentication and Authorization Overview for more details.

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": "16826011",
   "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>16826011</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.

 

Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk