Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help Center CreateSection API endpoint not correct, cannot create new sections. #195

Closed
Marcus10110 opened this issue Jan 12, 2016 · 3 comments

Comments

@Marcus10110
Copy link
Contributor

I'm trying to use the help center create section call to create a new section for a specific category, using this call:
api.HelpCenter.Sections.CreateSection

However, I get this error:
The remote server returned an error: (404) Not Found.Error content: {"error":"InvalidEndpoint","description":"Not found"}

looking at this source file:
ZendeskApi_v2/Requests/HelpCenter/Sections.cs

It looks like it's trying to use this endpoint:
"help_center/sections.json"

The API documentation for this is here:
https://developer.zendesk.com/rest_api/docs/help_center/sections#create-section

and shows these two endpoints for create section:
POST /api/v2/help_center/categories/{id}/sections.json
POST /api/v2/help_center/{locale}/categories/{id}/sections.json

@mozts2005 mozts2005 added this to the 4.0.0 milestone Jan 20, 2016
@mozts2005
Copy link
Member

Can I get you to submit a unit test to allow us to fix this issue faster

@mozts2005 mozts2005 modified the milestones: 4.0.0, 3.5.0 Feb 17, 2016
@KenBilling
Copy link

I'm running into the same problem.

@Marcus10110
Copy link
Contributor Author

#216 Submitted pull request with unit test and fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants