AssetExplorer

    Delete CI Type



    To delete a CI Type use the following URL format:

    http://<servername>:<portnumber>/api/cmdb/citype/CI Type Name/delete


    Assuming you are deleting a CI Type Server of the local server with port number 8080, the URL should be given as:

    http://localhost:8080/api/cmdb/citype/My Server/delete/


    Keypoints:

    1. The operation name "delete"  should be sent as a "POST attribute" with key "OPERATION_NAME".

    2. The technician key should be sent as a "POST attribute" with key "TECHNICIAN_KEY".

    Note:  

    • Parameter Result Format - Optional. specifies the return format ( XML or JSON )

    • If no result format specified then API will return output in JSON format.

     

    Sample XML Output Format

    <?xml version="1.0" encoding="UTF-8"?>
    <API version="1.0">
        <response>
                <result>
                    <statuscode>200</statuscode>
                    <status>Success</status>
                    <message>1 records removed successfully.</message>
                    <created-date>Mar 22, 2013 10:58 AM</created-date>
                </result>
         </response>
    </API>

     


    Sample JSON Output Format

    {
        "API": {
            "response": {
                "result": {
                    "created-date": "Sep 2, 2013 03:23 PM",
                    "message": "1 records removed successfully.",
                    "status": "Success",
                    "statuscode": "200"
                }
            },
            "version": "1.0"
        }
    }

     

     

    Zoho Corp. All rights reserved.