POST dz_api/Customer/SetWxPhone

设置客户微信相关的手机号码

Request Information

URI Parameters

None.

Body Parameters

请求参数

SetWxPhoneRequest
NameDescriptionTypeAdditional information
Phones

用户手机号码

Collection of CustPhonePari

None.

Request Formats

application/json, text/json

Sample:
{
  "Phones": [
    {
      "CustId": 1,
      "Phone": "sample string 2"
    },
    {
      "CustId": 1,
      "Phone": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<SetWxPhoneRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAa.WebApi.Areas.Customer.Models">
  <Phones xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonAa.Model.Customer">
    <d2p1:CustPhonePari>
      <d2p1:CustId>1</d2p1:CustId>
      <d2p1:Phone>sample string 2</d2p1:Phone>
    </d2p1:CustPhonePari>
    <d2p1:CustPhonePari>
      <d2p1:CustId>1</d2p1:CustId>
      <d2p1:Phone>sample string 2</d2p1:Phone>
    </d2p1:CustPhonePari>
  </Phones>
</SetWxPhoneRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

设置客户微信相关的手机号码

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>