Customer relationship manager
Less than 1 minute
Customer relationship manager
Batch update customer for charge
Description
batch update customer for charge
URI
/wscrm-bus-api/open/customer/setPrincipalAsNull
Request method
POST、Content-Type: application/json
Request params
Attribute | Type | Required | Description |
---|---|---|---|
tenantId | Long | yes | tenant id |
userName | String | yes | user name (login account) |
data | List | yes | data |
token | String | yes | |
createTime | String | yes | request time (yyyy-MM-dd HH:mm:ss) |
data:
Attribute | Type | Required | Description |
---|---|---|---|
- | String | yes | friend whatsapp |
Example request:
{
"tenantId": 1223,
"userName": "yangkun",
"token": "417a22f7713bdaca425a23e7958b51b7",
"createTime": "2023-01-11 13:48:33",
"data": [919161506154]
}
Response data
Attribute Type Required Description code int yes code message String no Description data String no data data:
Attribute Type Required Description isAllOk Boolean yes Whether all updates were successful total int yes whatsapp total successWhatsIds List<String> yes success whatsId failWhatsIds List<String> yes error whatsId
Example:
{
"code": 200,
"message": "Success",
"data": {
"isAllOk": true,
"total": 1,
"successWhatsIds": ["919161506154"],
"failWhatsIds": []
}
}