and more in a single search tool across platforms. Read the announcement here. |
02/14/2024 08:47 AM
Hi All,
I am creating zoom account via zoom connection. I see the zoom account is created for the user but account status is "null", what does this mean. I have never seen this null status till now. Is anything needs to changes in create account json and will this impact anything because we can see this user in zoom application as well.
Create Account Json-
{
"accountIdPath": "call1.message.id",
"dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
"responseColsToPropsMap": {
"displayName": "call1.message.first_name~#~char",
"name": "call1.message.email~#~char",
"customproperty1": "call1.message.first_name~#~char",
"customproperty2": "call1.message.last_name~#~char",
"customproperty3": "call1.message.type~#~char"
},
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://api.zoom.us/v2/users",
"httpMethod": "POST",
"httpParams": "{\"action\":\"custCreate\",\"user_info\":{\"email\":\"${user.email}\",\"first_name\":\"${user.firstname}\",\"last_name\":\"${user.lastname}\",\"type\":1 }}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
201
]
}
}
]
}
Thanks
shwet
Solved! Go to Solution.
02/14/2024 10:50 AM
Hi @Shwet01 , use this :
{
"accountIdPath": "call1.message.id",
"dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
"responseColsToPropsMap": {
"displayName": "call1.message.first_name~#~char",
"name": "call1.message.email~#~char",
"customproperty1": "call1.message.first_name~#~char",
"customproperty2": "call1.message.last_name~#~char",
"customproperty3": "call1.message.type~#~char",
"status": "#CONST#1~#~char"
},
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://api.zoom.us/v2/users",
"httpMethod": "POST",
"httpParams": "{\"action\":\"custCreate\",\"user_info\":{\"email\":\"${user.email}\",\"first_name\":\"${user.firstname}\",\"last_name\":\"${user.lastname}\",\"type\":1 }}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
201
]
}
}
]
}
If you can update status in API call while creating user in Zoom that will also work. If API doesn't support it then use above method.
Br, Amit
If helped, Please ACCEPT SOLUTION and give KUDOS.
02/14/2024 08:39 PM
{
"accountIdPath": "call1.message.id",
"dateFormat": "yyyy-MM-dd'T'HH:mm:ssXXX",
"responseColsToPropsMap": {
"displayName": "call1.message.first_name~#~char",
"name": "call1.message.email~#~char",
"customproperty1": "call1.message.first_name~#~char",
"customproperty2": "call1.message.last_name~#~char",
"customproperty3": "call1.message.type~#~char",
"status": "#CONST#Manually Provisioned~#~char"
},
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://api.zoom.us/v2/users",
"httpMethod": "POST",
"httpParams": "{\"action\":\"custCreate\",\"user_info\":{\"email\":\"${user.email}\",\"first_name\":\"${user.firstname}\",\"last_name\":\"${user.lastname}\",\"type\":1 }}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
201
]
}
}
]
}