Cancelado

Integração API ManageEngine

Preciso desenvolver uma integração do sistema ServiceDesk Plus MSP da ManageEngine ([url removed, login to view]) para que consigamos imprimir chamados externos (RAT) apenas digitando o número do chamado (ID).

O sistema já conta com uma API que coleta os dados do BD.

Preciso apenas de alguém para integrar a API a uma consulta PHP que gere um RAT parecido com o da imagem anexa.

A documentação da API está neste link:

[url removed, login to view]

O processo é bem simples. Quero uma página php ou html, que quando digite o número do CHAMADO, ele colete os dados do chamado no sistema e coloque na folha e libere um botão para imprimir.

Até o momento, já consigo coletar os dados do sistema e gerar em XML. Preciso agora, transfromar este XML no RAT que anexei.

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<operation>
<operationstatus>Success</operationstatus>
<message>
WorkOrder Details Retrieved Successfully for the WorkOrderID: 2129
</message>
<Details>
<propname key="workorderid">2129</propname>
<propname key="requester">Armênio Silva Coutinho Jr.</propname>
<propname key="createdby">Walison Ferreira</propname>
<propname key="createdtime">1422909013794</propname>
<propname key="duebytime">1423080000794</propname>
<propname key="responseduebytime">1422968400794</propname>
<propname key="fr_duetime">1422968400794</propname>
<propname key="respondedtime">0</propname>
<propname key="resolvedtime">0</propname>
<propname key="completedtime">0</propname>
<propname key="shortdescription">
Configurar contador de impressões para envio por e-mail.
</propname>
<propname key="timespentonreq">0hrs 0min</propname>
<propname key="subject">Configurar contador de impressões.</propname>
<propname key="requesttemplate">Default Request</propname>
<propname key="mode">Telefone</propname>
<propname key="sla">48H</propname>
<propname key="asset">null</propname>
<propname key="department">General</propname>
<propname key="site">LopeseRibeiro</propname>
<propname key="account">Lopes e Ribeiro</propname>
<propname key="service">null</propname>
<propname key="category">null</propname>
<propname key="subcategory">null</propname>
<propname key="item">null</propname>
<propname key="technician">Adriano Patrocinio</propname>
<propname key="status">Aberto</propname>
<propname key="priority">Normal</propname>
<propname key="level">Nível I - Requisições Simples</propname>
<propname key="impact">Afeta o Departamento</propname>
<propname key="urgency">Normal</propname>
<propname key="impactdetails">-</propname>
<propname key="requesttype">Incidente</propname>
<propname key="closurecode">null</propname>
<propname key="closurecomments">null</propname>
<propname key="group">Geral</propname>
<propname key="description">
Configurar contador de impressões para envio por e-mail.
</propname>
<propname key="modo atendimento">Presencial</propname>
</Details>
</operation>

O código que usei para gerar o XML:

<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<!--(==============================================================)-->
<!--(Document created with RoboEditor. )============================-->
<!--(==============================================================)-->

<head>

<title>Get Request Form</title>

<!--(Meta)==========================================================-->

<meta http-equiv=Content-Type content="text/html; charset=windows-1252" />
<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
<meta name=generator-major-version content=0.1>
<meta name=generator-minor-version content=1>
<meta name=filetype content=kadov>
<meta name=filetype-version content=1>
<meta name=page-count content=1>
<meta name=layout-height content=502>
<meta name=layout-width content=817>


<!--(Links)=========================================================-->

<link href="http://www.manageengine.com/products/service-desk/help/adminguide/api/api-docs/style/api-style.css" type="text/css" rel="stylesheet">



</head>

<!--(Body)==========================================================-->


<body>

<form ACTION="http://192.168.0.9:8080/servlets/RequestServlet"
method=post>
<!--(Table)=========================================================-->
<!--begin!kadov{{--><div align=center><!--}}end!kadov-->
<table x-use-null-cells
style="float: aligncenter;
width: 550px;
border: 1px #ccc solid;
border-spacing: 0px;
border-spacing: 0px;"
cellspacing=0
width=550>

