Go / CleverTap API / Get User Profiles Using Cursor
Back to Collection Items
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at System.Runtime.InteropServices.Marshal.StringToHGlobalUni(String s)
at Chilkat.CkMarshal.StringToX(String s, XString* x)
at Chilkat.Xml_Ref.html">Xml.LoadXml(String xmlData)
at ChilkatApi.XClass.LoadClass(String className, Log_Ref.html">Log log)
at ChilkatApi.ApiCache.getApiClass(String className, Log_Ref.html">Log log)
at ChilkatApi.ApiCache.getApiMethod(String className, String methodName, Log_Ref.html">Log log)
at ChilkatCode.CodeGen.getXEntry(String className, String entryName)
at ChilkatCode.CodeGen.getEntryType(String varName, String entryName)
at ChilkatCode.Parser.objectAccess(String varName, Xml_Ref.html">Xml xml)
at ChilkatCode.Parser.varAccess(Xml_Ref.html">Xml xml)
at ChilkatCode.Parser.primaryExpression(Xml_Ref.html">Xml xml)
at ChilkatCode.Parser.unaryExpression(Xml_Ref.html">Xml xml)
at ChilkatCode.Parser.multiplicativeExpression(Xml_Ref.html">Xml xml)
at ChilkatCode.Parser.additiveExpression(Xml_Ref.html">Xml xml)
at ChilkatCode.Parser.relationalExpression(Xml_Ref.html">Xml xml)
at ChilkatCode.Parser.equalityExpression(Xml_Ref.html">Xml xml)
at ChilkatCode.Parser.andExpression(Xml_Ref.html">Xml xml)
at ChilkatCode.Parser.expression(Xml_Ref.html">Xml xml)
at ChilkatCode.Parser.assignment()
at ChilkatCode.Parser.statement()
at ChilkatCode.Parser.Chilkat()
at ChilkatCode.Parser.Parse()
at ChilkatCode.Compile.CompileForToolsIO(String srcCode, String langHashKey, StringBuilder_Ref.html">StringBuilder sbHtmlOut)
Curl Command
curl -G -d "cursor=%7B%7Bcursor%7D%7D"
-H "X-CleverTap-Account-Id: {{id}}"
-H "X-CleverTap-Passcode: {{passcode}}"
-H "Content-Type: {{type}}"
https://api.clevertap.com/1/profiles.json
Postman Collection Item JSON
{
"name": "Get User Profiles Using Cursor",
"event": [
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
"var result = JSON.parse(responseBody);",
"pm.globals.set(\"cursor\",result.next_cursor);"
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "X-CleverTap-Account-Id",
"value": "{{id}}"
},
{
"key": "X-CleverTap-Passcode",
"value": "{{passcode}}"
},
{
"key": "Content-Type",
"value": "{{type}}"
}
],
"url": {
"raw": "https://api.clevertap.com/1/profiles.json?cursor={{cursor}}",
"protocol": "https",
"host": [
"api",
"clevertap",
"com"
],
"path": [
"1",
"profiles.json"
],
"query": [
{
"key": "cursor",
"value": "{{cursor}}"
}
]
},
"description": "Get User Profile API Step 2"
},
"response": [
]
}