![]() ![]() ![]() |
要获取技术员的相关信息,使用以下URL:
http://<servername>:<port number>/sdpapi/technician/
示例:
http://localhost:8080/sdpapi/techician/
关键参数:
操作名称 - 属性名称为:"OPERATION_NAME",值为:"GET_ALL"。
技术员密钥 - 属性名称为:"TECHNICIAN_KEY",值为:密钥的值。
注意: 输入和输出的XML格式已经更改,但为了兼容,输入操作支持两种格式。
输入格式:
<?xml version="1.0" encoding="UTF-8"?> <Details> <siteName></siteName> <groupid></groupid> </Details> </operation>
|
输出格式 :
<?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> |
![]() ![]() ![]() |