編輯

共用方式為


fileValidateOperation resource type

Namespace: microsoft.graph.industryData

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the asynchronous operation that results from any operation that validates file data.

Loop through the list to upload the latest CSV files in preparation for basic file validation. Once the files have been uploaded, call the industryDataConnector: validate endpoint to validate the uploaded files and finalize the upload session. After the files have been validated, they are moved to an internal container for processing by an inboundFlow.

The industryDataConnector: validate action is a long-running operation. The link to the operation is returned in the Location header. After the validation is complete, you can obtain the results through the Location URI.

We recommend polling no less than every 5 seconds while the status is in progress.

Inherits from validateOperation.

Methods

Method Return type Description
List microsoft.graph.industryData.fileValidateOperation collection Get a list of the fileValidateOperation objects and their properties.
Get microsoft.graph.industryData.fileValidateOperation Read the properties and relationships of an fileValidateOperation object.

Properties

Property Type Description
createdDateTime DateTimeOffset The date and time when this operation was created. Inherited from validateOperation.
errors microsoft.graph.publicError collection Set of errors discovered through validation. Inherited from validateOperation.
id String The unique identifier for the operation. Inherited from validateOperation.
lastActionDateTime DateTimeOffset The date and time when the last action was run on this operation. Inherited from validateOperation.
resourceLocation String The canonical URL of the resource. Inherited from validateOperation.
status longRunningOperationStatus The status of the long-running operation. Inherited from validateOperation. Possible values are: notStarted, running, succeeded, failed, unknownFutureValue.
statusDetail String The detail about the status value. Inherited from validateOperation.
validatedFiles String collection Set of files validated by the validate operation.
warnings microsoft.graph.publicError collection Set of warnings discovered through validation. Inherited from validateOperation.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.industryData.fileValidateOperation",
  "createdDateTime": "String (timestamp)",
  "errors": [{ "@odata.type": "microsoft.graph.publicError" }],
  "id": "String (identifier)",
  "lastActionDateTime": "String (timestamp)",
  "resourceLocation": "String",
  "status": "String",
  "statusDetail": "String",
  "validatedFiles": ["String"],
  "warnings": [{ "@odata.type": "microsoft.graph.publicError" }]
}