GET Api/Service/Order/GetPurchaseOrderShowById/{PurchaseId}

获取采购单详细展示结构信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PurchaseId

采购单ID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

获取采购单详细展示结构信息

SpeedPower.Utility.Models.Project.Orders.Service.ParentPurchaseOrderModel
NameDescriptionTypeAdditional information
PurchaseIncludes

采购单包含乘客列表

Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetPurchaseIncludeModel

None.

PurchaseCallBacks

采购单外部调用日志列表

Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetPurchaseCallBackModel

None.

PurchaseMembers

采购单采购账户列表

Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetPurchaseMemberModel

None.

PurchasePayables

采购单付款项列表

Collection of SpeedPower.Utility.Models.Project.Orders.Service.GetPurchasePayableModel

None.

PurchaseFollowups

采购单操作处理列表(退,改)

Collection of SpeedPower.Utility.Models.Project.Orders.Service.ParentPurchaseFollowupModel

None.

RecordType

记录添加方式

SpeedPower.Utility.Models.Project.Orders.Enums.RecordType

None.

PaymentUri

支付链接

string

None.

Manual

是否支持手动半自动支付

boolean

None.

Creater

创建人

string

Required

String length: inclusive between 0 and 128

Time

添加时间

date

None.

ID

设置ID

globally unique identifier

None.

OrderId

父级ID

globally unique identifier

None.

PurchaseOrderNumber

采购订单号

string

Required

String length: inclusive between 0 and 50

PurchaseOrderType

采购单类型

SpeedPower.Utility.Models.Project.Orders.Enums.PurchaseOrderType

None.

TotalPrice

采购总价

decimal number

None.

PlatName

采购平台名称

string

Required

String length: inclusive between 0 and 50

PurchaseTag

采购路由标识

string

String length: inclusive between 0 and 20

ProviderCode

采购数据源标识

string

String length: inclusive between 0 and 20

CabinLevel

采购舱位级别

SpeedPower.Utility.Models.Service.Eterms.Enums.CabinLevelType

None.

CabinCode

采购舱位

string

Required

String length: inclusive between 0 and 3

ProductRules

采购产品规则

string

None.

Remarks

备注内容

string

String length: inclusive between 0 and 500

Response Formats

application/json, text/json

