[POST] - Target Contact Wrong Information Feedback API

Follow

Use this API to submit any inconsistency in Contact information. 

Endpoint

POST https://api.insideview.com/api/v1/target/contact/{newContactId}/wrongInfo

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
newContactId String Yes new Contact ID

Query Parameters

Parameter Name Type Required Description
companyName String No1 Use this if Company Name is wrong 
titles String No1 Use this if title is wrong 
phone String No1 Use this if phone number is wrong  
email String No1 Use this if email is wrong  
other String No1 Any additional detail or field you want to report  

1: the request should include at least one of the above parameters.

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
contactId String InsideView Contact ID
status String Status of the request
fields Array Fields reported 
fields > companyName String company Name reported
fields > phone String Phone reported
fields > email String email reported
fields > titles Integer titles reported
fields > other String other fields reported 
createdDate String  Request submission date 

application/json example

{
   "requestId": "927002",
   "contactId": "K7ytJKFut0yG3NSr1xemWXwK_94OYFQJa228CcvRG854ayacqwPY-4mPbmSeNKZm",
   "status": "new",
   "fields": {
    "companyName": "abc",
    "phone": "1232131",
    "email": "aaaa",
    "titles": "def",
    "other": "fsdfsdf"
  },
   "createdDate": "2016-07-04T05:07:09.148-07:00"
}

application/xml example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<contactWrongInfo>
   <contactId>K7ytJKFut0yG3NSr1xemWXwK_94OYFQJa228CcvRG854ayacqwPY-4mPbmSeNKZm</contactId>
   <createdDate>2016-07-04T05:07:40.264-07:00</createdDate>
  <fields>
        <companyName>abc</companyName>
        <email>aaaa</email>
        <other>fsdfsdf</other>
        <phone>1232131</phone>
        <titles>def</titles>
    </fields>
   <requestId>925003</requestId>
   <status>new</status>
</contactWrongInfo>

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