Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 1.86 KB

dynamics_scheduledjob_get.md

File metadata and controls

69 lines (48 loc) · 1.86 KB
title description author ms.topic ms.devlang ms.date ms.author ms.reviewer
(automation API) Get scheduledJob
Gets a scheduled job object in Dynamics 365 Business Central.
SusanneWindfeldPedersen
reference
al
05/31/2024
solsen
solsen

(automation API) Get scheduledJob

[!INCLUDEazure-ad-to-microsoft-entra-id]

Retrieves the properties and relationships of a scheduled job object for [!INCLUDEd365fin_long_md].

HTTP request

Replace the URL prefix for [!INCLUDE prod_short] 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" : ""
}

See Also

Tips for working with the APIs
scheduledJob