# Get Endpoint - GetSyncJobById

Loads sync job with the provided id.

# HTTP Request

One of the following requests should be made:

GET /odata/syncjobs({key})
GET /odata/syncjobs/{key}

The endpoint supports the following OData query parameters: $select, $expand

# Path parameters

Name Description
key required. Id of syncjob that should be loaded.

# Query parameters

Name Description
repository optional. Destination repository key.

# Request headers

Name Description
Authorization required. Bearer {token}. See authorization

# Responses

Code Description Type
200 If loading of sync job was successful. SyncJobEntity
400 Request contains invalid data.
401 If access is not allowed with the given credentials/data.
500 When an internal server occurs during the load of the sync job.

# Example

# Request

The following is an example of how to call the endpoint:

GET /odata/syncjobs(1)?$select=name,repository=repo1

# Response

The following example shows the response:

Information

The response object is truncated for clarity. Default properties will be returned from the call.

{
  "name": "Job name"
}
Last updated: February 14, 2025 at 8:26 AM