Created
April 15, 2015 16:17
-
-
Save pcave/b7ecfc2c33ed9f6c85a0 to your computer and use it in GitHub Desktop.
resolveTarget() response
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data":{ | |
"alert_id":"Advocacy-My-Test-Ac-552d6b6a928fe", | |
"account_id":"208", | |
"test_mode":false, | |
"contact":{ | |
"first_name":"Don", | |
"last_name":"Johnson", | |
"address":"104 Briarburn Lane", | |
"address_line_2":"", | |
"city":"Holly Springs", | |
"state":"NC", | |
"phone":"9197715786", | |
"zip":"27540-7733", | |
"email":"[email protected]", | |
"county":"Wake", | |
"fips":"37183", | |
"latitude":"35.55934", | |
"longitude":"-78.89076" | |
}, | |
"messages":{ | |
"Advocacy-My-Test-Ac-552d6c6b85073":{ | |
"message":{ | |
"id":"Advocacy-My-Test-Ac-552d6c6b85073", | |
"subject":"Subject text", | |
"body":"Dear %first-name%\n\nThis is the message body.\n\nSincerely, %first-name% %last-name%", | |
"precedence":"0" | |
}, | |
"deliverable":[ | |
{ | |
"id":"420", | |
"account_id":null, | |
"class_name":"Legislator", | |
"salutation":"Sen.", | |
"first_name":"Richard", | |
"last_name":"Burr", | |
"organization":null, | |
"title":null, | |
"gender":"M", | |
"website":null, | |
"email":null, | |
"facebook":"http:\/\/www.facebook.com\/senatorburr", | |
"twitter":"http:\/\/twitter.com\/SenatorBurr", | |
"edited_on":null, | |
"form_id":"470", | |
"person_id":"158938", | |
"state_id":"34", | |
"state":"NC", | |
"party":"R", | |
"district_code":"NCS01", | |
"district_name":"North Carolina US Senate", | |
"fec_id":"S4NC00089", | |
"role":"FS", | |
"primary_delivery_method":"Webform", | |
"created_at":null, | |
"updated_at":null, | |
"addresses":[ | |
{ | |
"id":"2205", | |
"target_id":"420", | |
"kw_address_id":"178541", | |
"type":"Fed Capitol", | |
"building":"RSOB- Russell Senate Office Building", | |
"street":"2 Constitution Avenue, NE", | |
"street_2":null, | |
"city":"Washington", | |
"state":"DC", | |
"zip_code":"20510-3308", | |
"country":"Un", | |
"area_code":"202", | |
"phone":"224-3154", | |
"ext":null, | |
"fax_area_code":"202", | |
"fax":"228-2981", | |
"created_at":null, | |
"updated_at":null | |
}, | |
{ | |
"id":"9136", | |
"target_id":"420", | |
"kw_address_id":"186032", | |
"type":"Fed District", | |
"building":null, | |
"street":"2000 West First Street", | |
"street_2":null, | |
"city":"Winston-Salem", | |
"state":"NC", | |
"zip_code":"27104-4225", | |
"country":"Un", | |
"area_code":"336", | |
"phone":"631-5125", | |
"ext":null, | |
"fax_area_code":"336", | |
"fax":"725-4493", | |
"created_at":null, | |
"updated_at":null | |
}, | |
{ | |
"id":"9142", | |
"target_id":"420", | |
"kw_address_id":"196748", | |
"type":"Fed District", | |
"building":"Federal Building", | |
"street":"151 Patton Avenue", | |
"street_2":null, | |
"city":"Asheville", | |
"state":"NC", | |
"zip_code":"28801-2689", | |
"country":"Un", | |
"area_code":"828", | |
"phone":"350-2437", | |
"ext":null, | |
"fax_area_code":"828", | |
"fax":"350-2439", | |
"created_at":null, | |
"updated_at":null | |
}, | |
{ | |
"id":"9143", | |
"target_id":"420", | |
"kw_address_id":"196749", | |
"type":"Fed District", | |
"building":"City Hall", | |
"street":"181 South Street", | |
"street_2":null, | |
"city":"Gastonia", | |
"state":"NC", | |
"zip_code":"28052-4126", | |
"country":"Un", | |
"area_code":"704", | |
"phone":"833-0854", | |
"ext":null, | |
"fax_area_code":"704", | |
"fax":"833-1467", | |
"created_at":null, | |
"updated_at":null | |
}, | |
{ | |
"id":"9144", | |
"target_id":"420", | |
"kw_address_id":"196750", | |
"type":"Fed District", | |
"building":null, | |
"street":"100 Coast Line Street", | |
"street_2":null, | |
"city":"Rocky Mount", | |
"state":"NC", | |
"zip_code":"27804-5849", | |
"country":"Un", | |
"area_code":"252", | |
"phone":"977-9522", | |
"ext":null, | |
"fax_area_code":"252", | |
"fax":"977-7902", | |
"created_at":null, | |
"updated_at":null | |
}, | |
{ | |
"id":"9145", | |
"target_id":"420", | |
"kw_address_id":"200873", | |
"type":"Fed District", | |
"building":null, | |
"street":"201 North Front Street", | |
"street_2":null, | |
"city":"Wilmington", | |
"state":"NC", | |
"zip_code":"28401-5089", | |
"country":"Un", | |
"area_code":"910", | |
"phone":"251-1058", | |
"ext":null, | |
"fax_area_code":"910", | |
"fax":"251-7975", | |
"created_at":null, | |
"updated_at":null | |
} | |
] | |
}, | |
{ | |
"id":"5455", | |
"account_id":null, | |
"class_name":"Legislator", | |
"salutation":"Sen.", | |
"first_name":"Kay", | |
"last_name":"Hagan", | |
"organization":null, | |
"title":null, | |
"gender":"F", | |
"website":null, | |
"email":null, | |
"facebook":"http:\/\/www.facebook.com\/SenatorHagan", | |
"twitter":"http:\/\/twitter.com\/SenatorHagan", | |
"edited_on":null, | |
"form_id":"631", | |
"person_id":"196549", | |
"state_id":"34", | |
"state":"NC", | |
"party":"D", | |
"district_code":"NCS02", | |
"district_name":"North Carolina US Senate", | |
"fec_id":"S8NC00239", | |
"role":"FS", | |
"primary_delivery_method":"Webform", | |
"created_at":null, | |
"updated_at":null, | |
"addresses":[ | |
{ | |
"id":"2229", | |
"target_id":"5455", | |
"kw_address_id":"243326", | |
"type":"Fed Capitol", | |
"building":"DSOB- Dirksen Senate Office Building", | |
"street":"100 Constitution Avenue, NE", | |
"street_2":null, | |
"city":"Washington", | |
"state":"DC", | |
"zip_code":"20510-3309", | |
"country":"Un", | |
"area_code":"202", | |
"phone":"224-6342", | |
"ext":null, | |
"fax_area_code":"202", | |
"fax":"228-2563", | |
"created_at":null, | |
"updated_at":null | |
}, | |
{ | |
"id":"9179", | |
"target_id":"5455", | |
"kw_address_id":"246921", | |
"type":"Fed District", | |
"building":null, | |
"street":"310 New Bern Avenue", | |
"street_2":null, | |
"city":"Raleigh", | |
"state":"NC", | |
"zip_code":"27601-1441", | |
"country":"Un", | |
"area_code":"919", | |
"phone":"856-4630", | |
"ext":null, | |
"fax_area_code":"919", | |
"fax":"856-4053", | |
"created_at":null, | |
"updated_at":null | |
}, | |
{ | |
"id":"9182", | |
"target_id":"5455", | |
"kw_address_id":"250250", | |
"type":"Fed District", | |
"building":null, | |
"street":"701 Green Valley Road", | |
"street_2":null, | |
"city":"Greensboro", | |
"state":"NC", | |
"zip_code":"27408-7096", | |
"country":"Un", | |
"area_code":"336", | |
"phone":"333-5311", | |
"ext":null, | |
"fax_area_code":"336", | |
"fax":"333-5331", | |
"created_at":null, | |
"updated_at":null | |
}, | |
{ | |
"id":"9210", | |
"target_id":"5455", | |
"kw_address_id":"272057", | |
"type":"Fed District", | |
"building":null, | |
"street":"1520 South Boulevard", | |
"street_2":null, | |
"city":"Charlotte", | |
"state":"NC", | |
"zip_code":"28203-3711", | |
"country":"Un", | |
"area_code":"704", | |
"phone":"334-2448", | |
"ext":null, | |
"fax_area_code":"704", | |
"fax":"334-2405", | |
"created_at":null, | |
"updated_at":null | |
}, | |
{ | |
"id":"9211", | |
"target_id":"5455", | |
"kw_address_id":"272061", | |
"type":"Fed District", | |
"building":null, | |
"street":"82 Patton Avenue", | |
"street_2":null, | |
"city":"Asheville", | |
"state":"NC", | |
"zip_code":"28801-3342", | |
"country":"Un", | |
"area_code":"828", | |
"phone":"257-6510", | |
"ext":null, | |
"fax_area_code":"828", | |
"fax":"257-6514", | |
"created_at":null, | |
"updated_at":null | |
}, | |
{ | |
"id":"9212", | |
"target_id":"5455", | |
"kw_address_id":"272065", | |
"type":"Fed District", | |
"building":null, | |
"street":"301 South Evans Street", | |
"street_2":null, | |
"city":"Greenville", | |
"state":"NC", | |
"zip_code":"27858-1831", | |
"country":"Un", | |
"area_code":"252", | |
"phone":"754-0707", | |
"ext":null, | |
"fax_area_code":"252", | |
"fax":"754-0766", | |
"created_at":null, | |
"updated_at":null | |
} | |
] | |
} | |
], | |
"undeliverable":null | |
} | |
}, | |
"access_token":"" | |
}, | |
"status_code":200 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment