Contents

Sync the Locations

Get updates about the list of locations the server manages.

URL

POST https://mdmenrollment.apple.com/roster/class/location/sync

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
RosterClassLocationResponse

The request was successful. The server returns a list of locations.

400Bad Request

The server was unable to process the request.

Discussion

This sync service uses a cursor returned by the full location-roster service. It returns a list of all modifications (additions or deletions) made since the cursor date, up to 7 days.

This service may return the same location more than once. You can identify duplicates by matching their unique_identifier values.

HTTP Body

The object containing the request information.

See Also

Location Mangement