GET Api/Service/Order/GetPurchaseOrderShowById/{PurchaseId}
获取采购单详细展示结构信息
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PurchaseId |
采购单ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
获取采购单详细展示结构信息
SpeedPower.Utility.Models.Project.Orders.Service.ParentPurchaseOrderModelName | Description | Type | Additional 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": "59498c6d-94df-491e-9bd9-ffeab0822209", "PurchaseOrderId": "f0271b61-3fca-4a7e-b33c-b93bde69585c", "PassengerId": "30d99a9e-14e8-4354-b9ac-0e8d5af2f912", "TicketNumber": "sample string 4" }, { "ID": "59498c6d-94df-491e-9bd9-ffeab0822209", "PurchaseOrderId": "f0271b61-3fca-4a7e-b33c-b93bde69585c", "PassengerId": "30d99a9e-14e8-4354-b9ac-0e8d5af2f912", "TicketNumber": "sample string 4" } ], "PurchaseCallBacks": [ { "Creater": "sample string 1", "Time": "2025-10-21T07:20:53.1140249+08:00", "ID": "95be2438-65a8-45b4-b2f0-bcbfe0830a6c", "PurchaseOrderId": "6b5b7181-1d2f-4a57-bdc9-2aec445eaac0", "Status": 1, "Remarks": "sample string 5" }, { "Creater": "sample string 1", "Time": "2025-10-21T07:20:53.1140249+08:00", "ID": "95be2438-65a8-45b4-b2f0-bcbfe0830a6c", "PurchaseOrderId": "6b5b7181-1d2f-4a57-bdc9-2aec445eaac0", "Status": 1, "Remarks": "sample string 5" } ], "PurchaseMembers": [ { "Time": "2025-10-21T07:20:53.1140249+08:00", "ID": "25ec1a43-9166-4709-a180-8ba739ab20c4", "PurchaseOrderId": "572f96ad-cb9d-44b0-8518-cf579dc9bb51", "UserName": "sample string 4", "Password": "sample string 5", "ContactPhone": "sample string 6", "Remarks": "sample string 7", "MembersId": "sample string 8" }, { "Time": "2025-10-21T07:20:53.1140249+08:00", "ID": "25ec1a43-9166-4709-a180-8ba739ab20c4", "PurchaseOrderId": "572f96ad-cb9d-44b0-8518-cf579dc9bb51", "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-10-21T07:20:53.1140249+08:00", "ID": "cdb71bab-2dcb-4476-a489-ab4d0b0c644d", "PurchaseOrderId": "61b5947f-9766-4cee-93f1-f5fdba866834", "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-10-21T07:20:53.1140249+08:00", "ID": "cdb71bab-2dcb-4476-a489-ab4d0b0c644d", "PurchaseOrderId": "61b5947f-9766-4cee-93f1-f5fdba866834", "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-10-21T07:20:53.1140249+08:00", "ID": "a9f6d598-1f5d-4d04-8e1a-2e3e4ab5966c", "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-10-21T07:20:53.1140249+08:00", "ID": "4558a96c-2a8e-4e21-9bc0-5696f1dfcf4e", "PurchaseOrderId": "5163ad30-7703-4edb-9a67-85292a84a0c2", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "ef788046-6a48-4a52-92f3-7b06cae579af", "LinkedId": "9ec89c17-d7d4-4cb3-a6d6-10daf9464a64", "PassengerIds": "sample string 6" }, { "PurchasePayments": { "RecordType": 0, "Creater": "sample string 1", "Time": "2025-10-21T07:20:53.1140249+08:00", "ID": "a9f6d598-1f5d-4d04-8e1a-2e3e4ab5966c", "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-10-21T07:20:53.1140249+08:00", "ID": "4558a96c-2a8e-4e21-9bc0-5696f1dfcf4e", "PurchaseOrderId": "5163ad30-7703-4edb-9a67-85292a84a0c2", "ApplyType": 0, "Remarks": "sample string 5", "CSegmentId": "ef788046-6a48-4a52-92f3-7b06cae579af", "LinkedId": "9ec89c17-d7d4-4cb3-a6d6-10daf9464a64", "PassengerIds": "sample string 6" } ], "RecordType": 0, "PaymentUri": "sample string 1", "Manual": true, "Creater": "sample string 2", "Time": "2025-10-21T07:20:53.1140249+08:00", "ID": "51198126-7a55-46d2-908f-31fba6a8b051", "OrderId": "548fbd1a-bfb5-4eed-9599-0dade79a692f", "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" }