Sample:
{
  "PurchaseIncludes": [
    {
      "ID": "c5f95d24-c2b3-430b-8e86-1d4c212daedf",
      "PurchaseOrderId": "9333fd38-75a7-41cd-bde2-770513cd0be8",
      "PassengerId": "37cdae29-484d-4373-83a1-09e21d0ac03e",
      "TicketNumber": "sample string 4"
    },
    {
      "ID": "c5f95d24-c2b3-430b-8e86-1d4c212daedf",
      "PurchaseOrderId": "9333fd38-75a7-41cd-bde2-770513cd0be8",
      "PassengerId": "37cdae29-484d-4373-83a1-09e21d0ac03e",
      "TicketNumber": "sample string 4"
    }
  ],
  "PurchaseCallBacks": [
    {
      "Creater": "sample string 1",
      "Time": "2025-12-27T11:06:14.3311966+08:00",
      "ID": "67c19a0b-9434-4f96-ae61-e1f9177160ea",
      "PurchaseOrderId": "4a9b7108-56e0-44f4-af6a-c57353ad0fb7",
      "Status": 1,
      "Remarks": "sample string 5"
    },
    {
      "Creater": "sample string 1",
      "Time": "2025-12-27T11:06:14.3311966+08:00",
      "ID": "67c19a0b-9434-4f96-ae61-e1f9177160ea",
      "PurchaseOrderId": "4a9b7108-56e0-44f4-af6a-c57353ad0fb7",
      "Status": 1,
      "Remarks": "sample string 5"
    }
  ],
  "PurchaseMembers": [
    {
      "Time": "2025-12-27T11:06:14.3311966+08:00",
      "ID": "99e27a05-6ed4-4f9c-aa4e-9b62916314e2",
      "PurchaseOrderId": "e7a02513-73c8-4354-92e5-b3c0c770f4fc",
      "UserName": "sample string 4",
      "Password": "sample string 5",
      "ContactPhone": "sample string 6",
      "Remarks": "sample string 7",
      "MembersId": "sample string 8"
    },
    {
      "Time": "2025-12-27T11:06:14.3311966+08:00",
      "ID": "99e27a05-6ed4-4f9c-aa4e-9b62916314e2",
      "PurchaseOrderId": "e7a02513-73c8-4354-92e5-b3c0c770f4fc",
      "UserName": "sample string 4",
      "Password": "sample string 5",
      "ContactPhone": "sample string 6",
      "Remarks": "sample string 7",
      "MembersId": "sample string 8"
    }
  ],
  "PurchasePayables": [
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2025-12-27T11:06:14.3311966+08:00",
      "ID": "608b9d52-5cd7-4529-bdd5-ee87c491a628",
      "PurchaseOrderId": "9ff35f06-2b73-4ca2-bac2-1d8ed022d3a0",
      "PayPrice": 5.1,
      "PaymentTag": "sample string 6",
      "PaymentCode": "sample string 7",
      "PaymentAccount": "sample string 8",
      "TransactionId": "sample string 9",
      "Reconciled": true,
      "Remarks": "sample string 11"
    },
    {
      "RecordType": 0,
      "Creater": "sample string 1",
      "Time": "2025-12-27T11:06:14.3311966+08:00",
      "ID": "608b9d52-5cd7-4529-bdd5-ee87c491a628",
      "PurchaseOrderId": "9ff35f06-2b73-4ca2-bac2-1d8ed022d3a0",
      "PayPrice": 5.1,
      "PaymentTag": "sample string 6",
      "PaymentCode": "sample string 7",
      "PaymentAccount": "sample string 8",
      "TransactionId": "sample string 9",
      "Reconciled": true,
      "Remarks": "sample string 11"
    }
  ],
  "PurchaseFollowups": [
    {
      "PurchasePayments": {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2025-12-27T11:06:14.3311966+08:00",
        "ID": "4afed518-9440-4f7e-b1e3-741d655e7e7e",
        "ClaimlPrice": 4.1,
        "ServicePrice": 5.1,
        "Confirmed": true,
        "Reconciled": true,
        "TransactionId": "sample string 8",
        "Remarks": "sample string 9"
      },
      "RecordType": 0,
      "ApplyStatus": 0,
      "Creater": "sample string 1",
      "Time": "2025-12-27T11:06:14.3311966+08:00",
      "ID": "31aec61d-aea7-41dc-9b74-ce2367eddef6",
      "PurchaseOrderId": "b4b200fe-6315-4aab-a332-3aaedb69f56a",
      "ApplyType": 0,
      "Remarks": "sample string 5",
      "CSegmentId": "34caa1e7-d2ca-449d-b09d-e2c4b8ae2aec",
      "LinkedId": "7375dcee-8beb-4ab2-88c0-79f6018205a4",
      "PassengerIds": "sample string 6"
    },
    {
      "PurchasePayments": {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2025-12-27T11:06:14.3311966+08:00",
        "ID": "4afed518-9440-4f7e-b1e3-741d655e7e7e",
        "ClaimlPrice": 4.1,
        "ServicePrice": 5.1,
        "Confirmed": true,
        "Reconciled": true,
        "TransactionId": "sample string 8",
        "Remarks": "sample string 9"
      },
      "RecordType": 0,
      "ApplyStatus": 0,
      "Creater": "sample string 1",
      "Time": "2025-12-27T11:06:14.3311966+08:00",
      "ID": "31aec61d-aea7-41dc-9b74-ce2367eddef6",
      "PurchaseOrderId": "b4b200fe-6315-4aab-a332-3aaedb69f56a",
      "ApplyType": 0,
      "Remarks": "sample string 5",
      "CSegmentId": "34caa1e7-d2ca-449d-b09d-e2c4b8ae2aec",
      "LinkedId": "7375dcee-8beb-4ab2-88c0-79f6018205a4",
      "PassengerIds": "sample string 6"
    }
  ],
  "RecordType": 0,
  "PaymentUri": "sample string 1",
  "Manual": true,
  "Creater": "sample string 2",
  "Time": "2025-12-27T11:06:14.3311966+08:00",
  "ID": "1e7263c4-da2c-4642-a65a-c731f8242f99",
  "OrderId": "a7d71758-8884-4886-8027-7602b7fdc74e",
  "PurchaseOrderNumber": "sample string 6",
  "PurchaseOrderType": 0,
  "TotalPrice": 7.1,
  "PlatName": "sample string 8",
  "PurchaseTag": "sample string 9",
  "ProviderCode": "sample string 10",
  "CabinLevel": 0,
  "CabinCode": "sample string 11",
  "ProductRules": "sample string 12",
  "Remarks": "sample string 13"
}