Looking to install new windows, replace existing ones, add storm windows, or get your windows cleaned? Find the right window service for your home.
Ping Instructions
Fields
The following fields will be captured by this campaign. For examples of how to submit these
fields, please see the examples below.
| Field Name |
Type |
Format |
Required |
Label |
Description |
| rcm_campaign_id |
Numeric |
1234 |
REQUIRED |
Campaign ID |
Must be set to: 6591 |
| rcm_aff_id |
Numeric |
1234 |
REQUIRED |
Affiliate ID |
Ask this value from your Account Manager e.g. 3417 |
| rcm_aff_sub |
Text |
Any Text |
OPTIONAL |
Affiliate Sub ID |
pass here your subids e.g. mysubid1 |
| zip |
PostalCode |
5 digits e.g. 01561
|
REQUIRED |
Zip |
must be a 5-digit number in the format 12345
|
| tcpa_text |
Text |
Any Text
|
REQUIRED |
TCPA Text |
must be between 1 and 500 characters.
|
| ipaddress |
IpAddress |
Both IpV4AndV6 e.g. 192.168.1.1 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334
|
REQUIRED |
IP Address |
must be a valid Ip Address in Ipv4 format (e.g. 192.168.1.1) or IPv6 Format (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334)
|
| created_date |
DateTime |
yyyy-mm-dd hh:mm:ss (24 hour format)
|
REQUIRED |
Created Date |
must be a valid datetime in 24 hour format yyyy-mm-dd hh:mm:ss
|
| source |
Text |
Any Text
|
REQUIRED |
Source |
must be between 1 and 500 characters.
|
| home_owner |
MultipleChoice2 |
Multiple Choices, can select only one answer
|
REQUIRED |
Homeowner |
home_owner Accepted Values
| Label |
Value |
|
true
|
true
|
|
false
|
false
|
|
| window_count |
Numeric |
Any Numeric e.g. 123 or 12.45
|
REQUIRED |
Window Count |
must be a number e.g. 123, 456 or 1.2, 2.5
|
| work_type |
MultipleChoice2 |
Multiple Choices, can select only one answer
|
REQUIRED |
Work Type |
work_type Accepted Values
| Label |
Value |
|
Replace
|
Replace
|
|
Posting leads
We only accept POST HTTP requests. Requests can be sent either
as
FORM or JSON.
| Method: |
POST |
| URL: |
https://api-leaddepot.offerwings.com/api/v1/lead/ping/
|
| FORM |
Headers:
Content-Type: application/x-www-form-urlencoded
Payload:
|
| JSON |
Headers:
Content-Type: application/json
Payload:
|
Ping Responses
All responses are sent back in JSON format. There are 2 possible responses:
rejected, success.
Ping Rejected response
Ping Success response
Validation Error
A validation error occurs when the submitted data does not meet the rules defined in the posting instructions.
If validation fails, our system automatically returns a 422 Unprocessable Entity response containing all the validation errors.
Example Of Validation Error
Post Instructions
Fields
The following fields will be captured by this campaign. For examples of how to submit these
fields, please see the examples below.
| Field Name |
Type |
Format |
Required |
Label |
Description |
| rcm_campaign_id |
Numeric |
1234 |
REQUIRED |
Campaign ID |
Must be set to: 6591 |
| rcm_aff_id |
Numeric |
1234 |
REQUIRED |
Affiliate ID |
Ask this value from your Account Manager e.g. 3417 |
| rcm_aff_sub |
Text |
Any Text |
OPTIONAL |
Affiliate Sub ID |
pass here your subids e.g. mysubid1 |
| zip |
PostalCode |
5 digits e.g. 01561
|
REQUIRED |
Zip |
must be a 5-digit number in the format 12345
|
| xxTrustedFormCertUrl |
Url |
With Protocol e.g. http:// or https://
|
REQUIRED |
Trusted Form Url |
must be a valid Url with protocol e.g. http://example.com or https://example.com
|
| tcpa_text |
Text |
Any Text
|
REQUIRED |
TCPA Text |
must be between 1 and 500 characters.
|
| ipaddress |
IpAddress |
Both IpV4AndV6 e.g. 192.168.1.1 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334
|
REQUIRED |
IP Address |
must be a valid Ip Address in Ipv4 format (e.g. 192.168.1.1) or IPv6 Format (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334)
|
| created_date |
DateTime |
yyyy-mm-dd hh:mm:ss (24 hour format)
|
REQUIRED |
Created Date |
must be a valid datetime in 24 hour format yyyy-mm-dd hh:mm:ss
|
| source |
Text |
Any Text
|
REQUIRED |
Source |
must be between 1 and 500 characters.
|
| ping_id |
Numeric |
Any Numeric e.g. 123 or 12.45
|
REQUIRED |
Ping Id |
must be a number e.g. 123, 456 or 1.2, 2.5
|
| phone |
Phone |
1234567890
|
REQUIRED |
Phone |
must be a 10-digit number in the format 1234567890.
|
| home_owner |
MultipleChoice2 |
Multiple Choices, can select only one answer
|
REQUIRED |
Homeowner |
home_owner Accepted Values
| Label |
Value |
|
true
|
true
|
|
false
|
false
|
|
| first_name |
Text |
Any Text
|
REQUIRED |
First Name |
must be between 1 and 500 characters.
|
| last_name |
Text |
Any Text
|
REQUIRED |
Last Name |
must be between 1 and 500 characters.
|
| email |
Email |
Any Valid Email
|
REQUIRED |
Email |
must be a valid email address.
|
| address |
Text |
Any Text
|
REQUIRED |
Address |
must be between 1 and 500 characters.
|
| user_agent |
Text |
Any Text
|
REQUIRED |
Browser User Agent |
must be between 1 and 500 characters.
|
| window_count |
Numeric |
Any Numeric e.g. 123 or 12.45
|
REQUIRED |
Window Count |
must be a number e.g. 123, 456 or 1.2, 2.5
|
| work_type |
MultipleChoice2 |
Multiple Choices, can select only one answer
|
REQUIRED |
Work Type |
work_type Accepted Values
| Label |
Value |
|
Replace
|
Replace
|
|
Posting leads
We only accept POST HTTP requests. Requests can be sent either
as
FORM or JSON.
| Method: |
POST |
| URL: |
https://api-leaddepot.offerwings.com/api/v1/lead/receive/
|
| FORM |
Headers:
Content-Type: application/x-www-form-urlencoded
Payload:
|
| JSON |
Headers:
Content-Type: application/json
Payload:
|
Post Responses
All responses are sent back in JSON format. There are 2 possible responses:
rejected, success.
Post Rejected response
Post Success response
Validation Error
A validation error occurs when the submitted data does not meet the rules defined in the posting instructions.
If validation fails, our system automatically returns a 422 Unprocessable Entity response containing all the validation errors.
Example Of Validation Error
Direct Post Instructions
Fields
The following fields will be captured by this campaign. For examples of how to submit these
fields, please see the examples below.
| Field Name |
Type |
Format |
Required |
Label |
Description |
| rcm_campaign_id |
Numeric |
1234 |
REQUIRED |
Campaign ID |
Must be set to: 6591 |
| rcm_aff_id |
Numeric |
1234 |
REQUIRED |
Affiliate ID |
Ask this value from your Account Manager e.g. 3417 |
| rcm_aff_sub |
Text |
Any Text |
OPTIONAL |
Affiliate Sub ID |
pass here your subids e.g. mysubid1 |
Posting leads
We only accept POST HTTP requests. Requests can be sent either
as
FORM or JSON.
| Method: |
POST |
| URL: |
https://api-leaddepot.offerwings.com/api/v1/lead/direct-post/
|
| FORM |
Headers:
Content-Type: application/x-www-form-urlencoded
Payload:
|
| JSON |
Headers:
Content-Type: application/json
Payload:
|
Direct Post Responses
All responses are sent back in JSON format. There are 2 possible responses:
rejected, success.
Direct Post Rejected response
Direct Post Success response
Validation Error
A validation error occurs when the submitted data does not meet the rules defined in the posting instructions.
If validation fails, our system automatically returns a 422 Unprocessable Entity response containing all the validation errors.
Example Of Validation Error