다음을 통해 공유


Reports - Get Export To File Status

내 작업 영역지정된 보고서에 대한 파일 내보내기 작업의 현재 상태를 반환합니다.

내보내기 작업 상태가 '성공'인 경우 GetFileOfExportToFile API 사용하여 파일을 검색합니다.

필수 범위

Report.ReadWrite.All 또는 Report.Read.All

GET https://api.powerbi.com/v1.0/myorg/reports/{reportId}/exports/{exportId}

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
exportId
path True

string

내보내기 ID

reportId
path True

string (uuid)

보고서 ID

응답

Name 형식 Description
200 OK

Export

그래

202 Accepted

Export

수락됨

예제

Example

샘플 요청

GET https://api.powerbi.com/v1.0/myorg/reports/{reportId}/exports/{exportId}

샘플 응답

{
  "id": "Mi9C5419i....PS4=",
  "createdDateTime": "2021-12-08T10:26:09.3069086Z",
  "lastActionDateTime": "2021-12-08T10:26:38.016851Z",
  "reportId": "cad51cfa-e740-324f-acbb-8ca43c40a2d4",
  "reportName": "Report name",
  "status": "Succeeded",
  "percentComplete": 100,
  "resourceLocation": "...Mi9C5419i....PS4=/file",
  "resourceFileExtension": ".pptx",
  "expirationTime": "2021-12-09T10:26:11.586756Z"
}

정의

Name Description
Export

파일 작업으로 내보내기의 세부 정보 및 현재 상태를 설명하는 개체입니다.

ExportState

파일 작업으로 내보내기의 현재 상태입니다.

Export

파일 작업으로 내보내기의 세부 정보 및 현재 상태를 설명하는 개체입니다.

Name 형식 Description
createdDateTime

string (date-time)

파일 작업으로 내보내기의 시작 날짜 및 시간입니다.

expirationTime

string (date-time)

검색 URL의 만료 날짜 및 시간

id

string

파일 작업 ID로 내보내기

lastActionDateTime

string (date-time)

파일 작업으로 내보내기를 마지막으로 변경한 날짜 및 시간입니다.

percentComplete

integer (int32)

minimum: 0
maximum: 100

작업 진행률(백분율)

reportId

string (uuid)

내보낸 보고서의 ID

reportName

string

내보낸 보고서의 이름

resourceFileExtension

string

내보낸 파일의 확장명입니다.

resourceLocation

string

내보낸 파일의 검색 URL

status

ExportState

파일 작업으로 내보내기의 현재 상태입니다.

ExportState

파일 작업으로 내보내기의 현재 상태입니다.

Description
Undefined

파일 작업으로 내보내기의 상태가 정의되지 않았습니다.

NotStarted

파일로 내보내기가 시작되지 않았습니다.

Running

파일로 내보내기 작업이 실행 중입니다.

Succeeded

파일로 내보내기 작업이 성공적으로 완료되었습니다.

Failed

파일로 내보내기 작업이 실패했습니다.