Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Getting null status in account when zoom account is getting created

Shwet01
Regular Contributor
Regular Contributor

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.

Shwet01_0-1707929060927.png

 

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

2 REPLIES 2

AmitM
Valued Contributor
Valued Contributor

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.

rushikeshvartak
All-Star
All-Star

{
"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
]
}
}
]
}

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.