I am trying to create a department using valence API, I am sending the data to route:/d2l/api/lp/1.12/orgstructure/ and the data I am sending is the following:
{"Type":101,
"Name":"Test",
"Code":"TestCode",
"Parents":[{"number":6606}]
}
But I keep getting the following:
"{\"Errors\":[{\"Message\":\"Parents list cannot be empty.\"}]}"