GET Api/Invoke/GetApplicablePurchasingMember/{CompanyId}/{ProviderCode}/{TotalPrice}
获取一个有效适用金融采购账户
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId |
公司ID |
string |
Required |
| ProviderCode |
数据源代码 |
string |
Required |
| TotalPrice |
订单总价(这个仅适用金融账户)可为0 |
decimal number |
Required |
Body Parameters
None.
Response Information
Resource Description
获取一个有效适用金融采购账户
SpeedPower.Utility.Models.Project.Orders.Service.Setting.ParentPurchaseMemberSettingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PurchaseMemberConfigs |
金融账户设置项 |
SpeedPower.Utility.Models.Project.Orders.Service.Setting.GetPurchaseMemberConfigModel |
None. |
| PurchaseMemberExpandSettings |
扩展参数设置项 |
Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.GetPurchaseMemberExpandSettingModel |
None. |
| CompanyId |
公司ID |
string |
Required String length: inclusive between 0 and 128 |
| LastUsedTime |
最后使用时间(可能为NULL) |
date |
None. |
| Time |
添加时间 |
date |
None. |
| ID |
设置ID |
globally unique identifier |
None. |
| UsedStatus |
账户状态 |
SpeedPower.Utility.Models.Untility.Datas.Enums.UsedStatusType |
None. |
| ProviderCode |
采购数据源代码 |
string |
Required String length: inclusive between 0 and 20 |
| UserName |
用户名 |
string |
Required String length: inclusive between 0 and 200 |
| Password |
密码 |
string |
Required String length: inclusive between 0 and 200 |
| ContactUser |
联系人 |
string |
Required String length: inclusive between 0 and 200 |
| ContactPhone |
联系电话 |
string |
Required String length: inclusive between 0 and 200 |
| ContactEmail |
联系邮箱 |
string |
String length: inclusive between 0 and 200 |
| KeepTime |
使用间隔时间 |
integer |
None. |
| Remarks |
备注内容 |
string |
String length: inclusive between 0 and 500 |
Response Formats
application/json, text/json
Sample:
{
"PurchaseMemberConfigs": {
"ValidBalance": 1.1,
"UsedBalance": 2.1,
"CurrentBalance": 3.1,
"Time": "2025-11-01T21:46:48.4807893+08:00",
"ID": "4b2c3913-879b-498a-96c6-715b296555b8",
"Password": "sample string 6",
"MinBalance": 7.1,
"MaxBalance": 8.1,
"Remarks": "sample string 9"
},
"PurchaseMemberExpandSettings": [
{
"ID": "d027f1ac-55cc-4ccd-a84d-eb6201e2fe1f",
"PurchaseMemberSettingId": "3dbe2062-e6a2-48f6-a41a-92b223ca9509",
"SettingKey": "sample string 3",
"SettingValue": "sample string 4"
},
{
"ID": "d027f1ac-55cc-4ccd-a84d-eb6201e2fe1f",
"PurchaseMemberSettingId": "3dbe2062-e6a2-48f6-a41a-92b223ca9509",
"SettingKey": "sample string 3",
"SettingValue": "sample string 4"
}
],
"CompanyId": "sample string 1",
"LastUsedTime": "2025-11-01T21:46:48.4807893+08:00",
"Time": "2025-11-01T21:46:48.4807893+08:00",
"ID": "55cafb3d-9529-4bb9-a104-fddaa8d9d71e",
"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"
}