Admin Operations



    To fetch information pertaining to Requests based on entities like Category, Status, Impact, Priority, Request Template etc., use the following URL pattern:

    http://<servername>:<port number>/sdpapi/admin/attribute/<respective-id>/

     

    Example:

    http://localhost:8080/sdpapi/admin/category/<Category-ID>


     

    Contents:




     

    Category Operations

     

    GET Category

    http://<servername>:<portnumber>/admin/category/<Category ID>

     

    Example:

    http://localhost:8080/sdpapi/admin/category/25

    Keypoints:

    1. The operation name "GET"   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".

    3. Input is not required for "GET" category operation.

    Output Format: (for "GET" category)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for Category ID: 1</message>

    </result>

    <Details type="category">

    <record>

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>General<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    <parameter>

    <name>description<name>

    <value>General Problems<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    GET_ALL Category

    http://<servername>:<portnumber>/admin/category/

     

    Example:

    http://localhost:8080/sdpapi/admin/category/

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" category operation.

    Output Format: (for "GET_ALL" category)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Category details fetched successfully</message>

    </result>

    <Details type="category">

    <record URI="http://localhost:8080/sdpapi/admin/category/2/">

    <parameter>

    <name>id<name>

    <value>2<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Desktop Hardware<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/category/1/">

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>General<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    Sub-Category Operations

     

    GET SubCategory

    http://<servername>:<portnumber>/sdpapi/admin/subcategory/<subcategory ID>

     

    Example:

    http://localhost:8080/sdpapi/admin/subcategory/25

    Keypoints:

    1. The operation name "GET"  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".

    3. Input is not required for "GET" subcategory operation.



    Output Format: (for "GET" subcategory)

     

    <xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for SubCategoryID: 1</message>

    </result>

    <Details type="subcategory">

    <record>

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>New Joinee<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    <parameter>

    <name>description<name>

    <value>A New employee joining to the company<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    GET_ALL SubCategory

    http://localhost:8080/sdpapi/admin//subcategory/category/<category-id>

     

    Example:

    http://localhost:8080/sdpapi/admin/subcategory/category/25

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" subcategory operation.



    Output Format: (for "GET_ALL" subcategory)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>SubCategory details fetched successfully</message>

    </result>

    <Details type="subcategory">

    <record URI="http://localhost:8080/sdpapi/admin/subcategory/2/">

    <parameter>

    <name>id<name>

    <value>2<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Employee Leaving<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/subcategory/4/">

    <parameter>

    <name>id<name>

    <value>4<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Move Employee<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/subcategory/1/">

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>New Joinee<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/subcategory/3/">

    <parameter>

    <name>id<name>

    <value>3<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Password Reset<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    Item Operations

     

    GET Item

    http://<servername>:<portnumber>/sdpapi/admin/item/<item ID>

     

    Example:

    http://localhost:8080/sdpapi/admin/item/25

    Keypoints:

    1. The operation name "GET"  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".

    3. Input is not required for "GET" item operation.

     

    Output Format: (for "GET" item)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for ItemID: 1</message>

    </result>

    <Details type="item">

    <record>

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Install<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    <parameter>

    <name>description<name>

    <value>MS Office install<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    GET_ALL Item

    http://<servername>:<portnumber>/sdpapi/admin/item/subcategory/subcategory ID/

     

    Example:

    http://localhost:8080/sdpapi/admin/item/subcategory/25/

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" Item operation.



    Output Format: (for "GET_ALL" Item)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Item details fetched successfully</message>

    </result>

    <Details type="item">

    <record URI="http://localhost:8080/sdpapi/admin//item/6/">

    <parameter>

    <name>id<name>

    <value>6<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Install<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/item/7/">

    <parameter>

    <name>id<name>

    <value>7<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Uninstall<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    Status Operations

     

    GET Status

    http://<servername>:<portnumber>/sdpapi/admin/status/<status ID>

     

    Example:

    http://localhost:8080/sdpapi/admin/status/25/

    Keypoints:

    1. The operation name "GET"  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".

    3. Input is not required for "GET" Status operation.



    Output Format: (for "GET" status)

     

    <xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for StatusID: 1</message>

    </result>

    <Details type="status">

    <record>

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Open<value>

    </parameter>

    <parameter>

    <name>description<name>

    <value>Request Pending<value>

    </parameter>

    <parameter>

    <name>is pending<name>

    <value>true<value>

    </parameter>

    <parameter>

    <name>stopclock<name>

    <value>false<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    GET_ALL Status

    http://<servername>:<portnumber>/sdpapi/admin/status/

     

    Example:

    http://localhost:8080/sdpapi/admin/status/

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" Status operation.



    Output Format: (for "GET_ALL" Status)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Status details fetched successfully</message>

    </result>

    <Details type="status">

    <record URI="http://localhost:8080/sdpapi/admin/status/301/">

    <parameter>

    <name>id<name>

    <value>301<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>asd,asd<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/status/3/">

    <parameter>

    <name>id<name>

    <value>3<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>closed<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    Level Operations

     

    GET Level

    http://<servername>:<portnumber>/sdpapi/admin/level/<level ID>

     

    Example:

    http://localhost:8080/sdpapi/admin/level/25/

    Keypoints:

    1. The operation name "GET"  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".

    3. Input is not required for "GET" Status operation.



    Output Format: (for "GET" level)

     

    <xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for Level ID: 1</message>

    </result>

    <Details type="level">

    <record>

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Tier 1<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    <parameter>

    <name>description<name>

    <value>info<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    GET_ALL Level

    http://<servername>:<portnumber>/sdpapi/admin/level/

    Example:

    http://localhost:8080/sdpapi/admin/level/

     

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" Level operation.



    Output Format: (for "GET_ALL" level)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Level details fetched successfully</message>

    </result>

    <Details type="level">

    <record URI="http://localhost:8080/sdpapi/admin/level/1/">

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Tier 1<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/level/2/">

    <parameter>

    <name>id<name>

    <value>2<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Tier 2<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    Mode Operations

    GET Mode

    http://<servername>:<portnumber>/sdpapi/admin/mode/<mode ID>

     

    Example:

    http://localhost:8080/sdpapi/admin/mode/25/

    Keypoints:

    1. The operation name "GET"  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".

    3. Input is not required for "GET" Mode operation.



    Output Format: (for "GET" mode)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for ModeID: 1</message>

    </result>

    <Details type="mode">

    <record>

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>E-Mail<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    <parameter>

    <name>description<name>

    <value>Request through mail<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    GET_ALL Mode

    http://<servername>:<portnumber>/sdpapi/admin/mode/

     

    Example:

    http://localhost:8080/sdpapi/admin/mode/

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" Mode operation.



    Output Format: (for "GET_ALL" Mode)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Mode details fetched successfully</message>

    </result>

    <Details type="mode">

    <record URI="http://localhost:8080/sdpapi/admin/mode/1/">

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>E-Mail<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/mode/3/">

    <parameter>

    <name>id<name>

    <value>3<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Phone Call<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    Impact Operations

     

    GET Impact

    http://<servername>:<portnumber>/sdpapi/admin/impact/<impact ID>

     

    Example:

    http://localhost:8080/sdpapi/admin/impact/25

    Keypoints:

    1. The operation name "GET"   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".

    3. Input is not required for "GET" Impact operation.

     

    Output Format: (for "GET" impact)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for Impact ID: 1</message>

    </result>

    <Details type="impact">

    <record>

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>High<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    <parameter>

    <name>description<name>

    <value>The impact is high so that it could affect the business<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    GET_ALL Impact

    http://<servername>:<portnumber>/sdpapi/admin/impact/

     

    Example:

    http://localhost:8080/sdpapi/admin/impact/

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" Impact operation.



    Output Format: (for "GET_ALL" Impact)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Impact details fetched successfully</message>

    </result>

    <Details type="impact">

    <record URI="http://localhost:8080/sdpapi/admin/impact/1/">

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>High<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/impact/3/">

    <parameter>

    <name>id<name>

    <value>3<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Low<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    Urgency Operations

     

    GET Urgency

    http://<servername>:<portnumber>/sdpapi/admin/urgency/<urgency ID>

     

    Example:

    http://localhost:8080/sdpapi/admin/urgency/25/

    Keypoints:

    1. The operation name "GET"  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".

    3. Input is not required for "GET" Urgency operation.



    Output Format: (for "GET"urgency)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for Level ID: 1</message>

    </result>

    <Details type="urgency">

    <record>

    <parameter>

    <name>id<name>

    <value>URGENCYID<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>NAME<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>ISDELETED<value>

    </parameter>

    <parameter>

    <name>description<name>

    <value>DESCRIPTION<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    GET_ALL Urgency

    http://localhost:8080/sdpapi/admin/urgency/

     

    Example:

    http://localhost:8080/sdpapi/admin/urgency/

     

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" Urgency operation.



    Output Format: (for "GET_ALL" Impact)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Urgency details fetched successfully</message>

    </result>

    <Details type="urgency">

    <record URI="http://localhost:8080/sdpapi/admin/urgency/2/">

    <parameter>

    <name>id<name>

    <value>2<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>High<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/urgency/4/">

    <parameter>

    <name>id<name>

    <value>4<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Low<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    Priority Operations

     

    GET Priority

    http://<servername>:<portnumber>/sdpapi/admin/priority/<priority ID>

     

    Example:

    http://localhost:8080/sdpapi/admin/priority/25/

     

    Keypoints:

    1. The operation name "GET"  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".

    3. Input is not required for "GET" Priority operation.



    Output Format: (for "GET" priority)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for Priority ID: 1</message>

    </result>

    <Details type="priority">

    <record>

    <parameter>

    <name>id<name>

    <value>PRIORITYID<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>PRIORIYNAME<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>ISDELETED<value>

    </parameter>

    <parameter>

    <name>description<name>

    <value>PRIORITYDESCRIPTION<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    GET_ALL Priority

    http://<servername>:<portnumber>/sdpapi/admin/priority/

     

    Example:

    http://localhost:8080/sdpapi/admin/priority/

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" Priority operation.



    Output Format: (for "GET_ALL" Priority)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Priority details fetched successfully</message>

    </result>

    <Details type="priority">

    <record URI="http://localhost:8080/sdpapi/admin/priority/4/">

    <parameter>

    <name>id<name>

    <value>4<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>High<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    <parameter>

    <name>color<name>

    <value>#ff0000<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/priority/1/">

    <parameter>

    <name>id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>name<name>

    <value>Low<value>

    </parameter>

    <parameter>

    <name>isdeleted<name>

    <value>false<value>

    </parameter>

    <parameter>

    <name>color<name>

    <value>#666666<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    Request Template Operations

    http://<servername>:<portnumber>/sdpapi/admin/request_template/<templateID>

     

    Example:

    http://localhost:8080/sdpapi/admin/request_template/25/

     

    Keypoints:

    1. The operation name "GET"  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".

    3. Input is not required for "GET" Request Template Details operation.



    Output Format: (for "GET" Request Template Details)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for Request Templates</message>

    </result>

    <Details type="request_template">

    <record>

    <parameter>

    <name>Templateid<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>Templatename<name>

    <value>Mail fetching<value>

    </parameter>

    <parameter>

    <name>Status<name>

    <value>Open<value>

    <parameter>

    <name>Mode<name>

    <value>Phone Call<value>

    </parameter>

    <parameter>

    <name>Level<name>

    <value>Tier 1<value>

    </parameter>

    <parameter>

    <name>Priority<name>

    <value>Normal<value>

    </parameter>

    <parameter>

    <name>Technician<name>

    <value>Shawn Adams<value>

    </parameter>

    <parameter>

    <name>Group<name>

    <value>Printer Problems<value>

    </parameter>

    <parameter>

    <name>Category<name>

    <value>General<value>

    </parameter>

    <parameter>

    <name>Subcategory<name>

    <value/>

    </parameter>

    <parameter>

    <name>Item<name>

    <value/>

    </parameter>

    <parameter>

    <name>Subject<name>

    <value>Unable to fetch mails<value>

    </parameter>

    <parameter>

    <name>Description<name>

    <value>I am unable to fetch mails from the mail server<value>

    </parameter>

    <parameter>

    <name>Requester Details<name>

    <value/>

    </parameter>

    <parameter>

    <name>E-mail Id(s) To Notify<name>

    <value/>

    </parameter>

    <parameter>

    <name>Service Category<name>

    <value>User Management<value>

    </parameter>

    <parameter>

    <name>Requester Type<name>

    <value>Request for Information</value>

    </parameter>

    <parameter>

    <name>Impact<name>

    <value>Medium</value>

    </parameter>

    <parameter>

    <name>Impact Details<name>

    <value/>

    </parameter>

    <parameter>

    <name>Urgency<name>

    <value>Urgent</value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    GET_ALL Request Template Details

    http://<servername>:<portnumber>/sdpapi/admin/request_template/

     

    Example:

    http://localhost:8080/sdpapi/admin/request_template/

     

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" Request Template Details operation.



    Output Format: (for "GET_ALL" Request Templatet)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for Request Templates</message>

    </result>

    <Details type="request_template">

    <record URI="http://localhost:8080/sdpapi/admin/request_template/1">

    <parameter>

    <name>TEMPLATEID<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>TEMPLATENAME<name>

    <value>Mail fetching<value>

    </parameter>

    <parameter>

    <name>comments<name>

    <value>This template is used to create request when there is problem in mail fetching<value>

    </parameter>

    <parameter>

    <name>ISDELETED<name>

    <value>false<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/request_template/2">

    <parameter>

    <name>TEMPLATEID<name>

    <value>2<value>

    </parameter>

    <parameter>

    <name>TEMPLATENAME<name>

    <value>Unable to browse<value>

    </parameter>

    <parameter>

    <name>COMMENTS<name>

    <value>This template is used to create request when user is not able to browse internet<value>

    </parameter>

    <parameter>

    <name>ISDELETED<name>

    <value>false<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     



    Support Group Operations

     

    GET_ALL Support Group Details

    http://<servername>:<portnumber>/sdpapi/admin/supportgroup/

     

    Example:

    http://localhost:8080/sdpapi/admin/supportgroup/

     

    Keypoints:

    1. The operation name "GET_ALL"  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".

    3. Input is not required for "GET_ALL" Request Template Details operation.



    Note: Please note that the Input and Output XML formats have been changed. But for compatibility reasons, the Input operation will support both the formats.

     

    Input:

     

    <?xml version="1.0" encoding="UTF-8"?>

    <Details>

    <siteName></siteName>

    </Details>

    </operation>

     



    Output Format: (for "GET_ALL" SupportGroup)

     

    <?xml version="1.0" encoding="UTF-8" ?>

    <operation name="GET_ALL">

    <result>

    <statuscode>200</statuscode>

    <status>Success</status>

    <message>Details fetched successfully for Technician groups in site:null</message>

    </result>

    <Details type="supportgroup">

    <record URI="http://localhost:8080/sdpapi/admin/supportgoup/1/">

    <parameter>

    <name>group id<name>

    <value>1<value>

    </parameter>

    <parameter>

    <name>group name<name>

    <value>Hardware Problems<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/supportgroup/2/">

    <parameter>

    <name>group id<name>

    <value>2<value>

    </parameter>

    <parameter>

    <name>group name<name>

    <value>Network<value>

    </parameter>

    </record>

    <record URI="http://localhost:8080/sdpapi/admin/supportgroup/3/">

    <parameter>

    <name>group id<name>

    <value>3<value>

    </parameter>

    <parameter>

    <name>groupname<name>

    <value>Shawn Adams<value>

    </parameter>

    </record>

    </Details>

    </Operation>

     

     

     

     

     

    Copyright © 2017, ZOHO Corp. All Rights Reserved.