POST Api/Service/Member/UpdatePurchaseMemberSetting

更新采购账户项

Request Information

URI Parameters

None.

Body Parameters

设置模型

SpeedPower.Utility.Models.Project.Orders.Service.Setting.UpdatePurchaseMemberSettingModel
NameDescriptionTypeAdditional information
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

Request Formats

application/json, text/json

Sample:
{
  "ID": "96dc0c2e-3b21-400d-8317-553539f021bc",
  "UsedStatus": 0,
  "ProviderCode": "sample string 2",
  "UserName": "sample string 3",
  "Password": "sample string 4",
  "ContactUser": "sample string 5",
  "ContactPhone": "sample string 6",
  "ContactEmail": "sample string 7",
  "KeepTime": 8,
  "Remarks": "sample string 9"
}

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"
}