AnsweredAssumed Answered

SIS Disable != REST available: "Disabled"

Question asked by shaunnakennedy@boisestate.edu on Mar 27, 2019
Latest reply on Mar 31, 2019 by Peter Love

How can we achieve the same Status/Availability with REST as with SIS snapshot loads with "Deletes" set to "Disable"?... ie... Status = Disabled, Availability = Yes

 

We use a combination of SIS snapshot file uploads and REST calls.

 

Once a day we load a REFRESH file of users. This is the advanced configuration for it:

When users that were previously in the file are no longer included, this is what they look like in the interface:

When running a GET /learn/api/public/v1/users/externalId:xxxxxxxxx This is what the availability shows:

"availability": {
"available": "Disabled"

},

 

REST services are used to Disable users in some cases...using a PATCH /learn/api/public/v1/users/externalId:xxxxxxxxx

with the following body:

{

"availability": {

"available": "Disabled"

}

}

 

After running that PATCH, this is how a user shows in the interface:

 

A PATCH with:

{

"availability": {

"available": "No"

}

}

yields the following:

 

Outcomes