Skip to content

Latest commit

 

History

History
163 lines (124 loc) · 5.58 KB

industrydata-filevalidateoperation-list.md

File metadata and controls

163 lines (124 loc) · 5.58 KB
title description author ms.localizationpriority ms.subservice doc_type
List fileValidateOperations
Get a list of long-running file validation operations and their statuses.
mlafleur
medium
industry-data-etl
apiPageType

List fileValidateOperations

Namespace: microsoft.graph.industryData

[!INCLUDE beta-disclaimer]

Get a list of long-running file validation operations and their statuses.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

GET /external/industryData/operations

Optional query parameters

This method supports some of the OData query parameters to help customize the response. For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a collection of microsoft.graph.industryData.fileValidateOperation objects in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/external/industryData/operations

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "value": [
    {
      "@odata.type": "#microsoft.graph.industryData.fileValidateOperation",
      "createdDateTime": "2022-12-14T05:54:35.400029Z",
      "errors": [
        {
          "code": "RequiredFileNotFound",
          "details": [],
          "innerError": null,
          "message": "When trying to validate required file orgs.csv encountered RequiredFileNotFound error.",
          "target": "orgs.csv"
        }
      ],
      "id": "d194fa3e-18c9-47a1-0fb1-08dad8e7a876",
      "lastActionDateTime": "2022-12-14T05:54:43.8410226Z",
      "resourceLocation": "https://graph.microsoft.com/beta/industryData/dataConnectors/022da4a0-c239-4b07-abed-08dad8e7a07a",
      "status": "succeeded",
      "statusDetail": null,
      "validatedFiles": [],
      "warnings": [
        {
          "code": "OptionalFileNotFound",
          "details": [],
          "innerError": null,
          "message": "When trying to validate file classes.csv encountered OptionalFileNotFound error.",
          "target": "classes.csv"
        },
        {
          "code": "OptionalFileNotFound",
          "details": [],
          "innerError": null,
          "message": "When trying to validate file enrollments.csv encountered OptionalFileNotFound error.",
          "target": "enrollments.csv"
        }
      ]
    }
  ]
}