POST Api/Service/Order/ManualPurchaseRefund

手动采购单退票询价/确认

Request Information

URI Parameters

None.

Body Parameters

请求模型

SpeedPower.Utility.Models.Project.Orders.Service.Automatic.ManualPurchaseRefundRequestModel
NameDescriptionTypeAdditional information
PurchaseId

采购单ID

globally unique identifier

None.

Confirmed

是否为确认退票操作

boolean

None.

LinkedId

退票单关联ID

globally unique identifier

None.

SettingKey

数据源扩展Key

string

Required

String length: inclusive between 0 and 500

SettingValue

数据源扩展Value

string

Required

PassengerIds

乘机人选择项(为空列表则默认为所有当前采购单乘客)

Collection of globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "PurchaseId": "93ed89d1-cd28-4f2c-85eb-6ee17bbd3ff2",
  "Confirmed": true,
  "LinkedId": "6b87798d-bbef-4f40-9233-f18e7cc723c0",
  "SettingKey": "sample string 3",
  "SettingValue": "sample string 4",
  "PassengerIds": [
    "becbe259-0ae9-49f5-8b21-720348000c2c",
    "fd32685d-824b-4d80-9a54-17395ad86e84"
  ]
}

Response Information

Resource Description

手动采购单退票询价/确认

SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseRefundResponseModel
NameDescriptionTypeAdditional information
ErrorType

错误类型(可为NULL)

SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseRefundErrorType

None.

Request

请求模型返回

SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseRefundRequestModel

None.

PurchaseRefundPayment

财务信息

SpeedPower.Utility.Models.Project.Orders.Service.Automatic.AutoPurchaseRefundPaymentResponseModel

