Edit

Get jobPlanningLines

Retrieve the properties and relationships of a jobPlanningLine object for Business Central.

HTTP request

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

GET businesscentralPrefix/api/microsoft/analytics/v1.0/companies({companyId})/jobPlanningLines

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Don't supply a request body for this method.

Response

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

Request

Here's an example of the request.

GET https://{businesscentralPrefix}/api/microsoft/analytics/v1.0/companies({companyId})/jobPlanningLines

Response

Here's an example of the response.

Note

The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

{
    "jobNo": "J00010",
    "jobTaskNo": "1000",
    "lineNo": 10000,
    "jobType": "",
    "lineType": "",
    "no": "10000",
    "description": "ATHENS Desk",
    "quantity": 10.00,
    "unitCostLCY": 25.5,
    "totalCostLCY": 25.5,
    "unitPriceLCY": 49.99,
    "lineAmountLCY": 1500.00,
    "totalPriceLCY": 49.99,
    "planningDate": "2026-01-15"
}

jobPlanningLine