ערוך

שתף באמצעות


(automation API) Get scheduledJob

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Retrieves the properties and relationships of a scheduled job object for Dynamics 365 Business Central.

HTTP request

Replace the URL prefix for Business Central depending on environment following the guideline.

GET /microsoft/automation/v2.0/companies({companyId})/scheduledJobs({id})

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a scheduledJob object in the response body.

Example

Request

Here is an example of the request.

GET https://api.businesscentral.dynamics.com/v2.0/{environment name}/api/microsoft/automation/v2.0/companies({companyId})/scheduledJobs({id})

Response Here is an example of the response.

{
    "id" : "26066f96-8775-eb11-bb56-000d3a298ab3",
    "category" : "APIUSERJOB",
    "status" : "In Progress",
    "description" : "Create new users from Microsoft Entra API job",
    "errorMessage" : ""
}

Tips for working with the APIs
scheduledJob