Documentation forSolarWinds Service Desk

Change Catalog

Getting a list of all change catalog items:

curl -H "X-Samanage-Authorization: Bearer TOKEN" -H 'Accept: application/vnd.samanage.v2.1+xml' -X GET

https://api.samanage.com/change_catalogs.xml

Getting change catalog item details (using change catalog item ID number):

curl -H "X-Samanage-Authorization: Bearer TOKEN" -H 'Accept: application/vnd.samanage.v2.1+xml' -X GET

https://api.samanage.com/change_catalogs/ITEM_ID.xml

Create a new change catalog item:

curl -H "X-Samanage-Authorization: Bearer TOKEN" -d 'INPUT_XML' -H 'Accept: application/xml' -H 'Content-Type:text/xml' -X POST

https://api.samanage.com/change_catalogs.xml

XML Example:

<change_catalog>

<name>The name</name>

<description>A description</description>

<state>Draft</state>

<change_plan>A change plan</change_plan>

<rollback_plan>A rolback plan</rollback_plan>

<test_plan>How will you test</test_plan>

<priority>Medium</priority>

<type>Standard</type>

<show_in_portal>false</show_in_portal>

<site><name>Site Name</name></site>

<department><name>Department Name</name></department>

</change_catalog>

JSON Example:

{

"change_catalog": {

"name": "The name",

"description": "A description",

"state": "Draft",

"change_plan": "A change plan",

"rollback_plan": "A rolback plan",

"test_plan": "How will you test",

"priority": "Medium",

"type": "Standard",

"show_in_portal": "false",

"site": { "name": "Site Name" },

"department": { "name": "Department Name" }

}

}