Enroll student into a section via Valance API

Options

I am trying to Enroll a Student into a Section using Valance API and I am getting

"{\"Errors\":[{\"Message\":\"Resource Not Found\"}]}".

I am sending the following:

Route:"/d2l/api/lp/1.12/orgUnitId/sections/sectionId/enrollments/" (Also tried with version 1.9)

 

Data:

{"UserId":1234}

 

I also made sure the user I am trying to enroll, was first created using Valance API too.

 

 Also read the other issue with sections enrollment and that issue was due to not having a "/" at the end but in my case its not the issue.

 

What else can I try to debug this issue, please let me know if you know anything.

 

Thanks in Advance