<tr>
<th colspan=3
style="text-align: center;
padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;"
align=center>Get Request Form</th>
<td_null>
<td_null></tr>

<tr>
<td colspan=3
style="background-color: #f7f7f7;
text-align: right;
padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;"
align=right
bgcolor=#F7F7F7><span class=mandatory>*</span> - Mandatory</td>
<td_null>
<td_null></tr>

<tr class=oddRow
style="x-cell-content-align: top;"
valign=top>
<td style="padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;">Request ID<span class=mandatory>*</span></td>
<td style="padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;">:</td>
<td style="padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;"><!--kadov_tag{{<implicit_p>}}--><input
type=text
class=txt
NAME=workOrderID
/
style="width: 200px;"></td></tr>

<tr class=oddRow
style="x-cell-content-align: top;"
valign=top>
<td style="padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;">Username</td>
<td style="padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;">:</td>
<td style="padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;"><!--kadov_tag{{<implicit_p>}}--><input
type=text
NAME=username
class=txt
value
/
style="width: 200px;"></td></tr>

<tr class=evenRow
style="x-cell-content-align: top;"
valign=top>
<td style="padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;">Password</td>
<td style="padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;">:</td>
<td style="padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;"><!--kadov_tag{{<implicit_p>}}--><input
type=text
NAME=password
value
class=txt
/
style="width: 200px;"></td></tr>

<!--Uncomment this if user is imported from active directory-->
<!--
<tr class="oddRow" valign="top">
<td>Domain Name</td>
<td>:</td>
<td><INPUT TYPE=TEXT NAME="DOMAIN_NAME" value="HELPDESK-TEST10" SIZE=20 STYLE="width: 1.82in; height: 0.26in"></td>
</tr>
<tr class="evenRow" valign="top">
<td>Authentication Mode</td>
<td>:</td>
<td><INPUT TYPE=radio NAME="logonDomainName" value="Local Authentication" >Local Authentication&nbsp;
<INPUT TYPE=radio NAME="logonDomainName" value="AD_AUTH" >AD Authentication</P></td></tr></td>
</tr> -->
<tr
style="text-align: center;"
align=center>

<td class=footer
colspan=5
style="padding-left: 5px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;"><!--kadov_tag{{<implicit_p>}}--><input
TYPE=SUBMIT
NAME=operation
VALUE=GetRequestDetails
class=btnsubmitact></td>
<td_null>
<td_null>
<td_null>
<td_null></tr>
</table>
<!--begin!kadov{{--></div><!--}}end!kadov-->
</form>

<!--
<table width="550" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="pagenavlink"><a href="#"><< Back</a></td>
</tr>
</table>-->


<div style="font:12px arial; padding:3px; color:#666666;"><div style="float:left;"><a href="http://www.servicedeskplus.com" target=_blank>ServiceDeskPlus - Help Desk and Asset Management Software</a></div> <br><div style="float:left;">Copyright &#169; 2012, <a href="http://www.zohocorp.com" target=_blank>ZOHO Corp</a>. All Rights Reserved.</div> <div style="float:right;"<a href="http://www.manageengine.com" target=_blank>ManageEngine</div></div>

</html>

Habilidades: PHP, Arquitetura de software

Veja mais: desk o, www o desk com, O desk, imagem, Gere, ele, bem, help desk software php, service help desk, web service wcf http basic authentication, magento web service products, twitter api net web service, service request sharepoint desk, servicedesk, google maps api find lat lon cellid http post method, google api keyword tool service, ebay api international shipping service free shipping, paypal api soap windows service, ruby api image uploading service, google checkout notification api net web service

Acerca do Empregador:
( 11 comentários ) Juiz de Fora, Brazil

ID do Projeto: #7096830