None.

Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorType": 0,
  "Request": {
    "Confirmed": true,
    "FollowupId": "4807a024-c753-4e95-9a34-ad7aefee7f45",
    "LinkedId": "4f5e6a3d-90ad-48b0-9aed-13cb493ee6d3",
    "SettingKey": "sample string 3",
    "SettingValue": "sample string 4",
    "OPassengers": [
      {
        "TicketNumbers": [
          {
            "RecordType": 0,
            "Creater": "sample string 1",
            "Time": "2026-08-09T12:40:07.5132933+08:00",
            "ID": "e7b023a8-1b94-448a-8388-6bfaaba0b269",
            "PassengerId": "ac944337-888c-4693-9648-d47cfb84ced9",
            "TicketNumber": "sample string 5",
            "Posted": true,
            "Remarks": "sample string 7"
          },
          {
            "RecordType": 0,
            "Creater": "sample string 1",
            "Time": "2026-08-09T12:40:07.5132933+08:00",
            "ID": "e7b023a8-1b94-448a-8388-6bfaaba0b269",
            "PassengerId": "ac944337-888c-4693-9648-d47cfb84ced9",
            "TicketNumber": "sample string 5",
            "Posted": true,
            "Remarks": "sample string 7"
          }
        ],
        "OTotalPrices": [
          {
            "Time": "2026-08-09T12:40:07.5132933+08:00",
            "ID": "edd91600-64a1-4610-bdf4-392b308d169a",
            "PassengerId": "e2d788b0-d9a9-48e7-867f-36bf35e97004",
            "Sequence": 1,
            "SalePrice": 4.1,
            "PrintPrice": 5,
            "FareTax": 6,
            "FuelTax": 7,
            "CabinLevel": 0,
            "CabinCode": "sample string 8",
            "ChannelCabinCode": "sample string 9",
            "FixedCabinCode": "sample string 10"
          },
          {
            "Time": "2026-08-09T12:40:07.5132933+08:00",
            "ID": "edd91600-64a1-4610-bdf4-392b308d169a",
            "PassengerId": "e2d788b0-d9a9-48e7-867f-36bf35e97004",
            "Sequence": 1,
            "SalePrice": 4.1,
            "PrintPrice": 5,
            "FareTax": 6,
            "FuelTax": 7,
            "CabinLevel": 0,
            "CabinCode": "sample string 8",
            "ChannelCabinCode": "sample string 9",
            "FixedCabinCode": "sample string 10"
          }
        ],
        "Time": "2026-08-09T12:40:07.5132933+08:00",
        "ID": "427a1e7e-598c-42b0-935e-aba66160ece4",
        "OrderId": "7754a849-cd00-41ec-97ab-550a6885b277",
        "Name": "sample string 4",
        "Birthday": "2026-08-09T12:40:07.5132933+08:00",
        "CardType": 0,
        "CardNo": "sample string 5",
        "SexType": 0,
        "PassengerType": 0,
        "ContactPhone": "sample string 6"
      },
      {
        "TicketNumbers": [
          {
            "RecordType": 0,
            "Creater": "sample string 1",
            "Time": "2026-08-09T12:40:07.5132933+08:00",
            "ID": "e7b023a8-1b94-448a-8388-6bfaaba0b269",
            "PassengerId": "ac944337-888c-4693-9648-d47cfb84ced9",
            "TicketNumber": "sample string 5",
            "Posted": true,
            "Remarks": "sample string 7"
          },
          {
            "RecordType": 0,
            "Creater": "sample string 1",
            "Time": "2026-08-09T12:40:07.5132933+08:00",
            "ID": "e7b023a8-1b94-448a-8388-6bfaaba0b269",
            "PassengerId": "ac944337-888c-4693-9648-d47cfb84ced9",
            "TicketNumber": "sample string 5",
            "Posted": true,
            "Remarks": "sample string 7"
          }
        ],
        "OTotalPrices": [
          {
            "Time": "2026-08-09T12:40:07.5132933+08:00",
            "ID": "edd91600-64a1-4610-bdf4-392b308d169a",
            "PassengerId": "e2d788b0-d9a9-48e7-867f-36bf35e97004",
            "Sequence": 1,
            "SalePrice": 4.1,
            "PrintPrice": 5,
            "FareTax": 6,
            "FuelTax": 7,
            "CabinLevel": 0,
            "CabinCode": "sample string 8",
            "ChannelCabinCode": "sample string 9",
            "FixedCabinCode": "sample string 10"
          },
          {
            "Time": "2026-08-09T12:40:07.5132933+08:00",
            "ID": "edd91600-64a1-4610-bdf4-392b308d169a",
            "PassengerId": "e2d788b0-d9a9-48e7-867f-36bf35e97004",
            "Sequence": 1,
            "SalePrice": 4.1,
            "PrintPrice": 5,
            "FareTax": 6,
            "FuelTax": 7,
            "CabinLevel": 0,
            "CabinCode": "sample string 8",
            "ChannelCabinCode": "sample string 9",
            "FixedCabinCode": "sample string 10"
          }
        ],
        "Time": "2026-08-09T12:40:07.5132933+08:00",
        "ID": "427a1e7e-598c-42b0-935e-aba66160ece4",
        "OrderId": "7754a849-cd00-41ec-97ab-550a6885b277",
        "Name": "sample string 4",
        "Birthday": "2026-08-09T12:40:07.5132933+08:00",
        "CardType": 0,
        "CardNo": "sample string 5",
        "SexType": 0,
        "PassengerType": 0,
        "ContactPhone": "sample string 6"
      }
    ],
    "PaymentAccountSetting": {
      "AutoPaymentAccountConfigs": [
        {
          "ID": "0da9ad2e-74d4-4b7e-ae4b-4188a7569894",
          "AutoPaymentAccountSettingId": "4c21ce17-3a1d-47c0-ae8e-8ab7ef6228b5",
          "SettingKey": "sample string 3",
          "SettingValue": "sample string 4"
        },
        {
          "ID": "0da9ad2e-74d4-4b7e-ae4b-4188a7569894",
          "AutoPaymentAccountSettingId": "4c21ce17-3a1d-47c0-ae8e-8ab7ef6228b5",
          "SettingKey": "sample string 3",
          "SettingValue": "sample string 4"
        }
      ],
      "CompanyId": "sample string 1",
      "LastUsedTime": "2026-08-09T12:40:07.5132933+08:00",
      "Time": "2026-08-09T12:40:07.5132933+08:00",
      "ID": "7887bace-d14b-4073-b594-b11642660ecd",
      "Sequence": 4,
      "PaymentTag": "sample string 5",
      "PaymentCode": "sample string 6",
      "Status": true,
      "Remarks": "sample string 8"
    },
    "MemberSetting": {
      "PurchaseMemberConfigs": {
        "ValidBalance": 1.1,
        "UsedBalance": 2.1,
        "CurrentBalance": 3.1,
        "Time": "2026-08-09T12:40:07.5132933+08:00",
        "ID": "e7129e56-e6d6-4b71-9632-7b806a8bc7f0",
        "Password": "sample string 6",
        "MinBalance": 7.1,
        "MaxBalance": 8.1,
        "Remarks": "sample string 9"
      },
      "PurchaseMemberExpandSettings": [
        {
          "ID": "b5a992cc-43f0-444d-afae-23eee547c2af",
          "PurchaseMemberSettingId": "4184aed5-dd25-4b8c-93b5-be17a83f2953",
          "SettingKey": "sample string 3",
          "SettingValue": "sample string 4"
        },
        {
          "ID": "b5a992cc-43f0-444d-afae-23eee547c2af",
          "PurchaseMemberSettingId": "4184aed5-dd25-4b8c-93b5-be17a83f2953",
          "SettingKey": "sample string 3",
          "SettingValue": "sample string 4"
        }
      ],
      "CompanyId": "sample string 1",
      "LastUsedTime": "2026-08-09T12:40:07.5132933+08:00",
      "Time": "2026-08-09T12:40:07.5132933+08:00",
      "ID": "d79bc341-2015-427b-bff6-181204dc329e",
      "UsedStatus": 0,
      "ProviderCode": "sample string 4",
      "UserName": "sample string 5",
      "Password": "sample string 6",
      "ContactUser": "sample string 7",
      "ContactPhone": "sample string 8",
      "ContactEmail": "sample string 9",
      "KeepTime": 10,
      "Remarks": "sample string 11"
    },
    "OperationTag": {
      "OrderId": "6b5d1f13-b1ad-43d6-b5ff-b2a5e2905ffa",
      "Creater": "sample string 2"
    },
    "PurchaseIncludes": [
      {
        "ID": "35736441-e382-4ed4-b56b-3c12f0e5e81e",
        "PurchaseOrderId": "f0e3a3ff-9d86-4ede-a3fd-cdb31ebcd6bb",
        "PassengerId": "e6dea111-4267-47ac-9449-a53688d2f7a6",
        "TicketNumber": "sample string 4"
      },
      {
        "ID": "35736441-e382-4ed4-b56b-3c12f0e5e81e",
        "PurchaseOrderId": "f0e3a3ff-9d86-4ede-a3fd-cdb31ebcd6bb",
        "PassengerId": "e6dea111-4267-47ac-9449-a53688d2f7a6",
        "TicketNumber": "sample string 4"
      }
    ],
    "PurchaseMembers": [
      {
        "Time": "2026-08-09T12:40:07.5132933+08:00",
        "ID": "33f9d6c8-28d9-4752-a216-ef9232d8045c",
        "PurchaseOrderId": "b7c8852e-0b99-40f2-919f-1a44e153f0d6",
        "UserName": "sample string 4",
        "Password": "sample string 5",
        "ContactPhone": "sample string 6",
        "Remarks": "sample string 7",
        "MembersId": "sample string 8"
      },
      {
        "Time": "2026-08-09T12:40:07.5132933+08:00",
        "ID": "33f9d6c8-28d9-4752-a216-ef9232d8045c",
        "PurchaseOrderId": "b7c8852e-0b99-40f2-919f-1a44e153f0d6",
        "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": "2026-08-09T12:40:07.5132933+08:00",
        "ID": "722acc45-3f2b-4610-b020-21730fe844ac",
        "PurchaseOrderId": "66923139-6f07-4a11-bd42-cfe6e1b87f0b",
        "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": "2026-08-09T12:40:07.5132933+08:00",
        "ID": "722acc45-3f2b-4610-b020-21730fe844ac",
        "PurchaseOrderId": "66923139-6f07-4a11-bd42-cfe6e1b87f0b",
        "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": "2026-08-09T12:40:07.5132933+08:00",
          "ID": "ecdf8edc-c2ac-4ee7-aac1-59533f1b9ec2",
          "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": "2026-08-09T12:40:07.5132933+08:00",
        "ID": "6c393c9a-fca0-478d-8bdb-d36dc2139581",
        "PurchaseOrderId": "18e169db-3eef-403c-9ce7-5852c0419a68",
        "ApplyType": 0,
        "Remarks": "sample string 5",
        "CSegmentId": "97cc0090-e290-41f3-a8fa-65a932f67c44",
        "LinkedId": "95670ee3-adca-4ce5-9e7a-87970c527851",
        "PassengerIds": "sample string 6"
      },
      {
        "PurchasePayments": {
          "RecordType": 0,
          "Creater": "sample string 1",
          "Time": "2026-08-09T12:40:07.5132933+08:00",
          "ID": "ecdf8edc-c2ac-4ee7-aac1-59533f1b9ec2",
          "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": "2026-08-09T12:40:07.5132933+08:00",
        "ID": "6c393c9a-fca0-478d-8bdb-d36dc2139581",
        "PurchaseOrderId": "18e169db-3eef-403c-9ce7-5852c0419a68",
        "ApplyType": 0,
        "Remarks": "sample string 5",
        "CSegmentId": "97cc0090-e290-41f3-a8fa-65a932f67c44",
        "LinkedId": "95670ee3-adca-4ce5-9e7a-87970c527851",
        "PassengerIds": "sample string 6"
      }
    ],
    "RecordType": 0,
    "PaymentUri": "sample string 5",
    "Manual": true,
    "Creater": "sample string 6",
    "Time": "2026-08-09T12:40:07.5132933+08:00",
    "ID": "518feae9-fc28-4a9c-8fbd-bd9852074dc3",
    "OrderId": "782207a3-86aa-46cf-8a4c-10e2a39f94ee",
    "PurchaseOrderNumber": "sample string 10",
    "PurchaseOrderType": 0,
    "TotalPrice": 11.1,
    "PlatName": "sample string 12",
    "PurchaseTag": "sample string 13",
    "ProviderCode": "sample string 14",
    "CabinLevel": 0,
    "CabinCode": "sample string 15",
    "ProductRules": "sample string 16",
    "Remarks": "sample string 17"
  },
  "PurchaseRefundPayment": {
    "ClaimlPrice": 1.1,
    "ServicePrice": 2.1,
    "TransactionId": "sample string 3",
    "Remarks": "sample string 4"
  },
  "Succeed": true,
  "Message": "sample string 2"
}