Technician Operations
To get technician related information regarding all Technicians, use the following URL pattern:
http://<servername>:<port number>/sdpapi/technician/
Example:
http://localhost:8080/sdpapi/techician/
Contents:
Keypoints:
-
The operation name "GET_ALL" should be sent as a "POST attribute" with key "OPERATION_NAME".
-
The technician key should be sent as a "POST attribute" with key "TECHNICIAN_KEY".
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:
<?xml version="1.0" encoding="UTF-8"?> <Details> <siteName></siteName> <groupid></groupid> </Details> </operation>
|
Output Format :
<?xml version="1.0" encoding="UTF-8" ?> <operation name="GET_ALL"> <result> <statuscode>200</statuscode> <status>Success</status> <message>Details fetched successfully for Technician in group: nullof site:null</message> </result> <Details type="technician"> <record URI=="http://localhost:8080/sdpapi/technician/4/"> <parameter> <name>technician id<name> <value>4<value> </parameter> <parameter> <name>technicianname<name> <value>administrator<value> </parameter> </record> <record URI=="http://localhost:8080/sdpapi/technician/5/"> <parameter> <name>technician id<name> <value>5<value> </parameter> <parameter> <name>technicianname<name> <value>Shawn Adams<value> </parameter> </record> </Details> </Operation> |