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": "846be3de-3fe9-4aa2-99a0-6267f3050f8b",
      "PurchaseOrderId": "111965d0-8310-4120-acdd-cc6536e44c13",
      "PassengerId": "d63c009e-09f6-401c-be27-96bb0c590bee",
      "TicketNumber": "sample string 4"
    },
    {
      "ID": "846be3de-3fe9-4aa2-99a0-6267f3050f8b",
      "PurchaseOrderId": "111965d0-8310-4120-acdd-cc6536e44c13",
      "PassengerId": "d63c009e-09f6-401c-be27-96bb0c590bee",
      "TicketNumber": "sample string 4"
    }
  ],
  "PurchaseCallBacks": [
    {
      "Creater": "sample string 1",
      "Time": "2024-10-22T16:33:59.9939394+08:00",
      "ID": "da540dba-4612-4dd9-be46-f57e7e99c0ae",
      "PurchaseOrderId": "291739b8-1434-404a-b910-71b47bebcb5d",
      "Status": 1,
      "Remarks": "sample string 5"
    },
    {
      "Creater": "sample string 1",
      "Time": "2024-10-22T16:33:59.9939394+08:00",
      "ID": "da540dba-4612-4dd9-be46-f57e7e99c0ae",
      "PurchaseOrderId": "291739b8-1434-404a-b910-71b47bebcb5d",
      "Status": 1,
      "Remarks": "sample string 5"
    }
  ],
  "PurchaseMembers": [
    {
      "Time": "2024-10-22T16:33:59.9939394+08:00",
      "ID": "4ee47b5b-698c-4a91-b603-68790ad76f8a",
      "PurchaseOrderId": "c7c5db67-9d3c-4e97-ba32-192ba8c84d23",
      "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:59.9939394+08:00",
      "ID": "4ee47b5b-698c-4a91-b603-68790ad76f8a",
      "PurchaseOrderId": "c7c5db67-9d3c-4e97-ba32-192ba8c84d23",
      "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:59.9939394+08:00",
      "ID": "cc760206-d54d-41ba-93d3-2bf6a00ee570",
      "PurchaseOrderId": "a0083906-2489-4d56-8b62-e5a759db3b16",
      "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:59.9939394+08:00",
      "ID": "cc760206-d54d-41ba-93d3-2bf6a00ee570",
      "PurchaseOrderId": "a0083906-2489-4d56-8b62-e5a759db3b16",
      "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:59.9939394+08:00",
        "ID": "b444cbfe-2bbb-4390-ad53-de18b19b3c91",
        "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:59.9939394+08:00",
      "ID": "d0d56226-8f3b-4b60-a2e9-f7a2e0c7ebd0",
      "PurchaseOrderId": "7cb7649d-9cd1-48d3-b3fc-fbb1228076cb",
      "ApplyType": 0,
      "Remarks": "sample string 5",
      "CSegmentId": "f0d85530-4dd5-44a7-bbfc-bc14697457c8",
      "LinkedId": "04260a22-f6c3-4ec9-a65f-2b6c3a4d1799",
      "PassengerIds": "sample string 6"
    },
    {
      "PurchasePayments": {
        "RecordType": 0,
        "Creater": "sample string 1",
        "Time": "2024-10-22T16:33:59.9939394+08:00",
        "ID": "b444cbfe-2bbb-4390-ad53-de18b19b3c91",
        "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:59.9939394+08:00",
      "ID": "d0d56226-8f3b-4b60-a2e9-f7a2e0c7ebd0",
      "PurchaseOrderId": "7cb7649d-9cd1-48d3-b3fc-fbb1228076cb",
      "ApplyType": 0,
      "Remarks": "sample string 5",
      "CSegmentId": "f0d85530-4dd5-44a7-bbfc-bc14697457c8",
      "LinkedId": "04260a22-f6c3-4ec9-a65f-2b6c3a4d1799",
      "PassengerIds": "sample string 6"
    }
  ],
  "RecordType": 0,
  "PaymentUri": "sample string 1",
  "Manual": true,
  "Creater": "sample string 2",
  "Time": "2024-10-22T16:33:59.9939394+08:00",
  "ID": "224abb3d-4262-424d-b041-255354ab2fa7",
  "OrderId": "22e075c8-0b18-4319-83a7-c5cc5005cb86",
  "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"
}