This API route - PUT /d2l/api/lp/(version)/orgstructure/(orgUnitId) - requires Path as part of the OrgUnit.OrgUnitProperties
{
"Identifier": <string:D2LID>,
"Name": <string>,
"Code": <string>|null,
"Path": <string>,
"Type": { <composite:OrgUnit.OrgUnitTypeInfo> }
}
However, the similar GET call does not return Path.
The Organizational Units data set does not include path.
The API route - GET /d2l/api/lp/(version)/orgstructure/ - does include path. However, it is paged result set that only returns 10 records per page, at least when using the query string ?orgUnitType=2.
If there are thousands or tens of thousands of an org unit type where the path is needed, what is the best way to get paths, in addition to name, code, orgunitid, and type?
Thanks