Fxiaoke Developer Manual Fxiaoke Developer Manual
  • APL Development Manual
  • PWC Development Manual
  • OpenAPI Documentation
  • Quick Start
  • API Authorization
  • API Basics
  • OpenAPI
  • SSO Integration
  • Client Development
  • FAQ
  • OpenApi Version V1 (opens new window)
  • 简体中文
  • English
  • Quick Start
  • API Authorization
  • API Basics
  • OpenAPI
  • SSO Integration
  • Client Development
  • FAQ
  • OpenApi Version V1 (opens new window)
  • 简体中文
  • English
  • Quick Start

  • API Authorization

  • API Basics

  • OpenAPI

    • CRM Object API

    • CRM Common API

    • Address Book API

    • Other API

      • Task Todo API

      • Attendance Field Work API

      • Collaborative Approval API

      • Enterprise Connect API

      • Message API

      • Material Management API

      • Network Disk API

      • Marketing API

      • File Service

        • Get Large File Download Signed URL
        • Get File Presigned URL
          • Delete Large File
          • Generate File Preview URL
        • ERP API

        • BI API

        • Offline API

    • SSO Integration

    • Client Development

    • FAQ

    Table of Contents

    Get File Pre-signed URL

    # Description

    Obtain a pre-signed URL for file access.

    # Request Specification

    Method: POST + application/json

    Endpoint: https://${cloud-domain}/cgi/crm/v2/file/getPresignedUrl?thirdTraceId=${Random String}

    Headers: Refer to Common Parameters

    Restrictions: Enterprise must be an Alibaba Cloud or Huawei Cloud file-specialized enterprise.

    # Request Parameters

    Parameter Type Required Description
    data Map Yes Data MAP
      paths List[String] Yes File paths
      expire Int Yes Expiration time (in hours)

    # Request Example

    {
      "data": {
        "paths": [
          "603dabc14ae65400011aec90"
        ],
        "expire": 1
      }
    }
    

    # Response Parameters

    Parameter Type Description
    traceId string Unique request ID
    errorDescription string Error description
    errorMessage string Error message
    errorCode Int Error codes reference

    # Response Example

    {
      "traceId": "E-O.827xxxxxx",
      "errorDescription": "success",
      "errorMessage": "OK",
      "errorCode": 0
    }
    

    # Notes

    • Do not use the message field in the response for logical judgments, as errorMessage may change;
    Get Large File Download Signed URL
    Delete Large File

    ← Get Large File Download Signed URL Delete Large File →

    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式