REST Google Apps Import Account Access JSON
{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty21",
"activeStatus": [
"false"
],
"deleteLinks": true,
"accountThresholdValue": 100,
"correlateInactiveAccounts": true,
"inactivateAccountsNotInFile": false,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://admin.googleapis.com/admin/directory/v1/users?projection=full&customer=C01cjfwbp",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "users",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "primaryEmail~#~char",
"displayname": "name.fullName~#~char",
"status": "suspended~#~char",
"customproperty6": "creationTime~#~char",
"customproperty15": "lastLoginTime~#~char",
"customproperty4": "customerId~#~char",
"customproperty5": "deletionTime~#~char",
"customproperty30": "primaryEmail~#~char",
"customproperty8": "externalIds~#~char",
"customproperty9": "includeInGlobalAddressList~#~char",
"customproperty10": "ipWhitelisted~#~char",
"customproperty11": "isAdmin~#~boolean",
"customproperty12": "isDelegatedAdmin~#~char",
"customproperty13": "isMailboxSetup~#~char",
"customproperty14": "kind~#~char",
"customproperty16": "notes~#~char",
"customproperty17": "orgUnitPath~#~char",
"customproperty21": "suspended~#~char",
"customproperty22": "suspensionReason~#~char",
"customproperty23": "websites~#~char",
"customproperty36": "customSchemas.BXS_Extra.SSOEMPID~#~char",
"customproperty27": "name.givenName~#~char",
"customproperty28": "name.familyName~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.nextPageToken ? 'https://admin.googleapis.com/admin/directory/v1/users?projection=full&customer=C01cjfwbp&pageToken=' + response.completeResponseMap.nextPageToken : null}"
}
}
}
}
},
"entitlementParams": {
"processingType": "SequentialAndIterative",
"entTypes": {
"GoogleGroup": {
"entTypeOrder": 0,
"call": {
"call1": {
"connection": "userAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://admin.googleapis.com/admin/directory/v1/groups?customer=C01cjfwbp",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "groups",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "id~#~char",
"entitlement_value": "email~#~char",
"displayname": "name~#~char",
"customproperty1": "directMembersCount~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.nextPageToken ? 'https://admin.googleapis.com/admin/directory/v1/groups?customer=C01cjfwbp&pageToken=' + response.completeResponseMap.nextPageToken : null}"
}
}
}
}
}
}
},
"acctEntParams": {
"connection": "userAuth",
"entTypes": {
"GoogleGroup": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://admin.googleapis.com/admin/directory/v1/groups/${id}/members",
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"listField": "members",
"entKeyField": "entitlementID",
"acctIdPath": "id",
"acctKeyField": "accountID",
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.nextPageToken ?
'https://admin.googleapis.com/admin/directory/v1/groups/'+id+'/members?pageToken='+
response.completeResponseMap.nextPageToken : null}"
}
}
}
}
}
}
}
}
Comments
Post a Comment