@extends('layouts.master') @section('content')
| Key | Value | Details |
|---|---|---|
| key | your_api_key | Required for Authorization |
| qry | insertLeads | Required to call API Request, to insert leads into the cloud database. |
{
"data": [{
"license_number": "18543585",
"npn_no": "18543585",
"full_name": "CAUDLE, CORBIN",
"first_name": "CORBIN",
"middle_name": "",
"last_name": "CAUDLE",
"license_type_code": "PRO",
"license_type": "Insurance Producer",
"license_status": "Surrendered",
"license_effective_date": "2018-01-31",
"license_expiration_date": "2021-04-30",
"is_residence": "No",
"loas": "NO LINES ASSIGNED",
"dba_name": "",
"designated_home_state": "",
"phone": "8067867517",
"email": "",
"full_address": "DALLAS, TX 752065338",
"street": "",
"city": "DALLAS",
"region": "TX",
"zip_code": "752065338",
"res_status": "",
"selected_state": "Arizona",
"unique_id": "0-AZ-18543585",
"license_id": "",
"source_id": "0",
"appointments": "",
"organizations": "",
"is_person": "Y"
},{
Second lead's data goes here ...
},{
Third lead's data goes here ...
}]
}
{
"response": {
"status": "OK",
"results": [{
"message": "Data inserted/ updated successfully!",
"total-received": 3,
"total-inserted": 1,
"total-updated": 0,
"total-failed-to-insert": 2,
"updated-records-details": [],
"duplicate-records": 1,
"empty-unique_id-or-full_name": 0,
"no-unique_id-or-full_name-provided": 0,
"error-records": 1,
"duplicate-unique_ids": "0-AZ-2",
"duplicate-records-details": [{
"license_number": "2",
"npn_no": "18548013",
"full_name": "ABNEY, CURTIS"
}],
"empty-unique_id-or-full_name-details": [],
"no-unique_id-or-full_name-details": [],
"error-unique_ids": "0-ZA-3 (Error Description: Data too long for column 'license_type_code' at row 1)",
"error-records-details": [{
"license_number": "3",
"npn_no": "",
"full_name": "ZAMORA, ROBERTO ELIAS"
}],
"note": "All records from more than 500 records will be truncated automatically!"
}]
},
"qry": "insertLeads",
"data_source": 1
}
{
"response": {
"status": "ERROR-101",
"results": [{
"message": "No any raw data provided!"
}]
},
"qry": "insertLeads",
"data_source": 1
}
| {{ ucwords(str_ireplace("_"," ",$key)) }} | @endforeach
|---|
| {{ $val }} | @endforeach
| Key | Value | Details |
|---|---|---|
| key | your_api_key | Required for Authorization |
| qry | updateLeads | Required to call API Request, to update leads into the cloud database. |
{
"data": [{
"set": {
"full_name": "POWELL, RICHARD",
"first_name": "RICHARD",
"last_name": "POWELL",
"phone": "9178265091",
"email": "richard.powell@waypointunderwriting.com"
},
"where": "unique_id1='0-IL-18950009' and license_number='18950009'"
}, {
"set": {
"license_status": "Cancelled",
"license_effective_date": "2018-10-22",
"full_address": "CHICAGO, IL 60608",
"city": "CHICAGO",
"region": "IL",
"zip_code": "60608"
},
"where": "auto_increment_id=2"
}]
}
{
"response": {
"status": "OK",
"results": [
{
"message": "Data updated successfully!",
"total-received": 2,
"total-updated": 1,
"error-records": 1,
"error-records-details": [
{
"error_at_record_no": 1,
"error_where": "unique_id1='0-IL-18950009' and license_number='18950009'",
"error_description": "Unknown column 'unique_id1' in 'where clause'"
}
],
"total-failed-to-update": 1,
"note": "All records from more than 500 records will be truncated automatically! Any one field (unique_id or auto_increment_id) must be required to be present into your where statement string!"
}
]
},
"qry": "updateLeads",
"data_source": 1
}
{
"response": {
"status": "ERROR-104",
"results": [{
"message": "No any data updated!"
}]
},
"qry": "updateLeads",
"data_source": 1
}
| Key | Value | Details |
|---|---|---|
| key | your_api_key | Required for Authorization |
| qry | getMaxLicenseEffectiveDate | Required to call API Request, to get maximum license effective date from the cloud database. |
| state | Florida | Required to get maximum license effective date |
{
"response": {
"status": "OK",
"results": [{
"license_effective_date": "2021-02-08"
}]
},
"qry": "getMaxLicenseEffectiveDate",
"data_source": 1
}
{
"response": {
"status": "ERROR-107",
"results": [{
"message": "License Effective Date was not found for the selected state!"
}]
},
"qry": "getMaxLicenseEffectiveDate",
"data_source": 1
}
| Key | Value | Details |
|---|---|---|
| key | your_api_key | Required for Authorization |
| qry | getMaxLicenseNumber | Required to call API Request, to get maximum license number with full record details from the cloud database. |
| state | Florida | Required to get maximum license number with full record details |
{
"response": {
"status": "OK",
"results": [{
"license_number": "W719278",
"npn_no": "",
"full_name": "KEITH, ERIC L",
"first_name": "ERIC",
"middle_name": "L",
"last_name": "KEITH",
"license_type_code": "",
"license_type": "NON-RES ADJUSTER - ALL LINES",
"license_status": "Active",
"license_effective_date": null,
"license_expiration_date": null,
"is_residence": "N",
"loas": "",
"dba_name": "",
"designated_home_state": "Florida",
"phone": "3344675557",
"email": "ORION5557@YAHOO.COM",
"full_address": "229 OAK FOREST DR, MONTGOMERY, AL 36109",
"street": "229 OAK FOREST DR",
"city": "MONTGOMERY",
"region": "",
"zip_code": "36109",
"res_status": "N",
"selected_state": "Florida",
"unique_id": "9-FL-W719278",
"license_id": "",
"source_id": "9",
"appointments": "",
"organizations": null,
"scraping_date": "2021-02-11 05:17:02",
"is_phone_in_data247": "N",
"data247_id": "0",
"auto_increment_id": "7801780",
"data_source": "2",
"is_person": "Y",
"sent_id": null,
"buss_name": null,
"buss_full_address": null,
"buss_street": null,
"buss_city": null,
"buss_region": null,
"buss_zip_code": null
}]
},
"qry": "getMaxLicenseNumber",
"data_source": 1
}
{
"response": {
"status": "ERROR-108",
"results": [{
"message": "License Number was not found for the selected state!"
}]
},
"qry": "getMaxLicenseNumber",
"data_source": 1
}
| Key | Value | Details |
|---|---|---|
| key | your_api_key | Required for Authorization |
| qry | insertJobsData | Required to call API Request, to insert jobs data into the cloud database. |
{
"data": [{
"title": ".5 Dance Teacher (Grade: 9-12)",
"organization": "Dallas ISD",
"location": "Dallas, TX",
"email": "test@test.com",
"phone": "253-374-2938",
"web_address": "https://www.google.com",
"urgent_banner": "Actively Hiring During COVID-19",
"short_description": "Present subject matter according to guidelines established by Texas Education Agency...",
"long_description": "Present subject matter according to guidelines established by Texas Education Agency, Board of Trustee policies, and administrative regulations * Establish efficient classroom management procedures"
},{
Second job's data goes here ...
},{
Third job's data goes here ...
}]
}
{
"response": {
"status": "OK",
"results": [{
"message": "Data inserted successfully!",
"total-received": 3,
"total-inserted": 1,
"total-failed-to-insert": 2,
"no-required-fields-provided": 2,
"no-required-fields-details": [{
"title": "",
"organization": "",
"location": "",
"email": "",
"phone": "",
"web_address": "",
"urgent_banner": "",
"short_description": "",
"long_description": ""
},{
"title": "",
"organization": "",
"location": "",
"email": "",
"phone": "",
"web_address": "",
"urgent_banner": "",
"short_description": "",
"long_description": ""
}],
"empty-title": 0,
"empty-title-details": [],
"duplicate-records": 0,
"duplicate-records-details": [],
"error-records": 0,
"error-records_titles": "",
"error-records-details": [],
"note": "All records from more than 100 records will be truncated automatically!"
}]
},
"qry": "insertJobsData",
"data_source": 1
}
{
"response": {
"status": "ERROR-101",
"results": [{
"message": "No any raw data provided!"
}]
},
"qry": "insertJobsData",
"data_source": 1
}
| Key | Value | Details |
|---|---|---|
| key | your_api_key | Required for Authorization |
| qry | insertAgentsData | Required to call API Request, to insert agents data into the cloud database. |
{
"data": [{
"title": "The Gayden Team",
"organization": "Keller Williams Signature",
"email": "",
"phone": "(832) 692-2000",
"for_sale": 171,
"sold": 1007,
"experience": null,
"activity_range": "$119K - $1.4M",
"list_a_house": "2020-11-16",
"bio_link": "https://realtor.com/realestateagents/the-gayden-team_houston_tx_163079_587994491",
"phone1": "",
"phone2": "",
"image_link": "https://www.realtor.com///p.rdcpix.com/v02/g589b1900-c0md-r1d-r7_w110.jpg",
"location": "",
"city": "Katy",
"state": "TX",
"zip_code": "77449",
"county": "Harris"
},{
Second agent's data goes here ...
},{
Third agent's data goes here ...
}]
}
{
"response": {
"status": "OK",
"results": [{
"message": "Data inserted/ updated successfully!",
"total-received": 3,
"total-inserted": 1,
"total-updated": 0,
"total-failed-to-insert": 2,
"updated-records-details": [],
"no-required-fields-provided": 2,
"no-required-fields-details": [{
"title": "",
"organization": "",
"email": "",
"phone": "",
"for_sale": null,
"sold": null,
"experience": null,
"activity_range": "",
"list_a_house": null,
"bio_link": "",
"phone1": "",
"phone2": "",
"image_link": "",
"location": "",
"city": "",
"state": "",
"zip_code": "",
"county": ""
},{
"title": "",
"organization": "",
"email": "",
"phone": "",
"for_sale": null,
"sold": null,
"experience": null,
"activity_range": "",
"list_a_house": null,
"bio_link": "",
"phone1": "",
"phone2": "",
"image_link": "",
"location": "",
"city": "",
"state": "",
"zip_code": "",
"county": ""
}],
"empty-title": 0,
"empty-title-details": [],
"duplicate-records": 0,
"duplicate-records-details": [],
"error-records": 0,
"error-records_titles": "",
"error-records-details": [],
"note": "All records from more than 500 records will be truncated automatically!"
}]
},
"qry": "insertAgentsData",
"data_source": 1
}
{
"response": {
"status": "ERROR-101",
"results": [{
"message": "No any raw data provided!"
}]
},
"qry": "insertAgentsData",
"data_source": 1
}
| Error Code | Details |
|---|---|
| {{ $key }} | {{ $val }} |
| Error Code | Details |
|---|---|
| {{ $key }} | {{ $val }} |