POSTConstit Solicit Code is not working
https://api.sky.blackbaud.com/commpref/v1/constituentsolicitcodes
That is the Communication Preference (Beta) url for POST
PATCH and GET (Single Constit) both work
POST returns 404 in the test environment
That is the Communication Preference (Beta) url for POST
PATCH and GET (Single Constit) both work
POST returns 404 in the test environment
0
Comments
-
Hi,
Did this get resolved for you? If not, I might be able to help -- I POSTed a batch of solicit codes the other day using a Python script and had no issues.
Cheers,
Scott0 -
This endpoint works fine, we are using it...
https://api.sky.blackbaud.com/constituent/v1/communicationpreferences
but this endpoint, which is the one they suggest you use because the 1st will be deprecated, does not
https://api.sky.blackbaud.com/commpref/v1/constituentsolicitcodes
It does not even work in their API playground
0 -
The commpref is the one I used and I just used it in the API playground and it worked. Can I see the JSON you're using for the POST?
Scott0 -
{<br/> "constituent_id": "280",<br/> "end": "1996-01-22T00:00:00",<br/> "solicit_code": "Do not phone on weekends",<br/> "start": "1986-01-22T00:00:00"<br/>}<br/><br/>and I just tried that hitting the developer sandbox, and authorizing via authorization code, and I got 400, and I tried against my RE instance with a known good constit ID and got the same, and like I said, patch and list work, so it seems unlikely that it is me0 -
I think you need to add the timezone at the end of your dates (e.g. "-5:00" for EST).
Cheers,
Scott
0 -
You're right, and I figured that out along the way because I am formatting my dates correctly in code, but lost that formatting when using the tester (assumed their sample call was correct)0
-
Thanks for your assistance.0
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 396 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 650 Blackbaud Grantmaking™
- 568 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 937 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.5K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 247 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 34 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 785 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)