GET Api/Invoke/GetWebApiParentPurchaseOrderById/{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.WebApiParentPurchaseOrderModel
NameDescriptionTypeAdditional information
PurchaseIncludes

采购单包含乘客列表

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

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": "a7e00769-5fb9-4349-a08c-f2bf7d210999",
      "PurchaseOrderId": "f4efa344-133c-4130-9a47-fb8de9d48a23",
      "PassengerId": "8ab59611-dc9f-48aa-a393-ddb1ed89600b",
      "TicketNumber": "sample string 4"
    },
    {
      "ID": "a7e00769-5fb9-4349-a08c-f2bf7d210999",
      "PurchaseOrderId": "f4efa344-133c-4130-9a47-fb8de9d48a23",
      "PassengerId": "8ab59611-dc9f-48aa-a393-ddb1ed89600b",
      "TicketNumber": "sample string 4"
    }
  ],
  "PurchaseMembers": [
    {
      "Time": "2024-10-22T16:33:00.6492802+08:00",
      "ID": "f59747b2-a9fa-4348-af80-4938cfb1bbd1",
      "PurchaseOrderId": "a1609a83-48c8-41e6-9895-92395b692c60",
      "UserName": "sample string 4",
      "Password": "sample string 5",
      "ContactPhone": "sample string 6",
      "Remarks": "sample string 7",
      "MembersId": "sample string 8"
    },
    {
      "Time": "2024-10-22T16:33:00.6492802+08:00",
      "ID": "f59747b2-a9fa-4348-af80-4938cfb1bbd1",
      "PurchaseOrderId": "a1609a83-48c8-41e6-9895-92395b692c60",
      "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": "2024-10-22T16:33:00.6492802+08:00",
      "ID": "027765ce-04de-45ff-ba40-bf5f603d0fee",
      "PurchaseOrderId": "be4c658a-3248-4cb5-a794-c6eda64491a8",
      "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:33:00.6492802+08:00",
      "ID": "027765ce-04de-45ff-ba40-bf5f603d0fee",
      "PurchaseOrderId": "be4c658a-3248-4cb5-a794-c6eda64491a8",
      "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": "2024-10-22T16:33:00.6492802+08:00",
        "ID": "4a1c4bb7-2f78-4f43-9d82-c77b9ff44584",
        "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": "2024-10-22T16:33:00.6492802+08:00",
      "ID": "e6460ff4-2c2b-4afb-9c65-0c91d6ab624d",
      "PurchaseOrderId": "c50a7eea-a984-49cf-a04a-38074362e019",
      "ApplyType": 0,
      "Remarks": "sample string 5",
      "CSegmentId": "17311db8-7343-4f39-8b43-3f1a9de18ae6",
      "LinkedId": "a747d416-578c-4080-b16a-0c721fdfd029",
      "PassengerIds": "sample string 6"
    },
    {
      "PurchasePayments": {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2024-10-22T16:33:00.6492802+08:00",
        "ID": "4a1c4bb7-2f78-4f43-9d82-c77b9ff44584",
        "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": "2024-10-22T16:33:00.6492802+08:00",
      "ID": "e6460ff4-2c2b-4afb-9c65-0c91d6ab624d",
      "PurchaseOrderId": "c50a7eea-a984-49cf-a04a-38074362e019",
      "ApplyType": 0,
      "Remarks": "sample string 5",
      "CSegmentId": "17311db8-7343-4f39-8b43-3f1a9de18ae6",
      "LinkedId": "a747d416-578c-4080-b16a-0c721fdfd029",
      "PassengerIds": "sample string 6"
    }
  ],
  "RecordType": 0,
  "PaymentUri": "sample string 1",
  "Manual": true,
  "Creater": "sample string 2",
  "Time": "2024-10-22T16:33:00.6492802+08:00",
  "ID": "3d52cc66-e633-49bf-b347-1241072426fd",
  "OrderId": "6f2b3b20-d517-41ad-a0b2-0d5cbd4e8b38",
  "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"
}