POST Api/Service/Member/AddPurchaseMemberIntactSetting

添加采购账户完整项

Request Information

URI Parameters

None.

Body Parameters

设置模型

SpeedPower.Utility.Models.Project.Orders.Service.Setting.IntactPurchaseMemberSettingModel
NameDescriptionTypeAdditional information
PurchaseMemberConfigs

金融账户设置项

SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddPurchaseMemberConfigModel

None.

PurchaseMemberExpandSettings

扩展参数设置项

Collection of SpeedPower.Utility.Models.Project.Orders.Service.Setting.AddPurchaseMemberExpandSettingModel

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

Request Formats

application/json, text/json

Sample:
{
  "PurchaseMemberConfigs": {
    "ID": "53e78da8-1036-4ea4-848f-a7230e90af6c",
    "Password": "sample string 2",
    "MinBalance": 3.1,
    "MaxBalance": 4.1,
    "Remarks": "sample string 5"
  },
  "PurchaseMemberExpandSettings": [
    {
      "PurchaseMemberSettingId": "80f877cb-8b93-4aba-8dbb-98965af324f8",
      "SettingKey": "sample string 2",
      "SettingValue": "sample string 3"
    },
    {
      "PurchaseMemberSettingId": "80f877cb-8b93-4aba-8dbb-98965af324f8",
      "SettingKey": "sample string 2",
      "SettingValue": "sample string 3"
    }
  ],
  "ProviderCode": "sample string 1",
  "UserName": "sample string 2",
  "Password": "sample string 3",
  "ContactUser": "sample string 4",
  "ContactPhone": "sample string 5",
  "ContactEmail": "sample string 6",
  "KeepTime": 7,
  "Remarks": "sample string 8"
}

Response Information

Resource Description

添加采购账户完整项

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}