GET Api/Service/Order/GetPurchaseOrdersShowByOrderId/{OrderId}

获取采购单列表展示结构信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
OrderId

订单ID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

获取采购单列表展示结构信息

Collection of SpeedPower.Utility.Models.Project.Orders.Service.ParentPurchaseShowModel
NameDescriptionTypeAdditional information
PurchaseIncludes

采购单包含乘客列表

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

None.

PurchasePayables

采购单付款项列表

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

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": "8e9c11e6-a3d6-4eab-86de-c7897312213b",
        "PurchaseOrderId": "181b1ca2-f6a2-4655-93d3-0748a4cc9fd6",
        "PassengerId": "7a58f1f2-85a1-4fa8-abc7-a8b7347ceb0f",
        "TicketNumber": "sample string 4"
      },
      {
        "ID": "8e9c11e6-a3d6-4eab-86de-c7897312213b",
        "PurchaseOrderId": "181b1ca2-f6a2-4655-93d3-0748a4cc9fd6",
        "PassengerId": "7a58f1f2-85a1-4fa8-abc7-a8b7347ceb0f",
        "TicketNumber": "sample string 4"
      }
    ],
    "PurchasePayables": [
      {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2024-10-22T16:25:00.2133572+08:00",
        "ID": "b6b563f7-a8b5-47dd-bcf6-26f30736d8a3",
        "PurchaseOrderId": "01450a35-a615-4d68-ac8d-03c596bf5a9a",
        "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": "2024-10-22T16:25:00.2133572+08:00",
        "ID": "b6b563f7-a8b5-47dd-bcf6-26f30736d8a3",
        "PurchaseOrderId": "01450a35-a615-4d68-ac8d-03c596bf5a9a",
        "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,
    "PaymentUri": "sample string 1",
    "Manual": true,
    "Creater": "sample string 2",
    "Time": "2024-10-22T16:25:00.2133572+08:00",
    "ID": "a0d90abf-3017-4244-84ab-e2cc1edfa4ca",
    "OrderId": "2e0d48d9-e22f-42db-ba25-e5d85b7a9f7e",
    "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"
  },
  {
    "PurchaseIncludes": [
      {
        "ID": "8e9c11e6-a3d6-4eab-86de-c7897312213b",
        "PurchaseOrderId": "181b1ca2-f6a2-4655-93d3-0748a4cc9fd6",
        "PassengerId": "7a58f1f2-85a1-4fa8-abc7-a8b7347ceb0f",
        "TicketNumber": "sample string 4"
      },
      {
        "ID": "8e9c11e6-a3d6-4eab-86de-c7897312213b",
        "PurchaseOrderId": "181b1ca2-f6a2-4655-93d3-0748a4cc9fd6",
        "PassengerId": "7a58f1f2-85a1-4fa8-abc7-a8b7347ceb0f",
        "TicketNumber": "sample string 4"
      }
    ],
    "PurchasePayables": [
      {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2024-10-22T16:25:00.2133572+08:00",
        "ID": "b6b563f7-a8b5-47dd-bcf6-26f30736d8a3",
        "PurchaseOrderId": "01450a35-a615-4d68-ac8d-03c596bf5a9a",
        "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": "2024-10-22T16:25:00.2133572+08:00",
        "ID": "b6b563f7-a8b5-47dd-bcf6-26f30736d8a3",
        "PurchaseOrderId": "01450a35-a615-4d68-ac8d-03c596bf5a9a",
        "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,
    "PaymentUri": "sample string 1",
    "Manual": true,
    "Creater": "sample string 2",
    "Time": "2024-10-22T16:25:00.2133572+08:00",
    "ID": "a0d90abf-3017-4244-84ab-e2cc1edfa4ca",
    "OrderId": "2e0d48d9-e22f-42db-ba25-e5d85b7a9f7e",
    "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"
  }
]