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/contact/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 |
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 other | String | Other fields reported |
fields email | Integer | Email reported |
fields titles | String | title reported |
createdDate | String | Request submission date |
Type: application/json
Schema
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "/",
"type": "object",
"properties": {
"requestId": {
"id": "requestId",
"type": "string"
},
"contactId": {
"id": "contactId",
"type": "string"
},
"status": {
"id": "status",
"type": "string"
},
"fields": {
"id": "fields",
"type": "array",
"items": {
"id": "0",
"type": "object",
"properties": {
"companyName": {
"id": "companyName",
"type": "string"
},
"titles": {
"id": "titles",
"type": "string"
},
"phone": {
"id": "phone",
"type": "string"
},
"other": {
"id": "other",
"type": "string"
},
"email": {
"id": "email",
"type": "string"
}
}
},
"additionalProperties": false
},
"createdDate": {
"id": "createdDate",
"type": "string"
}
}
}
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"
}
Type: application/xml
Schema
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="contactWrongInfo"> <xs:complexType> <xs:sequence> <xs:element type="xs:int" name="contactId"/> <xs:element type="xs:string" name="createdDate"/> <xs:element name="fields"> <xs:complexType> <xs:sequence> <xs:element type="xs:string" name="companyName"/> <xs:element type="xs:string" name="email"/> <xs:element type="xs:string" name="other"/> <xs:element type="xs:int" name="phone"/> <xs:element type="xs:string" name="titles"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="xs:int" name="requestId"/> <xs:element type="xs:string" name="status"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
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.