Back to Collection Items
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
loHttp = createobject("CkHttp")
// Adds the "Authorization: Bearer <access_token>" header.
loHttp.AuthToken = "<access_token>"
loSbResponseBody = createobject("CkStringBuilder")
llSuccess = loHttp.QuickGetSb("https://<tenant-name>.forgeblocks.com/openidm/managed/alpha_user/:_id",loSbResponseBody)
if (llSuccess = .F.) then
? loHttp.LastErrorText
release loHttp
release loSbResponseBody
return
endif
? "Response status code = " + str(loHttp.LastStatus)
? loSbResponseBody.GetAsString()
release loHttp
release loSbResponseBody
Curl Command
curl -X GET
-H "Authorization: Bearer <access_token>"
https://<tenant-name>.forgeblocks.com/openidm/managed/alpha_user/:_id
Postman Collection Item JSON
{
"name": "Step 2: Get a Managed Identity",
"request": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{platformUrl}}/openidm/managed/alpha_user/:_id",
"host": [
"{{platformUrl}}"
],
"path": [
"openidm",
"managed",
"alpha_user",
":_id"
],
"query": [
{
"key": "_fields",
"value": "",
"description": "Optional parameter containing a comma separated list of field references specifying which fields of the targeted JSON resource should be returned.",
"disabled": true
}
],
"variable": [
{
"key": "_id",
"value": "{{managedUserId}}"
}
]
}
},
"response": [
{
"name": "Success",
"originalRequest": {
"method": "GET",
"header": [
{
"description": "(Required) ",
"key": "Accept-API-Version",
"value": "<string>"
}
],
"url": {
"raw": "{{baseUrl}}/openidm/managed/user#1.0_query_filter?_fields=&_prettyPrint=true&_queryFilter=<string>&_pageSize=<integer>&_totalPagedResultsPolicy=<string>&_sortKeys=<string>",
"host": [
"{{baseUrl}}"
],
"path": [
"openidm",
"managed",
"user"
],
"hash": "1.0_query_filter?_fields=&_prettyPrint=true&_queryFilter=<string>&_pageSize=<integer>&_totalPagedResultsPolicy=<string>&_sortKeys=<string>"
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "*/*"
}
],
"cookie": [
],
"body": ""
}
]
}