Platform O&M/Cloud Monitoring/Monitoring and Alarm/SNS/SNS Operations
POSTSNS OperationsSince 2.3SynchronousAuth Required
AddSNSDingTalkAtPerson
AddSNSDingTalkAtPerson
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
phoneNumberStringRequiredThe phone number of the DingTalk user. (Users register DingTalk with their phone numbers.)
endpointUuidStringRequiredThe UUID of the DingTalk endpoint.
resourceUuidStringOptional.
tagUuidListOptional. The tag uuid list.
remarkStringOptional. The remark.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/sns/application-endpoints/ding-talk/at-persons
/zstack/v1/sns/application-endpoints/ding-talk/at-persons
Request Example
curl -X POST 'http://{host}/zstack/v1/sns/application-endpoints/ding-talk/at-persons' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"phoneNumber":"<phoneNumber>","endpointUuid":"<endpointUuid>","resourceUuid":"<resourceUuid>","tagUuid":["<tagUuid>"],"remark":"<remark>"},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "uuid": "af3c83c835234d11b1afe022e85d67ec", "phoneNumber": "18988887777", "endpointUuid": "7b9b311a1a6c445bbe48c02b52f91ef6", "createDate": "Dec 25, 2023 2:07:43 PM", "lastOpDate": "Dec 25, 2023 2:07:43 PM", "remark": "jack" } }Change History
This API has no change history records yet.
