Skip to content

Solution

Solution module is a place where we you can find the solutions for issues & problems.

Attributes

id (long)
Unique identifier to identify the solution

id (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

title (string)
Unique name to identify solution 

title (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

description (html)
Content of the solution

description (html)
HTML is a text area where html elements can be used.

Example

<b>The content to be displayed</b>

topic (topic)
Indicates the topic of the solution 

topic (topic)
Indicates the topic of the solution

Example

{
  "topic": {
    "name": "test-topic-name",
    "id": "100000000000033225"
  }
}

keywords (string)
Indicates keywords that belongs to the solutions

keywords (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

is_public (boolean)
Indicates whether the solution can be visible to requesters or not

is_public (boolean)
Boolean value which can have two possible values. The values are true and false.

More Attributes Expand all

review_date (date)

Indicate the date when the solution has to be reviewed

review_date (date)
Represents a date as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

expiry_date (date)

Indicate the date when the solution has to expire

expiry_date (date)
Represents a date as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

operation_comment (string)

Indicate the comment that has to show in history when the solution is added/modified.

operation_comment (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

reset_ratings (boolean)

Indicate whether likes & dislikes count of the solution has to reset or not

reset_ratings (boolean)
Boolean value which can have two possible values. The values are true and false.

has_user_group (boolean)

Indicate whether the solution has user groups

has_user_group (boolean)
Boolean value which can have two possible values. The values are true and false.

approval_status (solution_status)

Indicates the status of the solution 1. UnApproved2. Approved3. Approval Pending4. Rejected5. Expired

approval_status (solution_status)
Indicates the approval status of the solution

Example

{
  "solution_status": {
    "name": "UnApproved",
    "id": "100000000000033155"
  }
}

attachments (attachment)

Files that are attached to the solution. A maximum of 50 files can be attached to the solution

attachments (attachment)
Files that are attached to the solution

Example

{
  "attachments": [
    {
      "content_type": "application/x-unknown-mime-type",
      "size": "36171",
      "file_id": "4001",
      "name": "test_file.txt"
    }
  ]
}

user_group_mapping (user_group)

Indicate the user groups that can access the solution

user_group_mapping (user_group)
Indicate the user groups that can access the solution

Example

{
  "user_group_mapping": [
    {
      "name": "User group 1",
      "id": "1000000000000224445"
    }
  ]
}

udf_fields (udf_fields)

Holds user defined fields’ values associated with the solution

udf_fields (udf_fields)
Holds user defined fields’ values associated with the solution

Example

{
  "udf_fields": {
    "udf_long2": "1459402730964",
    "udf_long1": "1225",
    "udf_date1": {
      "display_value": "Feb 26, 2016 11:00 AM",
      "value": "1456464639051"
    },
    "udf_char1": "abc@test.com",
    "udf_char2": "test char"
  }
}

display_id (sequence_number)read only

unique sequence number to identify the solution

display_id (sequence_number)
Sequence number of the solution

Example

{
  "display_id": {
    "display_value": "SOL-1",
    "value": "1"
  }
}

likes (long)read only

Indicates likes count of the solution 

likes (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

dislikes (long)read only

Indicates dislikes count of the solution 

dislikes (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

created_time (datetime)read only

Indicate the time when the solution was created

created_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

last_updated_time (datetime)read only

Indicate the time when the solution was updated last time

last_updated_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

created_by (user)read only

Indicates the user who created the solution

created_by (user)
Indicates the user who created the solution

Example

{
  "created_by": {
    "email_id": "test_user@zmail.com",
    "name": "test_user",
    "id": "234567890123456"
  }
}

last_updated_by (user)read only

Indicates the user who updated the solution last time

last_updated_by (user)
Indicates the user who updated the solution last time

Example

{
  "last_updated_by": {
    "email_id": "test_user@zmail.com",
    "name": "test_user",
    "id": "234567890123456"
  }
}

no_of_hits (long)read only

Views count of the solution 

no_of_hits (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

private_comment_count (long)read only

Indicates the private comment count for the solution

private_comment_count (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

public_comment_count (long)read only

Indicates the public comment count for the solution

public_comment_count (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

Add Solution

This operation allows you to create a new solution

Mandatory Fields :- title, description, topic

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions

Attributes

id (long)
Unique identifier to identify the solution

id (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

title (string)
Unique name to identify solution 

title (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

description (html)
Content of the solution

description (html)
HTML is a text area where html elements can be used.

Example

<b>The content to be displayed</b>

topic (topic)
Indicates the topic of the solution 

topic (topic)
Indicates the topic of the solution

Example

{
  "topic": {
    "name": "test-topic-name",
    "id": "100000000000033225"
  }
}

keywords (string)
Indicates keywords that belongs to the solutions

keywords (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

is_public (boolean)
Indicates whether the solution can be visible to requesters or not

is_public (boolean)
Boolean value which can have two possible values. The values are true and false.

More Attributes Expand all

review_date (date)

Indicate the date when the solution has to be reviewed

review_date (date)
Represents a date as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

expiry_date (date)

Indicate the date when the solution has to expire

expiry_date (date)
Represents a date as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

operation_comment (string)

Indicate the comment that has to show in history when the solution is added/modified.

operation_comment (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

reset_ratings (boolean)

Indicate whether likes & dislikes count of the solution has to reset or not

reset_ratings (boolean)
Boolean value which can have two possible values. The values are true and false.

has_user_group (boolean)

Indicate whether the solution has user groups

has_user_group (boolean)
Boolean value which can have two possible values. The values are true and false.

approval_status (solution_status)

Indicates the status of the solution 1. UnApproved2. Approved3. Approval Pending4. Rejected5. Expired

approval_status (solution_status)
Indicates the approval status of the solution

Example

{
  "solution_status": {
    "name": "UnApproved",
    "id": "100000000000033155"
  }
}

attachments (attachment)

Files that are attached to the solution. A maximum of 50 files can be attached to the solution

attachments (attachment)
Files that are attached to the solution

Example

{
  "attachments": [
    {
      "content_type": "application/x-unknown-mime-type",
      "size": "36171",
      "file_id": "4001",
      "name": "test_file.txt"
    }
  ]
}

user_group_mapping (user_group)

Indicate the user groups that can access the solution

user_group_mapping (user_group)
Indicate the user groups that can access the solution

Example

{
  "user_group_mapping": [
    {
      "name": "User group 1",
      "id": "1000000000000224445"
    }
  ]
}

udf_fields (udf_fields)

Holds user defined fields’ values associated with the solution

udf_fields (udf_fields)
Holds user defined fields’ values associated with the solution

Example

{
  "udf_fields": {
    "udf_long2": "1459402730964",
    "udf_long1": "1225",
    "udf_date1": {
      "display_value": "Feb 26, 2016 11:00 AM",
      "value": "1456464639051"
    },
    "udf_char1": "abc@test.com",
    "udf_char2": "test char"
  }
}

display_id (sequence_number)read only

unique sequence number to identify the solution

display_id (sequence_number)
Sequence number of the solution

Example

{
  "display_id": {
    "display_value": "SOL-1",
    "value": "1"
  }
}

likes (long)read only

Indicates likes count of the solution 

likes (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

dislikes (long)read only

Indicates dislikes count of the solution 

dislikes (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

created_time (datetime)read only

Indicate the time when the solution was created

created_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

last_updated_time (datetime)read only

Indicate the time when the solution was updated last time

last_updated_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

created_by (user)read only

Indicates the user who created the solution

created_by (user)
Indicates the user who created the solution

Example

{
  "created_by": {
    "email_id": "test_user@zmail.com",
    "name": "test_user",
    "id": "234567890123456"
  }
}

last_updated_by (user)read only

Indicates the user who updated the solution last time

last_updated_by (user)
Indicates the user who updated the solution last time

Example

{
  "last_updated_by": {
    "email_id": "test_user@zmail.com",
    "name": "test_user",
    "id": "234567890123456"
  }
}

no_of_hits (long)read only

Views count of the solution 

no_of_hits (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

private_comment_count (long)read only

Indicates the private comment count for the solution

private_comment_count (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

public_comment_count (long)read only

Indicates the public comment count for the solution

public_comment_count (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions\
      -X POST\
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{
    "solution": {
        "title":"Solution Title",
         "description":"<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /><\/div><\/div>",
        "topic":{
             "id":"2504000000007971"
        },
        "approval_status": {
            "id": "2504000000006827"
        },
        "keywords":"keyword1,keyword2",
        "is_public": true,  
        "review_date": {
            "value": 1635445800000
        },
        "expiry_date": {
            "value": 1635532200000
        },
        "operation_comment": "test comment",
        "has_user_group":true,
        "user_group_mapping": [
            {
                "id": "2504000000117111"
            }, {
                "id": "2504000000752081"
            }
        ],
        "udf_fields":{
   "udf_long1": "1225",
      "udf_long2": "1459402730964",
      "udf_date1": {
       "value": "1456464639051"
      },
      "udf_char1": "abc@test.com",
      "udf_char2": "test char"
        } 
    }
}'
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {
    "solution": {
        "title":"Solution Title",
         "description":"<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /><\/div><\/div>",
        "topic":{
             "id":"2504000000007971"
        },
        "approval_status": {
            "id": "2504000000006827"
        },
        "keywords":"keyword1,keyword2",
        "is_public": true,  
        "review_date": {
            "value": 1635445800000
        },
        "expiry_date": {
            "value": 1635532200000
        },
        "operation_comment": "test comment",
        "has_user_group":true,
        "user_group_mapping": [
            {
                "id": "2504000000117111"
            }, {
                "id": "2504000000752081"
            }
        ],
        "udf_fields":{
   "udf_long1": "1225",
      "udf_long2": "1459402730964",
      "udf_date1": {
       "value": "1456464639051"
      },
      "udf_char1": "abc@test.com",
      "udf_char2": "test char"
        } 
    }
};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: POST
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$input_data = @'
{
    "solution": {
        "title":"Solution Title",
         "description":"<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /><\/div><\/div>",
        "topic":{
             "id":"2504000000007971"
        },
        "approval_status": {
            "id": "2504000000006827"
        },
        "keywords":"keyword1,keyword2",
        "is_public": true,  
        "review_date": {
            "value": 1635445800000
        },
        "expiry_date": {
            "value": 1635532200000
        },
        "operation_comment": "test comment",
        "has_user_group":true,
        "user_group_mapping": [
            {
                "id": "2504000000117111"
            }, {
                "id": "2504000000752081"
            }
        ],
        "udf_fields":{
   "udf_long1": "1225",
      "udf_long2": "1459402730964",
      "udf_date1": {
       "value": "1456464639051"
      },
      "udf_char1": "abc@test.com",
      "udf_char2": "test char"
        } 
    }
}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method post -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{
    "solution": {
        "title":"Solution Title",
         "description":"<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /><\/div><\/div>",
        "topic":{
             "id":"2504000000007971"
        },
        "approval_status": {
            "id": "2504000000006827"
        },
        "keywords":"keyword1,keyword2",
        "is_public": true,  
        "review_date": {
            "value": 1635445800000
        },
        "expiry_date": {
            "value": 1635532200000
        },
        "operation_comment": "test comment",
        "has_user_group":true,
        "user_group_mapping": [
            {
                "id": "2504000000117111"
            }, {
                "id": "2504000000752081"
            }
        ],
        "udf_fields":{
   "udf_long1": "1225",
      "udf_long2": "1459402730964",
      "udf_date1": {
       "value": "1456464639051"
      },
      "udf_char1": "abc@test.com",
      "udf_char2": "test char"
        } 
    }
}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="POST")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "response_status": {
        "status_code": 2000,
        "status": "success"
    },
    "solution":{
        "id":"2504000000966021",
            "display_id": {
                "display_value": "SOL-1", 
                "value": "1"
            },
        "title":"Solution Title",
         "description":"<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /><\/div><\/div>",
        "topic":{
             "parent_topic":null,
        "name":"General",
        "id":"2504000000007971"
        },
        "approval_status":{
             "name":"Approved",
        "id":"2504000000006827"
        },
        "likes":0,
        "dislikes":0,
        "keywords":"keyword1,keyword2",
        "is_public":true,
         "review_date":{
        "display_value":"Oct 28, 2022",
        "value":"1666895400000"
        },
        "expiry_date":{
        "display_value":"Nov 25, 2022",
        "value":"1669314600000"
        },
         "attachments":[],
        "created_time":{
            "display_value":"Oct 22, 2021 02:39PM",
            "value":"1634893774413"
        },
        "last_updated_time":{
             "display_value":"Oct 22, 2021 02:39PM",
   "value":"1634893774413"
        },
        "created_by":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
        "last_name":"User",
            "job_title":null
        },
        "last_updated_by":{
               "email_id":"test_mail@zmail.com",
               "is_technician":true,
               "sms_mail":"test_sms_mail@smsmail.com",
               "mobile":null,
               "user_scope":"0",
               "phone":null,
               "name":"Test User",
               "id":"2504000000098174",
               "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
               "is_vip_user":false,
               "department":null,
               "first_name":"Test",
                    "last_name":"User",
               "job_title":null
        },
        "no_of_hits":15,
        "has_user_group":true,
        "user_group_mapping":[
            {
                "name":"User group 1",
                    "id":"2504000000117111"
            },{
                    "name":"user group 2",
                    "id":"2504000000752081"
            }
        ],
        "private_comment_count":0,
        "public_comment_count":0,
        "udf_fields":{
            "udf_long1": "1225",
            "udf_long2": "1459402730964",
            "udf_date1": {
                "display_value": "Feb 26, 2016 11:00 AM",
                    "value": "1456464639051"
            },
            "udf_char1": "abc@test.com",
            "udf_char2": "test char"
        },
        "problem_workaround":null,
        "problem_resolution":null
    }
}

Edit Solution

This operation allows to edit a solution Mandatory Field(s):Solution ID

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}

Attributes

id (long)
Unique identifier to identify the solution

id (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

title (string)
Unique name to identify solution 

title (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

description (html)
Content of the solution

description (html)
HTML is a text area where html elements can be used.

Example

<b>The content to be displayed</b>

topic (topic)
Indicates the topic of the solution 

topic (topic)
Indicates the topic of the solution

Example

{
  "topic": {
    "name": "test-topic-name",
    "id": "100000000000033225"
  }
}

keywords (string)
Indicates keywords that belongs to the solutions

keywords (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

is_public (boolean)
Indicates whether the solution can be visible to requesters or not

is_public (boolean)
Boolean value which can have two possible values. The values are true and false.

More Attributes Expand all

review_date (date)

Indicate the date when the solution has to be reviewed

review_date (date)
Represents a date as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

expiry_date (date)

Indicate the date when the solution has to expire

expiry_date (date)
Represents a date as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

operation_comment (string)

Indicate the comment that has to show in history when the solution is added/modified.

operation_comment (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

reset_ratings (boolean)

Indicate whether likes & dislikes count of the solution has to reset or not

reset_ratings (boolean)
Boolean value which can have two possible values. The values are true and false.

has_user_group (boolean)

Indicate whether the solution has user groups

has_user_group (boolean)
Boolean value which can have two possible values. The values are true and false.

approval_status (solution_status)

Indicates the status of the solution 1. UnApproved2. Approved3. Approval Pending4. Rejected5. Expired

approval_status (solution_status)
Indicates the approval status of the solution

Example

{
  "solution_status": {
    "name": "UnApproved",
    "id": "100000000000033155"
  }
}

attachments (attachment)

Files that are attached to the solution. A maximum of 50 files can be attached to the solution

attachments (attachment)
Files that are attached to the solution

Example

{
  "attachments": [
    {
      "content_type": "application/x-unknown-mime-type",
      "size": "36171",
      "file_id": "4001",
      "name": "test_file.txt"
    }
  ]
}

user_group_mapping (user_group)

Indicate the user groups that can access the solution

user_group_mapping (user_group)
Indicate the user groups that can access the solution

Example

{
  "user_group_mapping": [
    {
      "name": "User group 1",
      "id": "1000000000000224445"
    }
  ]
}

udf_fields (udf_fields)

Holds user defined fields’ values associated with the solution

udf_fields (udf_fields)
Holds user defined fields’ values associated with the solution

Example

{
  "udf_fields": {
    "udf_long2": "1459402730964",
    "udf_long1": "1225",
    "udf_date1": {
      "display_value": "Feb 26, 2016 11:00 AM",
      "value": "1456464639051"
    },
    "udf_char1": "abc@test.com",
    "udf_char2": "test char"
  }
}

display_id (sequence_number)read only

unique sequence number to identify the solution

display_id (sequence_number)
Sequence number of the solution

Example

{
  "display_id": {
    "display_value": "SOL-1",
    "value": "1"
  }
}

likes (long)read only

Indicates likes count of the solution 

likes (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

dislikes (long)read only

Indicates dislikes count of the solution 

dislikes (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

created_time (datetime)read only

Indicate the time when the solution was created

created_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

last_updated_time (datetime)read only

Indicate the time when the solution was updated last time

last_updated_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

created_by (user)read only

Indicates the user who created the solution

created_by (user)
Indicates the user who created the solution

Example

{
  "created_by": {
    "email_id": "test_user@zmail.com",
    "name": "test_user",
    "id": "234567890123456"
  }
}

last_updated_by (user)read only

Indicates the user who updated the solution last time

last_updated_by (user)
Indicates the user who updated the solution last time

Example

{
  "last_updated_by": {
    "email_id": "test_user@zmail.com",
    "name": "test_user",
    "id": "234567890123456"
  }
}

no_of_hits (long)read only

Views count of the solution 

no_of_hits (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

private_comment_count (long)read only

Indicates the private comment count for the solution

private_comment_count (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

public_comment_count (long)read only

Indicates the public comment count for the solution

public_comment_count (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}\
      -X PUT\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{
 "solution": {    
  "name": "Solution Title Edited", 
  "description": "Solution Content Edited",
        "topic":{
    "id":"2504000000771301"
  },
  "approval_status": {
   "id": "2504000000006827"
  },
  "keywords":"keyword1 Edited,keyword2 Edited",
  "is_public": true,  
     "review_date": {
   "value": 1666981800000
  },
     "expiry_date": {
   "value": 1669401000000
  },
  "operation_comment": "test edit comment",
  "has_user_group":true,
  "user_group_mapping": [
   {
    "id": "2504000000752087"}

  ],
  "udf_fields":{
            "udf_long1": "1234",
            "udf_long2": "9876543210",
            "udf_date1": {
                "value": "1456464639051"
            },
            "udf_char1": "def@test.com",
            "udf_char2": "test char1"
  } 
   }
}'
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {
 "solution": {    
  "name": "Solution Title Edited", 
  "description": "Solution Content Edited",
        "topic":{
    "id":"2504000000771301"
  },
  "approval_status": {
   "id": "2504000000006827"
  },
  "keywords":"keyword1 Edited,keyword2 Edited",
  "is_public": true,  
     "review_date": {
   "value": 1666981800000
  },
     "expiry_date": {
   "value": 1669401000000
  },
  "operation_comment": "test edit comment",
  "has_user_group":true,
  "user_group_mapping": [
   {
    "id": "2504000000752087"}

  ],
  "udf_fields":{
            "udf_long1": "1234",
            "udf_long2": "9876543210",
            "udf_date1": {
                "value": "1456464639051"
            },
            "udf_char1": "def@test.com",
            "udf_char2": "test char1"
  } 
   }
};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: PUT
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}"
$headers = @{"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
$input_data = @'
{
 "solution": {    
  "name": "Solution Title Edited", 
  "description": "Solution Content Edited",
        "topic":{
    "id":"2504000000771301"
  },
  "approval_status": {
   "id": "2504000000006827"
  },
  "keywords":"keyword1 Edited,keyword2 Edited",
  "is_public": true,  
     "review_date": {
   "value": 1666981800000
  },
     "expiry_date": {
   "value": 1669401000000
  },
  "operation_comment": "test edit comment",
  "has_user_group":true,
  "user_group_mapping": [
   {
    "id": "2504000000752087"}

  ],
  "udf_fields":{
            "udf_long1": "1234",
            "udf_long2": "9876543210",
            "udf_date1": {
                "value": "1456464639051"
            },
            "udf_char1": "def@test.com",
            "udf_char2": "test char1"
  } 
   }
}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method put -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{
 "solution": {    
  "name": "Solution Title Edited", 
  "description": "Solution Content Edited",
        "topic":{
    "id":"2504000000771301"
  },
  "approval_status": {
   "id": "2504000000006827"
  },
  "keywords":"keyword1 Edited,keyword2 Edited",
  "is_public": true,  
     "review_date": {
   "value": 1666981800000
  },
     "expiry_date": {
   "value": 1669401000000
  },
  "operation_comment": "test edit comment",
  "has_user_group":true,
  "user_group_mapping": [
   {
    "id": "2504000000752087"}

  ],
  "udf_fields":{
            "udf_long1": "1234",
            "udf_long2": "9876543210",
            "udf_date1": {
                "value": "1456464639051"
            },
            "udf_char1": "def@test.com",
            "udf_char2": "test char1"
  } 
   }
}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="PUT")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "response_status": {
        "status_code": 2000,
        "status": "success"
    },
    "solution":{
        "id":"2504000000966021",
   "display_id": {
                display_value: "SOL-1", 
                value: "1"
            },
        "title":"Solution Title Edited",
        "description":"Solution Content Edited",
        "topic":{
        "parent_topic":null,
        "name":"Hardware",
        "id":"2504000000771301"
        },
        "approval_status":{
               "name":"Approved",
               "id":"2504000000006827"
          },
        "likes":8,
        "dislikes":2,
        "keywords":"keyword1 Edited,keyword2 Edited",
        "is_public":true,
        "review_date":{
            "display_value": "Oct 29, 2022",
            "value": "1666981800000"
        },
        "expiry_date":{
               "display_value":"Nov 26, 2022",
               "value":"1669401000000"
        },
        "attachments":[],
        "created_time":{
            "display_value":"Oct 22, 2021 02:39PM",
            "value":"1634893774413"
        },
        "last_updated_time":{
            "display_value":"Oct 25, 2021 02:12 PM",
            "value": "1635151345360"
        },
        "created_by":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
        "last_name":"User",
            "job_title":null
        },
        "last_updated_by":{
        "email_id":"test_mail@zmail.com",
        "is_technician":true,
        "sms_mail":"test_sms_mail@smsmail.com",
        "mobile":null,
        "user_scope":"0",
        "phone":null,
        "name":"Test User",
        "id":"2504000000098174",
        "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
        "is_vip_user":false,
        "department":null,
        "first_name":"Test",
        "last_name":"User",
        "job_title":null
        },
        "no_of_hits":15,
        "has_user_group":true,
        "user_group_mapping":[{
            "name":"User group 3",
             "id":"2504000000752087"
        }],
        "private_comment_count":2,
        "public_comment_count":3,
        "udf_fields":{
            "udf_long1": "1234",
            "udf_long2": "9876543210",
        "udf_date1": {
                "display_value": "Feb 26, 2016 11:00 AM",
                "value": "1456464639051"
            },
            "udf_char1": "def@test.com",
            "udf_char2": "test char1"
        },
        "problem_workaround":null,
        "problem_resolution":{
            "display_id":{
                "display_value":"PB-1",
                "value":"1"
            },
            "id":"2504000000117001",
            "title":"problem title."
        }
    }
}

Get Solution

This operation helps to get a single Solution  Mandatory Field(s):Solution ID

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}

Attributes

id (long)
Unique identifier to identify the solution

id (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

title (string)
Unique name to identify solution 

title (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

description (html)
Content of the solution

description (html)
HTML is a text area where html elements can be used.

Example

<b>The content to be displayed</b>

topic (topic)
Indicates the topic of the solution 

topic (topic)
Indicates the topic of the solution

Example

{
  "topic": {
    "name": "test-topic-name",
    "id": "100000000000033225"
  }
}

keywords (string)
Indicates keywords that belongs to the solutions

keywords (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

is_public (boolean)
Indicates whether the solution can be visible to requesters or not

is_public (boolean)
Boolean value which can have two possible values. The values are true and false.

More Attributes Expand all

review_date (date)

Indicate the date when the solution has to be reviewed

review_date (date)
Represents a date as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

expiry_date (date)

Indicate the date when the solution has to expire

expiry_date (date)
Represents a date as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

operation_comment (string)

Indicate the comment that has to show in history when the solution is added/modified.

operation_comment (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

reset_ratings (boolean)

Indicate whether likes & dislikes count of the solution has to reset or not

reset_ratings (boolean)
Boolean value which can have two possible values. The values are true and false.

has_user_group (boolean)

Indicate whether the solution has user groups

has_user_group (boolean)
Boolean value which can have two possible values. The values are true and false.

approval_status (solution_status)

Indicates the status of the solution 1. UnApproved2. Approved3. Approval Pending4. Rejected5. Expired

approval_status (solution_status)
Indicates the approval status of the solution

Example

{
  "solution_status": {
    "name": "UnApproved",
    "id": "100000000000033155"
  }
}

attachments (attachment)

Files that are attached to the solution. A maximum of 50 files can be attached to the solution

attachments (attachment)
Files that are attached to the solution

Example

{
  "attachments": [
    {
      "content_type": "application/x-unknown-mime-type",
      "size": "36171",
      "file_id": "4001",
      "name": "test_file.txt"
    }
  ]
}

user_group_mapping (user_group)

Indicate the user groups that can access the solution

user_group_mapping (user_group)
Indicate the user groups that can access the solution

Example

{
  "user_group_mapping": [
    {
      "name": "User group 1",
      "id": "1000000000000224445"
    }
  ]
}

udf_fields (udf_fields)

Holds user defined fields’ values associated with the solution

udf_fields (udf_fields)
Holds user defined fields’ values associated with the solution

Example

{
  "udf_fields": {
    "udf_long2": "1459402730964",
    "udf_long1": "1225",
    "udf_date1": {
      "display_value": "Feb 26, 2016 11:00 AM",
      "value": "1456464639051"
    },
    "udf_char1": "abc@test.com",
    "udf_char2": "test char"
  }
}

display_id (sequence_number)read only

unique sequence number to identify the solution

display_id (sequence_number)
Sequence number of the solution

Example

{
  "display_id": {
    "display_value": "SOL-1",
    "value": "1"
  }
}

likes (long)read only

Indicates likes count of the solution 

likes (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

dislikes (long)read only

Indicates dislikes count of the solution 

dislikes (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

created_time (datetime)read only

Indicate the time when the solution was created

created_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

last_updated_time (datetime)read only

Indicate the time when the solution was updated last time

last_updated_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

created_by (user)read only

Indicates the user who created the solution

created_by (user)
Indicates the user who created the solution

Example

{
  "created_by": {
    "email_id": "test_user@zmail.com",
    "name": "test_user",
    "id": "234567890123456"
  }
}

last_updated_by (user)read only

Indicates the user who updated the solution last time

last_updated_by (user)
Indicates the user who updated the solution last time

Example

{
  "last_updated_by": {
    "email_id": "test_user@zmail.com",
    "name": "test_user",
    "id": "234567890123456"
  }
}

no_of_hits (long)read only

Views count of the solution 

no_of_hits (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

private_comment_count (long)read only

Indicates the private comment count for the solution

private_comment_count (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

public_comment_count (long)read only

Indicates the public comment count for the solution

public_comment_count (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

$ curl -G <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}\
      -X GET\
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};          
response = invokeurl
[
    url: url
    type: GET
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}  
$response = Invoke-RestMethod -Uri $url -Method get -Headers $headers 
$response
#Python version - 3.8
#This script requires requests module installed in python.
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
httprequest = Request(url, headers=headers)
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "response_status": {
        "status_code": 2000,
        "status": "success"
    },
    "solution":{
  "id":"2504000000966021",
        "display_id": {
   "display_value": "SOL-1", 
   "value": "1"
  },
  "title":"Solution Title",
  "description":"<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /><\/div><\/div>",
  "topic":{
   "parent_topic":null,
   "name":"General",
   "id":"2504000000007971"
  },
  "approval_status":{
   "name":"Approved",
   "id":"2504000000006827"
  },
  "likes":8,
  "dislikes":2,
  "keywords":"keyword1,keyword2",
  "is_public":true,
  "review_date":{
   "display_value":"Oct 28, 2022",
   "value":"1666895400000"
  },
  "expiry_date":{
   "display_value":"Nov 25, 2022",
   "value":"1669314600000"
  },
  "attachments":[],
        "created_time":{
            "display_value":"Oct 22, 2021 02:39PM",
            "value":"1634893774413"
        },
  "last_updated_time":{
   "display_value":"Oct 22, 2021 04:18 PM",
   "value":"1634899733610"
  },
        "created_by":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
   "last_name":"User",
            "job_title":null
        },
        "last_updated_by":{
   "email_id":"test_mail@zmail.com",
   "is_technician":true,
   "sms_mail":"test_sms_mail@smsmail.com",
   "mobile":null,
   "user_scope":"0",
   "phone":null,
   "name":"Test User",
   "id":"2504000000098174",
   "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
   "is_vip_user":false,
   "department":null,
   "first_name":"Test",
        "last_name":"User",
   "job_title":null
  },
  "no_of_hits":15,
  "has_user_group":true,
  "user_group_mapping":[
   {
    "name":"User group 1",
    "id":"2504000000117111"
   },{
    "name":"user group 2",
    "id":"2504000000752081"
   }
  ],
        "private_comment_count":2,
        "public_comment_count":3,
  "udf_fields":{
            "udf_long1": "1225",
            "udf_long2": "1459402730964",
        "udf_date1": {
                "display_value": "Feb 26, 2016 11:00 AM",
                "value": "1456464639051"
            },
            "udf_char1": "abc@test.com",
            "udf_char2": "test char"
  },
        "problem_workaround":null,
        "problem_resolution":{
            "display_id":{
                "display_value":"PB-1",
                "value":"1"
            },
            "id":"2504000000117001",
            "title":"problem title."
        }
    }
}

Get List Solution

This operation helps you to get the list of all solutions

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions

Attributes

id (long)
Unique identifier to identify the solution

id (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

title (string)
Unique name to identify solution 

title (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

description (html)
Content of the solution

description (html)
HTML is a text area where html elements can be used.

Example

<b>The content to be displayed</b>

topic (topic)
Indicates the topic of the solution 

topic (topic)
Indicates the topic of the solution

Example

{
  "topic": {
    "name": "test-topic-name",
    "id": "100000000000033225"
  }
}

keywords (string)
Indicates keywords that belongs to the solutions

keywords (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

is_public (boolean)
Indicates whether the solution can be visible to requesters or not

is_public (boolean)
Boolean value which can have two possible values. The values are true and false.

More Attributes Expand all

review_date (date)

Indicate the date when the solution has to be reviewed

review_date (date)
Represents a date as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

expiry_date (date)

Indicate the date when the solution has to expire

expiry_date (date)
Represents a date as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

operation_comment (string)

Indicate the comment that has to show in history when the solution is added/modified.

operation_comment (string)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

reset_ratings (boolean)

Indicate whether likes & dislikes count of the solution has to reset or not

reset_ratings (boolean)
Boolean value which can have two possible values. The values are true and false.

has_user_group (boolean)

Indicate whether the solution has user groups

has_user_group (boolean)
Boolean value which can have two possible values. The values are true and false.

approval_status (solution_status)

Indicates the status of the solution 1. UnApproved2. Approved3. Approval Pending4. Rejected5. Expired

approval_status (solution_status)
Indicates the approval status of the solution

Example

{
  "solution_status": {
    "name": "UnApproved",
    "id": "100000000000033155"
  }
}

attachments (attachment)

Files that are attached to the solution. A maximum of 50 files can be attached to the solution

attachments (attachment)
Files that are attached to the solution

Example

{
  "attachments": [
    {
      "content_type": "application/x-unknown-mime-type",
      "size": "36171",
      "file_id": "4001",
      "name": "test_file.txt"
    }
  ]
}

user_group_mapping (user_group)

Indicate the user groups that can access the solution

user_group_mapping (user_group)
Indicate the user groups that can access the solution

Example

{
  "user_group_mapping": [
    {
      "name": "User group 1",
      "id": "1000000000000224445"
    }
  ]
}

udf_fields (udf_fields)

Holds user defined fields’ values associated with the solution

udf_fields (udf_fields)
Holds user defined fields’ values associated with the solution

Example

{
  "udf_fields": {
    "udf_long2": "1459402730964",
    "udf_long1": "1225",
    "udf_date1": {
      "display_value": "Feb 26, 2016 11:00 AM",
      "value": "1456464639051"
    },
    "udf_char1": "abc@test.com",
    "udf_char2": "test char"
  }
}

display_id (sequence_number)read only

unique sequence number to identify the solution

display_id (sequence_number)
Sequence number of the solution

Example

{
  "display_id": {
    "display_value": "SOL-1",
    "value": "1"
  }
}

likes (long)read only

Indicates likes count of the solution 

likes (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

dislikes (long)read only

Indicates dislikes count of the solution 

dislikes (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

created_time (datetime)read only

Indicate the time when the solution was created

created_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

last_updated_time (datetime)read only

Indicate the time when the solution was updated last time

last_updated_time (datetime)
Represents a date/time as a JSON Object. Would contain the value and the display_value attributes.

value : The time in long format (No. of milliseconds from Jan 1, 1970 ).

display_value : The time in a readable form in a format as personalized by the user. If not personalized, default format would be used.

created_by (user)read only

Indicates the user who created the solution

created_by (user)
Indicates the user who created the solution

Example

{
  "created_by": {
    "email_id": "test_user@zmail.com",
    "name": "test_user",
    "id": "234567890123456"
  }
}

last_updated_by (user)read only

Indicates the user who updated the solution last time

last_updated_by (user)
Indicates the user who updated the solution last time

Example

{
  "last_updated_by": {
    "email_id": "test_user@zmail.com",
    "name": "test_user",
    "id": "234567890123456"
  }
}

no_of_hits (long)read only

Views count of the solution 

no_of_hits (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

private_comment_count (long)read only

Indicates the private comment count for the solution

private_comment_count (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

public_comment_count (long)read only

Indicates the public comment count for the solution

public_comment_count (long)
Numerical digits which are considered to have larger values.

Example

234759602834500

$ curl -G <service domain|custom domain>/app/<portal>/api/v3/solutions\
      -X GET\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      --data-urlencode input_data='{}'
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {};
params = {"input_data":input_data};           
response = invokeurl
[
    url: url
    type: GET
    parameters:params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$input_data = @'{}'@
$data = @{ 'input_data' = $input_data}    
$response = Invoke-RestMethod -Uri $url -Method get -Body $data -Headers $headers 
$response
#Python version - 3.8
#This script requires requests module installed in python.
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{}'''       
url += "?" + urlencode({"input_data":input_data})
httprequest = Request(url, headers=headers)
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
  "response_status": [
    {
      "status_code": 2000,
      "status": "success"
    }
  ],
  "list_info": {
    "has_more_rows": true,
    "row_count": 3
  },
  "solutions": [
    {
      "id": "2504000000966021",
      "display_id": {
        "display_value": "SOL-1",
        "value": "1"
      },
      "title": "Solution Title",
      "description": "<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /></div></div>",
      "topic": {
        "parent_topic": null,
        "name": "General",
        "id": "2504000000007971"
      },
      "approval_status": {
        "name": "Approved",
        "id": "2504000000006827"
      },
      "likes": 8,
      "dislikes": 2,
      "keywords": "keyword1,keyword2",
      "is_public": true,
      "review_date": {
        "display_value": "Oct 28, 2022",
        "value": "1666895400000"
      },
      "expiry_date": {
        "display_value": "Nov 25, 2022",
        "value": "1669314600000"
      },
      "created_time": {
        "display_value": "Oct 22, 2021 02:39PM",
        "value": "1634893774413"
      },
      "last_updated_time": {
        "display_value": "Oct 22, 2021 04:18 PM",
        "value": "1634899733610"
      },
      "created_by": {
        "email_id": "test_mail@zmail.com",
        "is_technician": true,
        "sms_mail": "test_sms_mail@smsmail.com",
        "mobile": null,
        "user_scope": "0",
        "phone": null,
        "name": "Test User",
        "id": "2504000000098174",
        "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
        "is_vip_user": false,
        "department": null,
        "first_name": "Test",
        "last_name": "User",
        "job_title": null
      },
      "last_updated_by": {
        "email_id": "test_mail@zmail.com",
        "is_technician": true,
        "sms_mail": "test_sms_mail@smsmail.com",
        "mobile": null,
        "user_scope": "0",
        "phone": null,
        "name": "Test User",
        "id": "2504000000098174",
        "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
        "is_vip_user": false,
        "department": null,
        "first_name": "Test",
        "last_name": "User",
        "job_title": null
      },
      "no_of_hits": 15,
      "has_user_group": true,
      "private_comment_count": 2,
      "public_comment_count": 3,
      "udf_fields": {
        "udf_long1": "1225",
        "udf_long2": "1459402730964",
        "udf_date1": {
          "display_value": "Feb 26, 2016 11:00 AM",
          "value": "1456464639051"
        },
        "udf_char1": "abc@test.com",
        "udf_char2": "test char"
      }
    },
    {
      "id": "2504000000134047",
      "display_id": {
        "display_value": "SOL-2",
        "value": "2"
      },
      "title": "Solution Title2",
      "description": "<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content 2<br /></div></div>",
      "topic": {
        "parent_topic": null,
        "name": "General",
        "id": "2504000000007971"
      },
      "approval_status": {
        "name": "Approved",
        "id": "2504000000006827"
      },
      "likes": 8,
      "dislikes": 2,
      "keywords": "keyword3,keyword4",
      "is_public": true,
      "review_date": {
        "display_value": "Oct 28, 2022",
        "value": "1666895400000"
      },
      "expiry_date": {
        "display_value": "Nov 25, 2022",
        "value": "1669314600000"
      },
      "created_time": {
        "display_value": "Aug 8, 2019 07:27 PM",
        "value": "1565272629702"
      },
      "last_updated_time": {
        "display_value": "Oct 22, 2021 04:18 PM",
        "value": "1634899733610"
      },
      "created_by": {
        "email_id": "test_mail@zmail.com",
        "is_technician": true,
        "sms_mail": "test_sms_mail@smsmail.com",
        "mobile": null,
        "user_scope": "0",
        "phone": null,
        "name": "Test User",
        "id": "2504000000098174",
        "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
        "is_vip_user": false,
        "department": null,
        "first_name": "Test",
        "last_name": "User",
        "job_title": null
      },
      "last_updated_by": {
        "email_id": "test_mail@zmail.com",
        "is_technician": true,
        "sms_mail": "test_sms_mail@smsmail.com",
        "mobile": null,
        "user_scope": "0",
        "phone": null,
        "name": "Test User",
        "id": "2504000000098174",
        "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
        "is_vip_user": false,
        "department": null,
        "first_name": "Test",
        "last_name": "User",
        "job_title": null
      },
      "no_of_hits": 20,
      "has_user_group": true,
      "private_comment_count": 2,
      "public_comment_count": 3,
      "udf_fields": {
        "udf_long1": "9876",
        "udf_long2": "1459402730964",
        "udf_date1": {
          "display_value": "Feb 26, 2016 11:00 AM",
          "value": "1456464639051"
        },
        "udf_char1": "abc@test.com",
        "udf_char2": "test char"
      }
    },
    {
      "id": "2504000000134047",
      "display_id": {
        "display_value": "SOL-3",
        "value": "3"
      },
      "title": "Solution Title3",
      "description": "<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content 3<br /></div></div>",
      "topic": {
        "parent_topic": null,
        "name": "General",
        "id": "2504000000007971"
      },
      "approval_status": {
        "name": "UnApproved",
        "id": "2504000000006827"
      },
      "likes": 5,
      "dislikes": 1,
      "keywords": "keyword5,keyword6",
      "is_public": false,
      "review_date": {
        "display_value": "Oct 28, 2022",
        "value": "1666895400000"
      },
      "expiry_date": {
        "display_value": "Nov 25, 2022",
        "value": "1669314600000"
      },
      "created_time": {
        "display_value": "Apr 16, 2021 06:33 PM",
        "value": "1618578183981"
      },
      "last_updated_time": {
        "display_value": "Oct 22, 2021 04:18 PM",
        "value": "1634899733610"
      },
      "created_by": {
        "email_id": "test_mail@zmail.com",
        "is_technician": true,
        "sms_mail": "test_sms_mail@smsmail.com",
        "mobile": null,
        "user_scope": "0",
        "phone": null,
        "name": "Test User",
        "id": "2504000000098174",
        "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
        "is_vip_user": false,
        "department": null,
        "first_name": "Test",
        "last_name": "User",
        "job_title": null
      },
      "last_updated_by": {
        "email_id": "test_mail@zmail.com",
        "is_technician": true,
        "sms_mail": "test_sms_mail@smsmail.com",
        "mobile": null,
        "user_scope": "0",
        "phone": null,
        "name": "Test User",
        "id": "2504000000098174",
        "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
        "is_vip_user": false,
        "department": null,
        "first_name": "Test",
        "last_name": "User",
        "job_title": null
      },
      "no_of_hits": 20,
      "has_user_group": false,
      "private_comment_count": 0,
      "public_comment_count": 0,
      "udf_fields": {
        "udf_long1": "9876",
        "udf_long2": "1459402730964",
        "udf_date1": {
          "display_value": "Feb 26, 2016 11:00 AM",
          "value": "1456464639051"
        },
        "udf_char1": "abc@test.com",
        "udf_char2": "test char"
      }
    }
  ]
}

Delete Solution

This operation allows you to delete a solution. Mandatory Field(s): Solution ID

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}\
      -X DELETE\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
response = invokeurl
[
    url: url
    type: DELETE
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$response = Invoke-RestMethod -Uri $url -Method delete -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
httprequest = Request(url, headers=headers,method="DELETE")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
  "response_status": {
    "status_code": 2000,
    "status": "success"
  }
}

Reject A Solution

This operation helps you to reject a solution. Mandatory Field(s): 1.Solution ID

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_reject

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_reject\
      -X PUT\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{
    "solution": {
        "operation_comment": "Reject test comment",
         "reset_ratings": true
    }
}'
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_reject";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {
    "solution": {
        "operation_comment": "Reject test comment",
         "reset_ratings": true
    }
};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: PUT
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_reject"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$input_data = @'
{
    "solution": {
        "operation_comment": "Reject test comment",
         "reset_ratings": true
    }
}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method put -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_reject"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{
    "solution": {
        "operation_comment": "Reject test comment",
         "reset_ratings": true
    }
}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="PUT")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "response_status": {
        "status_code": 2000,
        "status": "success"
    },
    "solution":{
        "id":"2504000000966021",
   "display_id": {
                "display_value": "SOL-1", 
                "value": "1"
            },
        "title":"Solution Title",
        "description":"<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /><\/div><\/div>",
        "topic":{
             "parent_topic":null,
            "name":"General",
            "id":"2504000000007971"
        },
        "approval_status":{
            "name":"Rejected",
            "id": "2504000000006831"
        },
        "likes":0,
        "dislikes":0,
        "keywords":"keyword1,keyword2",
        "is_public":true,
        "review_date":{
            "display_value":"Oct 28, 2022",
            "value":"1666895400000"
        },
        "expiry_date":{
             "display_value":"Nov 25, 2022",
             "value":"1669314600000"
         },
         "attachments":[],
          "created_time":{
               "display_value":"Oct 22, 2021 02:39PM",
               "value":"1634893774413"
          },
        "last_updated_time":{
             "display_value":"Oct 22, 2021 04:18 PM",
            "value":"1634899733610"
        },
          "created_by":{
               "email_id":"test_mail@zmail.com",
               "is_technician":true,
               "sms_mail":"test_sms_mail@smsmail.com",
               "mobile":null,
               "user_scope":"0",
               "phone":null,
               "name":"Test User",
               "id":"2504000000098174",
               "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
               "is_vip_user":false,
               "department":null,
               "first_name":"Test",
               "last_name":"User",
               "job_title":null
          },
        "last_updated_by":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
            "last_name":"User",
            "job_title":null
        },
        "no_of_hits":15,
        "has_user_group":true,
        "user_group_mapping":[
            {
                    "name":"User group 1",
                    "id":"2504000000117111"
            },{
                    "name":"user group 2",
                    "id":"2504000000752081"
            }
          ],
          "private_comment_count":2,
           "public_comment_count":3,
           "udf_fields":{
            "udf_long1": "1225",
            "udf_long2": "1459402730964",
            "udf_date1": {
                "display_value": "Feb 26, 2016 11:00 AM",
                "value": "1456464639051"
            },
            "udf_char1": "abc@test.com",
            "udf_char2": "test char"
                 },
          "problem_workaround":null,
          "problem_resolution":{
               "display_id":{
                "display_value":"PB-1",
                "value":"1"
               },
               "id":"2504000000117001",
               "title":"problem title."
          }
    }
}

Like A Solution

This operation helps to like a solution Mandatory Field(s):Solution ID

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_like

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_like\
      -X PUT\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{}'
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_like";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: PUT
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_like"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$input_data = @'
{}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method put -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_like"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="PUT")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
 "response_status": {
  "status_code": 2000,
  "status": "success"
    },
 "solution":{
        "id":"2504000000966021",
   "display_id": {
                "display_value": "SOL-1", 
                "value": "1"
            },
        "title":"Solution Title",
        "description":"<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /><\/div><\/div>",
        "topic":{
             "parent_topic":null,
            "name":"General",
            "id":"2504000000007971"
        },
        "approval_status":{
            "name":"Approved",
            "id":"2504000000006827"
        },
        "likes":1,
        "dislikes":0,
        "keywords":"keyword1,keyword2",
        "is_public":true,
        "review_date":{
            "display_value":"Oct 28, 2022",
            "value":"1666895400000"
        },
        "expiry_date":{
             "display_value":"Nov 25, 2022",
             "value":"1669314600000"
         },
         "attachments":[],
        "created_time":{
            "display_value":"Oct 22, 2021 02:39PM",
             "value":"1634893774413"
        },
        "last_updated_time":{
             "display_value":"Oct 22, 2021 04:18 PM",
            "value":"1634899733610"
        },
        "created_by":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
             "last_name":"User",
            "job_title":null
        },
        "last_updated_by":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
            "last_name":"User",
            "job_title":null
        },
        "no_of_hits":15,
        "has_user_group":true,
        "user_group_mapping":[
            {
                    "name":"User group 1",
                    "id":"2504000000117111"
            },{
                    "name":"user group 2",
                    "id":"2504000000752081"
            }
          ],
        "private_comment_count":2,
        "public_comment_count":3,
        "udf_fields":{
            "udf_long1": "1225",
            "udf_long2": "1459402730964",
            "udf_date1": {
                "display_value": "Feb 26, 2016 11:00 AM",
                "value": "1456464639051"
            },
            "udf_char1": "abc@test.com",
            "udf_char2": "test char"
         },
        "problem_workaround":null,
        "problem_resolution":{
            "display_id":{
                    "display_value":"PB-1",
                "value":"1"
        },
        "id":"2504000000117001",
        "title":"problem title."
        }
    }
}

Associate A Solution With Another Solution

This operation helps to associate a solution with another solution. Mandatory Field(s):Solution ID

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations\
      -X POST\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{
    "relations": [
        {
            "child_solution": {"id": "2504000000269005"}
        },
        {
            "child_solution": {"id": "2504000000635003"}
        }
    ]
}'
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {
    "relations": [
        {
            "child_solution": {"id": "2504000000269005"}
        },
        {
            "child_solution": {"id": "2504000000635003"}
        }
    ]
};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: POST
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations"
$headers = @{"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
$input_data = @'
{
    "relations": [
        {
            "child_solution": {"id": "2504000000269005"}
        },
        {
            "child_solution": {"id": "2504000000635003"}
        }
    ]
}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method post -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{
    "relations": [
        {
            "child_solution": {"id": "2504000000269005"}
        },
        {
            "child_solution": {"id": "2504000000635003"}
        }
    ]
}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="POST")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "response_status":[
        {
            "status_code":2000,
            "id":"2504000000966071",
            "status":"success"
        },{
            "status_code":2000,
            "id":"2504000000966073",
            "status":"success"
        }
    ],
    "relations":[
        {
            "child_solution":{
                "display_id": {
                    "display_value": "SOL-2", "value": "2"
                },
            "approval_status":{"id":"2504000000006827"},
                "id":"2504000000269005",
                "title":"Solution title 2."
            },
            "id":"2504000000966071",
            "parent_solution":{
                "display_id": {
        "display_value": "SOL-1", "value": "1"
    },
            "approval_status":{"id":"2504000000006827"},
                "id":"2504000000966021",
                "title":"Solution Title"
            }
        },{
            "child_solution":{
                "display_id": {
        "display_value": "SOL-3", "value": "3"
    },
            "approval_status":{"id":"2504000000006825"},
                "id":"2504000000635003",
                "title":"Solution title 3"
            },
            "id":"2504000000966073",
            "parent_solution":{
                "display_id": {
        "display_value": "SOL-1", "value": "1"
    },  
            "approval_status":{"id":"2504000000006827"},
                "id":"2504000000966021",
                "title":"Solution Title"
            }
        }
    ]
}

Get A List Of All Solutions Associated With A Solution

This operation helps to get a list of all the solutions associated with a solution Mandatory Field(s): 1.Solution id

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations

$ curl -G <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations\
      -X GET\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
response = invokeurl
[
    url: url
    type: GET
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$response = Invoke-RestMethod -Uri $url -Method get -Headers $headers 
$response
#Python version - 3.8
#This script requires requests module installed in python.
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
httprequest = Request(url, headers=headers)
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{   
    "response_status":[{
        "status_code":2000,
        "status":"success"
    }],
    "list_info":{
        "has_more_rows":false,
        "row_count":2
    },
    "relations":[
  {
    "child_solution":{
        "display_id": {
        "display_value": "SOL-2", "value": "2"
    },
            "approval_status":{"id":"2504000000006827"},
        "id":"2504000000269005",
        "title":"Solution title 2."
    },
    "id":"2504000000966071",
    "parent_solution":{
        "display_id": {
        "display_value": "SOL-1", "value": "1"
    },
            "approval_status":{"id":"2504000000006827"},
        "id":"2504000000966021",
        "title":"Solution Title"
    }
  },{
    "child_solution":{
                "display_id": {
        "display_value": "SOL-3", "value": "3"
    },
    "approval_status":{"id":"2504000000006825"},
    "id":"2504000000635003",
        "title":"Solution title 3"
  },
  "id":"2504000000966073",
  "parent_solution":{
            "display_id": {
    "display_value": "SOL-1", "value": "1"
   },
    "approval_status":{"id":"2504000000006827"},
    "id":"2504000000966021",
    "title":"Solution Title"
    }
  }
 ]
}

Get A List Of All Comments In A Solution

This operation helps to get a list of all comments in a solution Mandatory Field(s):Solution Id

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments

$ curl -G <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments\
      -X GET\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
response = invokeurl
[
    url: url
    type: GET
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$response = Invoke-RestMethod -Uri $url -Method get -Headers $headers 
$response
#Python version - 3.8
#This script requires requests module installed in python.
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
httprequest = Request(url, headers=headers)
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "response_status":[{
        "status_code":2000,
        "status":"success"
    }],
    "list_info":{
        "has_more_rows":false,
        "start_index":1,
        "row_count":1
    },
    "comments":[
        {           
            "id":"2504000000966077", 
      "comment":"Test comment Edited",
      "is_public":true,
          "solution":{
                  "display_id": {
        "display_value": "SOL-1", "value": "1"
      },
               "approval_status":{
                    "id":"2504000000006827"
                    },
               "id":"2504000000966021",
               "title":"Solution Title"
          },
      "created_time":{
          "display_value":"Oct 25, 2021 01:17 PM",
          "value":"1635148045041"
      },
         "updated_time":{
                   "display_value": "Oct 25, 2021 01:26 PM", 
                   "value": "1635148585334"
              },
      "user":{
       "email_id":"test_mail@zmail.com",
       "is_technician":true,
       "sms_mail":"test_sms_mail@smsmail.com",
       "mobile":null,
       "user_scope":"0",
       "phone":null,
       "name":"Test User",
       "id":"2504000000098174",
       "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
       "is_vip_user":false,
       "department":null,
       "first_name":"Test",
                    "last_name":"User",
       "job_title":null
      }
    }
    ]
}

Edit A Comment In A Solution

This operation helps to edit a comment in a solution Mandatory Field(s):Solution IdSolution Comment Id

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments/{solution_comment_id}

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments/{solution_comment_id}\
      -X PUT\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{
    "solution_comment": {
        "comment": "Test comment Edited", 
        "is_public": true
    }
}'
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments/{solution_comment_id}";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {
    "solution_comment": {
        "comment": "Test comment Edited", 
        "is_public": true
    }
};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: PUT
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments/{solution_comment_id}"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$input_data = @'
{
    "solution_comment": {
        "comment": "Test comment Edited", 
        "is_public": true
    }
}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method put -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments/{solution_comment_id}"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{
    "solution_comment": {
        "comment": "Test comment Edited", 
        "is_public": true
    }
}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="PUT")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "response_status":{
        "status_code":2000,
        "status":"success"
    },
    "solution_comment":{
        "id":"2504000000966077",    
        "comment":"Test comment Edited",
        "is_public":true,
    "solution":{
            "display_id": {
    "display_value": "SOL-1", "value": "1"
   },
        "approval_status":{"id":"2504000000006827"},
        "id":"2504000000966021",
        "title":"Solution Title"
     },
        "created_time":{
            "display_value":"Oct 25, 2021 01:17 PM",
            "value":"1635148045041"
        },
        "updated_time":{
   "display_value": "Oct 25, 2021 01:26 PM", 
   "value": "1635148585334"
  },
        "user":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
    "last_name":"User",
            "job_title":null
        }
    }
}

Delete A Comment To A Solution

This operation helps to delete a comment in a solution Mandatory Field(s):Solution IdSolution Comment Id

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations/{solution_comment_id}

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations/{solution_comment_id}\
      -X DELETE\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations/{solution_comment_id}";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
response = invokeurl
[
    url: url
    type: DELETE
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations/{solution_comment_id}"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$response = Invoke-RestMethod -Uri $url -Method delete -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations/{solution_comment_id}"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
httprequest = Request(url, headers=headers,method="DELETE")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
  "response_status": {
    "status_code": 2000,
    "status": "success"
  }
}

Add A Comment To A Solution

This operation helps to add a comment to a solution Mandatory Field(s): 1.Solution id

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments\
      -X POST\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{
    "solution_comment": {
        "comment": "Test comment", 
        "is_public": true
    }
}'
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {
    "solution_comment": {
        "comment": "Test comment", 
        "is_public": true
    }
};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: POST
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments"
$headers = @{"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
$input_data = @'
{
    "solution_comment": {
        "comment": "Test comment", 
        "is_public": true
    }
}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method post -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/comments"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{
    "solution_comment": {
        "comment": "Test comment", 
        "is_public": true
    }
}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="POST")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "response_status":{
        "status_code":2000,
        "status":"success"
    },
    "solution_comment":{
        "id":"2504000000966077", 
  "comment":"Test comment",
  "is_public":true,
      "solution":{
              "display_id": {
            "display_value": "SOL-1", "value": "1"
            },
           "approval_status":{"id":"2504000000006827"},
           "id":"2504000000966021",
           "title":"Solution Title"
      },
  "created_time":{
      "display_value":"Oct 25, 2021 01:17 PM",
      "value":"1635148045041"
  },
  "updated_time":null,
        "user":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
         "last_name":"User",
            "job_title":null
        }
    }
}

Dissociate A Solution From Another Solution

This operation helps to dissociate a solution from another solution Mandatory Field(s):Solution IdNote: Give {ids : solution_id(s)} in form data

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations\
      -X DELETE\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
response = invokeurl
[
    url: url
    type: DELETE
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$response = Invoke-RestMethod -Uri $url -Method delete -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/relations"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
httprequest = Request(url, headers=headers,method="DELETE")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
  "response_status": {
    "status_code": 2000,
    "status": "success"
  }
}

Dislike A Solution

This operation helps to dislike a solution Mandatory Field(s): 1.Solution id

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_dislike

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_dislike\
      -X PUT\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{}'
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_dislike";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: PUT
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_dislike"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$input_data = @'
{}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method put -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_dislike"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="PUT")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
    "response_status": {
        "status_code": 2000,
        "status": "success"
    },
    "solution":{
        "id":"2504000000966021",
   "display_id": {
                "display_value": "SOL-1", 
                "value": "1"
            },
        "title":"Solution Title",
        "description":"<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /><\/div><\/div>",
        "topic":{
             "parent_topic":null,
            "name":"General",
            "id":"2504000000007971"
        },
        "approval_status":{
            "name":"Approved",
            "id":"2504000000006827"
        },
        "likes":0,
        "dislikes":1,
        "keywords":"keyword1,keyword2",
        "is_public":true,
        "review_date":{
            "display_value":"Oct 28, 2022",
            "value":"1666895400000"
        },
        "expiry_date":{
             "display_value":"Nov 25, 2022",
             "value":"1669314600000"
         },
         "attachments":[],
         "created_time":{
            "display_value":"Oct 22, 2021 02:39PM",
            "value":"1634893774413"
        },
        "last_updated_time":{
            "display_value":"Oct 22, 2021 04:18 PM",
            "value":"1634899733610"
        },
        "created_by":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
             "last_name":"User",
            "job_title":null
        },
        "last_updated_by":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
            "last_name":"User",
            "job_title":null
        },
        "no_of_hits":15,
        "has_user_group":true,
        "user_group_mapping":[
            {
                    "name":"User group 1",
                    "id":"2504000000117111"
           },{
                    "name":"user group 2",
                    "id":"2504000000752081"
           }
          ],
        "private_comment_count":2,
        "public_comment_count":3,
         "udf_fields":{
            "udf_long1": "1225",
            "udf_long2": "1459402730964",
            "udf_date1": {
                "display_value": "Feb 26, 2016 11:00 AM",
                "value": "1456464639051"
            },
            "udf_char1": "abc@test.com",
            "udf_char2": "test char"
         },
        "problem_workaround":null,
        "problem_resolution":{
            "display_id":{
                    "display_value":"PB-1",
                "value":"1"
        },
        "id":"2504000000117001",
        "title":"problem title."
        }
    }
}

Approve A Solution

This operation helps you to approve a solution Mandatory Field(s):Solution ID

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_approve

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_approve\
      -X PUT\ 
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: application/x-www-form-urlencoded"\
      -d input_data='{
    "solution": {
        "operation_comment": "Approve test comment",
         "reset_ratings": true
    }
}'
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_approve";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "application/x-www-form-urlencoded",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
input_data = {
    "solution": {
        "operation_comment": "Approve test comment",
         "reset_ratings": true
    }
};
params = {"input_data": input_data};
response = invokeurl
[
    url: url
    type: PUT
    parameters: params
    headers: headers
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_approve"
$headers = @{ "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "application/x-www-form-urlencoded"}
$input_data = @'
{
    "solution": {
        "operation_comment": "Approve test comment",
         "reset_ratings": true
    }
}
'@
$data = @{ 'input_data' = $input_data}
$response = Invoke-RestMethod -Uri $url -Method put -Body $data -Headers $headers
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import urlopen,Request

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_approve"
headers ={"Accept": "application/vnd.manageengine.sdp.v3+json", 
          "Authorization" : "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx", 
          "Content-Type" : "application/x-www-form-urlencoded"}
input_data = '''{
    "solution": {
        "operation_comment": "Approve test comment",
         "reset_ratings": true
    }
}'''
data = urlencode({"input_data":input_data}).encode()
httprequest = Request(url, headers=headers,data=data, method="PUT")
try:
    with urlopen(httprequest) as response:
        print(response.read().decode())
except HTTPError as e:
    print(e.read().decode())
{
 "response_status": {
  "status_code": 2000,
  "status": "success"
    },
 "solution":{
        "id":"2504000000966021",
      "display_id": {
                "display_value": "SOL-1", 
                "value": "1"
            },
        "title":"Solution Title",
        "description":"<div class=\"personalize-wrapper\" style=\"font-family: &quot;PT Sans&quot;, Arial, Helvetica, sans-serif, sans-serif; font-size: 13px\"><div>Solution Content<br /><\/div><\/div>",
        "topic":{
             "parent_topic":null,
            "name":"General",
            "id":"2504000000007971"
        },
        "approval_status":{
            "name":"Approved",
            "id":"2504000000006827"
        },
        "likes":0,
        "dislikes":0,
        "keywords":"keyword1,keyword2",
        "is_public":true,
        "review_date":{
            "display_value":"Oct 28, 2022",
            "value":"1666895400000"
        },
        "expiry_date":{
             "display_value":"Nov 25, 2022",
             "value":"1669314600000"
         },
         "attachments":[],
  "created_time":{
   "display_value":"Oct 22, 2021 02:39PM",
   "value":"1634893774413"
  },
        "last_updated_time":{
             "display_value":"Oct 22, 2021 04:18 PM",
            "value":"1634899733610"
        },
  "created_by":{
   "email_id":"test_mail@zmail.com",
   "is_technician":true,
   "sms_mail":"test_sms_mail@smsmail.com",
   "mobile":null,
   "user_scope":"0",
   "phone":null,
   "name":"Test User",
   "id":"2504000000098174",
   "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
   "is_vip_user":false,
   "department":null,
   "first_name":"Test",
             "last_name":"User",
   "job_title":null
  },
  "last_updated_by":{
            "email_id":"test_mail@zmail.com",
            "is_technician":true,
            "sms_mail":"test_sms_mail@smsmail.com",
            "mobile":null,
            "user_scope":"0",
            "phone":null,
            "name":"Test User",
            "id":"2504000000098174",
            "photo_url": "https://contacts.zoho.com/file?exp=10&ID=56631260&t=user&height=60&width=60",
            "is_vip_user":false,
            "department":null,
            "first_name":"Test",
    "last_name":"User",
            "job_title":null
        },
        "no_of_hits":15,
        "has_user_group":true,
        "user_group_mapping":[
            {
                    "name":"User group 1",
                    "id":"2504000000117111"
               },{
                    "name":"user group 2",
                    "id":"2504000000752081"
               }
              ],
  "private_comment_count":2,
   "public_comment_count":3,
         "udf_fields":{
   "udf_long1": "1225",
    "udf_long2": "1459402730964",
    "udf_date1": {
    "display_value": "Feb 26, 2016 11:00 AM",
    "value": "1456464639051"
    },
    "udf_char1": "abc@test.com",
    "udf_char2": "test char"
         },
  "problem_workaround":null,
  "problem_resolution":{
   "display_id":{
    "display_value":"PB-1",
    "value":"1"
   },
   "id":"2504000000117001",
   "title":"problem title."
  }
 }
}

Upload An Attachment For A Solution

This operation helps to add attachments to a solution. Mandatory Field(s): 1.Solution id Note: Give {filename : file_name} in form data

Mandatory Fields :- filename

Url

<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_uploads

Attributes

filename (FILE)
The path of the file to be uploaded must be given with ’@’ at the beginning of the path.

filename (FILE)
The name of the file that is upload.

Example

test-document.txt

addtoattachment (BOOLEAN)
Denotes whether to add the file as an attachment to the associated entity.

addtoattachment (BOOLEAN)
Boolean value which can have two possible values.

Example

True or False

files (FILES)
The details of the file is contained here.
show attribute

files (FILES)
Contains the information about the file that has been uploaded.

Example

{
  "size": "601",
  "content_type": "application/unknown-mime-type",
  "file_id": "6003",
  "name": "test-document.txt",
  "content_url": "<file path>"
  "id": "17322245500049868"
}

size (LONG)
The size of the file that is uploaded.

size (LONG)
Numerical digits which are considered to have larger values

Example

234759602834500

content_type (STRING)
The type of the content of the file.

content_type (STRING)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

file_id (LONG)
The file_id is used to add that file as an attachment to the entity

file_id (LONG)
Numerical digits which are considered to have larger values

Example

234759602834500

name (STRING)
The name of the file.

name (STRING)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

content_url (STRING)
The url of the file that is uploaded.

content_url (STRING)
A text in a plain format. No rich text or new line characters allowed.

Example

Sample Content

$ curl <service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_uploads\
      -X POST\
      -H "Accept: application/vnd.manageengine.sdp.v3+json"\
      -H "Authorization: Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"\
      -H "Content-Type: multipart/form-data"\
      -F "filename=@local_file_path" -F "addtoattachment=true"\
// Deluge Sample script
url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_uploads";
headers = {"Accept":"application/vnd.manageengine.sdp.v3+json",
           "Content-Type": "multipart/form-data",
           "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"};
file_list = List();
param1 = {"paramName":"filename", "content":"local_file_path"};   
file_list.add(param1);                 
response = invokeurl
[
    url: url
    type: POST
    headers: headers
    files: file_list 
];
info response;
#Powershell version - 5.1
$url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_uploads"
$filePath = "local_file_path"                    
$addtoattachment = "true"

$boundary = [System.Guid]::NewGuid().ToString()
$headers = @{
    "Accept" = "application/vnd.manageengine.sdp.v3+json"
    "Authorization" = "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx"
    "Content-Type" = "multipart/form-data; boundary=`"$boundary`""
}

$content = [System.Text.Encoding]::GetEncoding('iso-8859-1').GetString([System.IO.File]::ReadAllBytes($filePath))
$body = (
    "--$boundary",
    "Content-Disposition: form-data; name=`"addtoattachment`"`r`n",
    "$addtoattachment",
    "--$boundary",
    "Content-Disposition: form-data; name=`"filename`"; filename=`"$(Split-Path $filePath -Leaf)`"",
    "Content-Type: $([System.Web.MimeMapping]::GetMimeMapping($filePath))`r`n",
    $content,
    "--$boundary--`r`n"
) -join "`r`n"
$response = Invoke-RestMethod -Uri $url -Method post -Headers $headers -Body $body
$response
#Python version - 3.10
from urllib.error import HTTPError
from urllib.request import Request,urlopen
import mimetypes
import ntpath
import uuid

url = "<service domain|custom domain>/app/<portal>/api/v3/solutions/{solution_id}/_uploads"
file_path = "local_file_path"
add_to_attachments = "true"

boundary = uuid.uuid4()
headers = {
    "Content-Type": f"multipart/form-data; boundary={boundary}",
    "Accept": "application/vnd.manageengine.sdp.v3+json",
    "Authorization": "Zoho-oauthtoken 1000.7xxx98976ab0xxxxxx19901e7551be57.bxxxx921ed64c04f79622bebcfxxxxxx",
}

with open(file_path, "rb") as f:
    content = f.read()
body = (
    bytes(f'--{boundary}\r\nContent-Disposition: form-data; name="addtoattachment"\r\n\r\n{add_to_attachments}\r\n', "utf-8")
    + bytes(f'--{boundary}\r\nContent-Disposition: form-data; name="filename"; filename="{ntpath.basename(file_path)}"\r\nContent-Type: {mimetypes.guess_type(file_path)[0] or "application/octet-stream"}\r\n\r\n', "utf-8")
    + content
    + bytes(f"\r\n--{boundary}--", "utf-8")
)

httprequest = Request(url, data=body, headers=headers)
try:
    with urlopen(httprequest) as response:
        print(response.read().decode("utf-8"))
except HTTPError as e:
    print(e.read().decode())
{
    "response_status": [
        {
            "status_code": 2000,
            "status": "success"
        }
    ],
    "files": [
        {
            "content_type": "image/jpeg",
            "size": "241480",
            "file_id": "2002",
            "name": "00f13d1f7cd9ca47c8eb4b6fdb89b0ee.jpg",
            "content_url": "/solutions/_uploads/2002"
        }
    ]
}