如何设置脚本以通过此API进行调用?

时间:2018-12-04 05:24:17

标签: google-apps-script

我正在尝试设置一个api,以进行调用(如此处的文档中所示)以插入Google Apps脚本,以便可以在Google表格中使用它。 [https://service.boostability.com/docs/index][1]

我不断收到失误的错误代码;在第4行。

我试图弄清楚如何调用文档中显示的选项。关键字排名,本地资料,营销详细信息,在线状态,所需的操作和工作电话。

没有经验,但可以尝试一下。预先感谢。

swagger: '2.0'
info:
  version: partnerv3
  title: Partner API v3
host: service.boostability.com
schemes:
  - https
paths:
  '/api/partner/v3/customers/{customerid}/customreports':
    get:
      tags:
        - Custom Reports
      summary: Gets all available Custom Reports for a customer
      operationId: CustomReports_Get
      consumes: []
      produces:
        - application/json
        - text/json
      parameters:
        - name: customerid
          in: path
          description: '513899'
          required: true
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          schema:
            type: array
            items:
              $ref: '#/definitions/CustomReport'
        '401':
          description: Authorization denied
        '404':
          description: Customer does not exist
        '500':
          description: Internal server error
      deprecated: false

0 个答案:

没有答案