Jamf-School zuludesk API Endpoint for /dep returns 404

mh-jena
Contributor

I am working with the api to create users and query or update device info. 

Now i am trying to perform dep endpoint actions, but i get a 404 Not Found error.

If the payload is malformed i get a 500. The endpoints for devices and users works with post and get requests as (mostly) expected.

 

this is related to the "teacher endpoint not working" thread https://community.jamf.com/t5/jamf-school/jamf-api-the-endpoint-teacher-is-not-usable/m-p/255375#M65... 

1 ACCEPTED SOLUTION

mh-jena
Contributor

Oh, i am a so dump person... I forgot to send a X-Server-Protocol-Header-Version with my request. After adding the correct header to the dep endpoint request, I get an 200 answer from the api.

 

In this video I got the hint https://www.youtube.com/watch?v=wUCO8O5BL84&t=3s @17:53 

teacher and dep endpoints are version 3 

device stuff are older version 1 - that's why it works with the implementation. and not at the v.3 endpoints (mainly)

 

for me the problem is solved. 

View solution in original post

1 REPLY 1

mh-jena
Contributor

Oh, i am a so dump person... I forgot to send a X-Server-Protocol-Header-Version with my request. After adding the correct header to the dep endpoint request, I get an 200 answer from the api.

 

In this video I got the hint https://www.youtube.com/watch?v=wUCO8O5BL84&t=3s @17:53 

teacher and dep endpoints are version 3 

device stuff are older version 1 - that's why it works with the implementation. and not at the v.3 endpoints (mainly)

 

for me the problem is solved.