PUT api/customers/{id}

更新客户的信息

请求信息

URI 参数

NameDescriptionTypeAdditional information
id

integer

Required

Body 请求体 参数

UpdateCustomerInfoDto
NameDescriptionTypeAdditional information
name

string

None.

tel

string

None.

rsex

integer

None.

rborn

date

None.

height

integer

None.

weight

integer

None.

issmoke

integer

None.

hasss

integer

None.

certclass

integer

None.

certid

integer

None.

areaid

integer

None.

raddress

string

None.

memo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "tel": "sample string 2",
  "rsex": 3,
  "rborn": "2024/10/19 08:49:41",
  "height": 5,
  "weight": 6,
  "issmoke": 7,
  "hasss": 8,
  "certclass": 9,
  "certid": 10,
  "areaid": 11,
  "raddress": "sample string 12",
  "memo": "sample string 13"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

image/png

Sample:

Sample not available.

image/jpg

Sample:

Sample not available.

响应消息

内容 描述

CxccApiMsg
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

响应示例

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2"
}

image/png

Sample:

Sample not available.

image/jpg

Sample:

Sample not available.