Android / Anypoint Platform APIs / Get exchange automated policies for environment
Back to Collection Items
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Text.StringBuilder.ToString()
at System.IO.StreamReader.ReadToEnd()
at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
at System.IO.File.ReadAllText(String path)
at ChilkatApi.GenBase.ApiDefData(String className)
at ChilkatApi.XClass.LoadClass(String className, Log log)
at ChilkatApi.ApiCache.getApiClass(String className, Log log)
at ChilkatApi.ApiCache.getApiProperty(String className, String propName, Log log)
at ChilkatCode.CodeGen.getXProp(String className, String propName)
at ChilkatCode.CodeGen.getPropType(String varName, String propName)
at ChilkatCode.CodeGen.emitAssignment(String varName, String propName, String op, 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 sbHtmlOut)
Curl Command
curl -G -d "environmentId=%7B%7Benvironment_id%7D%7D"
-H "Authorization: Bearer {{token}}"
https://domain.com/apimanager/xapi/v1/organizations/{{organization_id}}/automated-policies
Postman Collection Item JSON
{
"name": "Get exchange automated policies for environment",
"request": {
"method": "GET",
"header": [
{
"key": "Authorization",
"value": "Bearer {{token}}",
"type": "text"
}
],
"url": {
"raw": "{{url}}/apimanager/xapi/v1/organizations/{{organization_id}}/automated-policies?environmentId={{environment_id}}",
"host": [
"{{url}}"
],
"path": [
"apimanager",
"xapi",
"v1",
"organizations",
"{{organization_id}}",
"automated-policies"
],
"query": [
{
"key": "environmentId",
"value": "{{environment_id}}"
}
]
}
},
"response": [
]
}