Requester Operations

     

    To get requester related information regarding all requesters, use the following URL pattern:

    http://<servername>:<port number>/sdpapi/requester/

     

    Example:

    http://localhost:8080/sdpapi/requester/


    Get All Requesters

    Keypoints:

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

    2. The input values are case sensitive

    3. AND Operation is applied incase you give more than parameter.

    4. For contact number parameter, all the numbers associated with the requester (office/mobile) will be fetched.

    5. Values fetched (the result) would be based on the exact value provided; for example, you are searching for requester John, and there exists a requester by name Johnathan, then he would not be fetched; if you desire to fetch the requester Johnthan as well, you have to append "*" as suffix to John. Eg: <value>john*</value>. The same rule applies for prefix as well.

    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 Format

     

    <Details>

    <parameter>

    <name>loginname</name>

    <value>guest</value>

    </parameter>

    <parameter>

    <name>domainname</name>

    <value></value>

    </parameter>

    <parameter>

    <name>department</name>

    <value>administration</value>

    </parameter>

    <parameter>

    <name>sitename</name>

    <value>asd</value>

    </parameter>

    <parameter>

    <name>contactnumber</name>

    <value>1234567890</value>

    </parameter>

    <parameter>

    <name>employeeid</name>

    <value>888</value>

    </parameter>

    <parameter>

    <name>employeeid</name>

    <value>888</value>

    </parameter>

    <parameter>

    <name>employeeid</name>

    <value>888</value>

    </parameter>

    <parameter>

    <name>employeeid</name>

    <value>888</value>

    </parameter>

    <parameter>

    <name>employeeid</name>

    <value>888</value>

    </parameter>

    <parameter>

    <name>name</name>

    <value>guest</value>

    </parameter>

    <parameter>

    <name>email</name>

    <value>sd@asd.com</value>

    </parameter>

    <parameter>

    <name>jobtitle</name>

    <value>job title</value>

    </parameter>

    <parameter>

    <name>noofrows</name>

    <value>10</value>

    </parameter>

    </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.

     

    Output Format

     

    <Details type="Requester" >

    <record URI="http://vivin-0415:8080/sdpapi/requester/3/">

    <parameter>

    <name>userid</name>

    <value>3</value>

    </parameter>

    <parameter>

    <name>username</name>

    <value>guest</value>

    </parameter>

    <parameter>

    <name>emailid</name>

    <value>asd@asd.com</value>

    </parameter>

    <parameter>

    <name>department</name>

    <value>Administration</value>

    </parameter>

    <parameter>

    <name>sitename</name>

    <value>asd</value>

    </parameter>

    <parameter>

    <name>domainname</name>

    <value>-</value>

    </parameter>

    <parameter>

    <name>employeeid</name>

    <value>888</value>

    </parameter>

    <parameter>

    <name>jobtitle</name>

    <value>job title</value>

    </parameter>

    <parameter>

    <name>landline</name>

    <value>8888</value>

    </parameter>

    <parameter>

    <name>mobile</name>

    <value>1234567890</value>

    </parameter>

    </Details>

    </Operation>

     

     

     

     

    Copyright © 2017, ZOHO Corp. All Rights Reserved.