---
# API: Freight Booking - Confirm
# File: CE_SCMTMS_TORBOOKINGCI.md
# Version: 1.0.0
# Status: ACTIVE
# Protocol: SOAP (Inbound)
# Source URL: https://api.sap.com/api/CE_SCMTMS_TORBOOKINGCI/overview
# Generated: 2026-07-23
---

# Freight Booking - Confirm / 货运预订 - 确认

> **API 版本:** 1.0.0 | **状态:** ACTIVE | **协议:** SOAP  
> **技术名称:** `CE_SCMTMS_TORBOOKINGCI`  
> **操作:** `FreightBookingConfirm`  
> **SAP 通信场景:** `SAP_COM_0276`

## 概述 / Overview

该 SOAP 入站服务用于确认货运预订，确认运输能力分配和预订状态。

This inbound SOAP service confirms freight bookings, confirming transportation capacity allocation and booking status.

---

## 消息结构 / Message Structure

| # | 结构名称 | 描述 (EN) | 描述 (CN) |
|---|----------|-----------|-----------|
| 1 | `FreightBookingConfirmRequest` | Freight Booking Confirm Request | 货运预订确认请求 |
| 2 | `FreightBookingConfirmResponse` | Freight Booking Confirm Response | 货运预订确认响应 |

---

## 1. 请求结构: FreightBookingConfirmRequest / 货运预订确认请求

**命名空间:** `http://sap.com/xi/SAPGlobal20/Global`

### 1.1 抬头数据 / Header Data

**结构名称:** `FreightBookingConfirmRequest.Header`

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `BookingID` | String | 20 | Booking ID | 预订编号 |
| `FreightOrderID` | String | 20 | Freight Order ID | 货运订单编号 |
| `BookingType` | String | 4 | Booking Type | 预订类型 |
| `BookingStatus` | String | 2 | Booking Status | 预订状态 |
| `BookingDate` | DateTime | - | Booking Date | 预订日期 |
| `BookingTime` | Time | - | Booking Time | 预订时间 |
| `BookedByUser` | String | 12 | Booked By | 预订人 |
| `ConfirmationDate` | DateTime | - | Confirmation Date | 确认日期 |
| `ConfirmationTime` | Time | - | Confirmation Time | 确认时间 |
| `ConfirmedByUser` | String | 12 | Confirmed By | 确认人 |
| `Status` | String | 1 | Status | 状态 |
| `PlannedDepartureDate` | DateTime | - | Planned Departure Date | 计划出发日期 |
| `PlannedArrivalDate` | DateTime | - | Planned Arrival Date | 计划到达日期 |
| `ActualDepartureDate` | DateTime | - | Actual Departure Date | 实际出发日期 |
| `ActualArrivalDate` | DateTime | - | Actual Arrival Date | 实际到达日期 |
| `TotalGrossWeight` | Decimal | 15 | Total Gross Weight | 总毛重 |
| `TotalNetWeight` | Decimal | 15 | Total Net Weight | 总净重 |
| `WeightUnit` | String | 3 | Weight Unit | 重量单位 |
| `TotalVolume` | Decimal | 15 | Total Volume | 总体积 |
| `VolumeUnit` | String | 3 | Volume Unit | 体积单位 |
| `NumberOfPackages` | Integer | - | Number of Packages | 包装件数 |
| `MeansOfTransport` | String | 20 | Means of Transport | 运输工具 |
| `MeansOfTransportID` | String | 20 | Means of Transport ID | 运输工具标识 |
| `TransportationMode` | String | 3 | Transportation Mode | 运输模式 |
| `Carrier` | String | 10 | Carrier | 承运方 |
| `CarrierName` | String | 80 | Carrier Name | 承运方名称 |
| `ForwardingAgent` | String | 10 | Forwarding Agent | 货运代理 |
| `ForwardingAgentName` | String | 80 | Forwarding Agent Name | 货运代理名称 |
| `LoadingPoint` | String | 10 | Loading Point | 装货点 |
| `UnloadingPoint` | String | 10 | Unloading Point | 卸货点 |
| `LoadingPointName` | String | 40 | Loading Point Name | 装货点名称 |
| `UnloadingPointName` | String | 40 | Unloading Point Name | 卸货点名称 |
| `ShippingCondition` | String | 2 | Shipping Condition | 装运条件 |
| `IncotermsClassification` | String | 3 | Incoterms | 国际贸易条款 |
| `IncotermsTransferLocation` | String | 28 | Incoterms Location | 国际贸易条款地点 |
| `Route` | String | 6 | Route | 路线 |
| `RouteDescription` | String | 40 | Route Description | 路线描述 |
| `DepartureCountry` | String | 3 | Departure Country | 出发国家 |
| `DestinationCountry` | String | 3 | Destination Country | 目的国家 |
| `DepartureLocation` | String | 20 | Departure Location | 出发地点 |
| `DestinationLocation` | String | 20 | Destination Location | 目的地点 |

---

## 2. 响应结构: FreightBookingConfirmResponse / 货运预订确认响应

**命名空间:** `http://sap.com/xi/SAPGlobal20/Global`

### 2.1 响应数据 / Response Data

**结构名称:** `FreightBookingConfirmResponse`

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `BookingID` | String | 20 | Booking ID | 预订编号 |
| `FreightOrderID` | String | 20 | Freight Order ID | 货运订单编号 |
| `Status` | String | 1 | Processing Status | 处理状态 |
| `MessageType` | String | 1 | Message Type (E/W/I/S) | 消息类型 |
| `MessageText` | String | 220 | Message Text | 消息文本 |
| `ConfirmationNumber` | String | 20 | Confirmation Number | 确认编号 |
| `ConfirmedCapacity` | Decimal | 15 | Confirmed Capacity | 确认运力 |
| `CapacityUnit` | String | 3 | Capacity Unit | 运力单位 |

---

## SOAP XML 示例 / SOAP XML Example

### 请求示例 / Request Example

```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
    <soap:Header/>
    <soap:Body>
        <glob:FreightBookingConfirmRequest>
            <Header>
                <BookingID>BK00000001</BookingID>
                <FreightOrderID>FO00000001</FreightOrderID>
                <BookingType>FREIGHT</BookingType>
                <BookingStatus>10</BookingStatus>
                <BookingDate>2026-07-23</BookingDate>
                <ConfirmationDate>2026-07-23</ConfirmationDate>
                <Status>C</Status>
                <PlannedDepartureDate>2026-07-23</PlannedDepartureDate>
                <PlannedArrivalDate>2026-07-25</PlannedArrivalDate>
                <TotalGrossWeight>2500.000</TotalGrossWeight>
                <WeightUnit>KG</WeightUnit>
                <NumberOfPackages>20</NumberOfPackages>
                <Carrier>CARRIER01</Carrier>
                <TransportationMode>03</TransportationMode>
            </Header>
        </glob:FreightBookingConfirmRequest>
    </soap:Body>
</soap:Envelope>
```

### 响应示例 / Response Example

```xml
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
    <soap:Body>
        <glob:FreightBookingConfirmResponse>
            <BookingID>BK00000001</BookingID>
            <FreightOrderID>FO00000001</FreightOrderID>
            <Status>C</Status>
            <MessageType>S</MessageType>
            <MessageText>Booking confirmed successfully</MessageText>
            <ConfirmationNumber>CNF0000001</ConfirmationNumber>
            <ConfirmedCapacity>2500.000</ConfirmedCapacity>
            <CapacityUnit>KG</CapacityUnit>
        </glob:FreightBookingConfirmResponse>
    </soap:Body>
</soap:Envelope>
```