Use Asynchronous (batch) Target Company List Build Results to retrieve the result of a job submitted previously. You need to download the results from the URL returned in the response.
Endpoint
GET https://api.insideview.com/api/v1/target/companies/export/job/{jobId}/results
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 |
jobId | String | Yes | Job ID |
Responses
Here are the major responses the API may return.
For details on the errors, see API Error Codes.
HTTP 200
Returns either a JSON, XML, or CSV data structure depending on the request Accept header.
application/json Example
{ "jobId": "s04eabq2bt0ncgpa1095", "jobType": "targetCompanySearchAsyncExport", "jobStatus": "finished", "createdDate": "2016-09-15T03:36:05.000-07:00", "creditsConsumed": 0, "resultsUrl": "https://dwk2zqmtd2046.cloudfront.net/targetCompanySearchAsyncExport/s04eabq2bt0ncgpa1095/response/ta..." }
application/xml Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <bulkJob> <createdDate>2016-09-15T03:36:05.000-07:00</createdDate> <creditsConsumed>0</creditsConsumed> <jobId>s04eabq2bt0ncgpa1095</jobId> <jobStatus>finished</jobStatus> <jobType>targetCompanySearchAsyncExport</jobType> <resultsUrl>https://dwk2zqmtd2046.cloudfront.net/targetCompanySearchAsyncExport/s04eabq2bt0ncgpa1095/response/targetCompanySearchAsyncExport_s04eabq2bt0ncgpa1095_2016-09-15T03-36-05-000-07-00?Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHBzOi8vZHdrMnpxbXRkMjA0Ni5jbG91ZGZyb250Lm5ldC90YXJnZXRDb21wYW55U2VhcmNoQXN5bmNFeHBvcnQvczA0ZWFicTJidDBuY2dwYTEwOTUvcmVzcG9uc2UvdGFyZ2V0Q29tcGFueVNlYXJjaEFzeW5jRXhwb3J0X3MwNGVhYnEyYnQwbmNncGExMDk1XzIwMTYtMDktMTVUMDMtMzYtMDUtMDAwLTA3LTAwIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNDc2NTI3NzY1fSwiSXBBZGRyZXNzIjp7IkFXUzpTb3VyY2VJcCI6IjAuMC4wLjAvMCJ9LCJEYXRlR3JlYXRlclRoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTQ3MzkzNjQ3OX19fV19&Signature=WFuzSleSFK1JWnrh6clTMpj1rkkcOishywgte~IfUIxH8HFPE7wwR2Olv9Hwo4U1MoT0QH-h2XX1sC-31KOFWFFBczL8D5uv2pklKeGA-8rmD524Ax1vFQh40Q6am9lCNrL7rzV8av8ARveHb4G6OFKuLu7idNk8FyuPq0Rj1NV1Ivj08aBFAIZVOu2jQ~5MEoYwzDijf1Gw9KZemA7RMpJnfe6GCz1HkdnPzxpgJwHM4DVAliRiJTK4lwNd3sAUSw~eUkHbfbXABA5Wa~cwMzfje1rT9EePqJlXq-AuRA1AcZpWr0BQYuommMSt8OsqXIQx73DeLT4A1AIW-O1Cfw__&Key-Pair-Id=APKAIIOSMLC3MB3GXLJQ</resultsUrl> </bulkJob>
CSV Example
"id","companyIdMd5Hash","britishSics","city","companyStatus","companyType","country","employees","fiscalYearEnd","industry","industryCode","naics","naicsDescription","revenue","revenueCurrency","sic","sicDescription","state","subsidiary","subIndustry","subIndustryCode","zip","street","websites","phone","fax","parentCompanyId","ultimateParentCompanyId","equifaxId","fortuneRanking","sources","mostRecentQuarter","parentCompanyName","ultimateParentCompanyName","parentCompanyCountry","ultimateParentCompanyCountry","revenueRange","employeeRange","foundationDate","gender","ethnicity","mbe","wbe","vbe","dbe","lgbt","disabled","ticker","name","companyFacebookProfile","companyTwitterProfile","companyBlogProfile","companyLinkedInProfile","companyId","companyStatusV2","companyTypeV2","businessStructure","siteTypes","siteLocationCount","siteCount"
"8HlRx83KfPH8gGgICCdTuik72kuTH8jtvjyMtW-pKyQmd5LUH-7ZbgAXQg5nTKtB","b0baacc1f6454a698443b7a180d00e2f",,"Princeton","OutOfBusiness","Private","United States",,,,,,,,,,,"NJ","OutOfBusiness",,,"08540","504 Carnegie Center Dr",,"+1 609 951 6800",,"733531","16566014",,,"InsideView",,"inVentiv Health Clinical, Inc.","Syneos Health Inc","United States","United States",,,,,,,,,,,,,"South Florida Kinetics, Inc.",,,,,"15854442","OutOfBusiness","Private","Subsidiary","Uncategorized",,
"Do5eqzjx0odFeMy8KUHjJ-AjPn9ab49TUI9QWGWDwhBEnRo1BRvdiPiPs-hIs-Qc","754f71540ad3e1261e99b170ed2fad7f","66190:Activities auxiliary to financial intermediation n.e.c.|64999:Financial intermediation not elsewhere classified","Rennes","OutOfBusiness","Private","France",,,"Financial Services","15","523999","Miscellaneous Financial Investment Activities",,,"6722","Management Investment, Open-End","Brittany","OutOfBusiness",,,"35700","16 C Rue De Jouanet",,"+33 2 23 47 09 90",,"16009380","16009380",,,"InsideView",,"Attitude Developpement","Attitude Developpement","France","France",,,"2009",,,,,,,,,,"Affilyog Societe D'actions Simplifiee A Capital Variable",,,,,"2802609","OutOfBusiness","Private","Subsidiary","Uncategorized",,
"bv5DvlVtX63xlGkKBVeo8nkDqaL3OjpHm7n0PtzGTkZKGjtgA2Kqq8mDILRfIYFM","5b00f1651e0a735df5ac222ef842fb59","68209:Other letting and operating of own or leased real estate|42990:Construction of other civil engineering projects n.e.c.","Stockholm","OutOfBusiness","Private","Sweden","1",,"Real Estate","26","531190","Lessors of Other Real Estate Property","0.01","EUR","6512","Operators Of Nonresidential Buildings","Stockholm County","OutOfBusiness","Real Estate Operating Company (REOC)","26_19","112 51","Warfvinges väg 35",,"+46 8 544 989 40",,"16015125","16015125","025100277",,"Equifax",,"Broadcast Text International AB","Broadcast Text International AB","Sweden","Sweden",,,"2004",,,,,,,,,,"Vestigia Fastigheter AB",,,,,"3263550","OutOfBusiness","Private","Subsidiary","Uncategorized",,
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 404
Invalid ID, record not found.
HTTP 429
Request is throttled.