ApiFault 数据对象 - 客户计费

定义发生特定于 Web 服务的错误时(例如请求消息包含不完整或无效数据)时,操作会返回的客户计费 API 故障对象。

语法

<xs:complexType name="ApiFault" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexContent mixed="false">
    <xs:extension xmlns:q1="https://adapi.microsoft.com" base="q1:ApplicationFault">
      <xs:sequence>
        <xs:element minOccurs="0" name="OperationErrors" nillable="true" type="tns:ArrayOfOperationError" />
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

元素

ApiFault 对象具有以下元素:OperationErrors

元素 说明 数据类型
OperationErrors OperationError 对象的数组,其中包含解释当错误与项目批中的特定项无关时服务操作失败的原因。 OperationError 数组

ApiFault 对象具有 Inherited Elements

继承的元素

从 ApplicationFault 继承的元素

ApiFault 对象派生自 ApplicationFault 对象,并继承以下元素:TrackingId。 下面的说明特定于 ApiFault,可能不适用于从 ApplicationFault 对象继承相同元素的其他对象。

元素 说明 数据类型
跟踪 ID 包含 API 调用详细信息的日志条目的标识符。 string

要求

服务: CustomerBillingService.svc v13
命名 空间: https://bingads.microsoft.com/Customer/v13/Exception