<- Previous   First   Next ->

CONTACTLINE v3 - Gestão Centralizada

 Manual_API_generico_v307-00.jpg 2229x692 (pixels)

Manual - Utilização da WEB API


Request returns:


If the success tag returns TRUE the service desks will be listed like this <response>

<success>TRUE</success> <service_desks>

<count>3</count> <desk>

<id>1</id> <nome>Balcao 1</nome>

</desk> <desk>

<id>2</id> <nome>balcao2</nome>

</desk> <desk>

<id>3</id> <nome>balcao3</nome>

</desk> </service_desks>

</response>

The <service_desks> tag will list each <desk> result which returns the specific<id> and <name> of each one. <count> displays the number of results.

Use Example:


/Contactline/api/endpoint.php?method=user.getAvailableServiceDesks

4.4 user.assignServiceDesk


Assigns a service desk to the user.


Request method:


/Contactline/api/endpoint.php?method=user.assignServiceDesk

Request parameters:


id_service_desk (Service desk id)

Request requisites:


login


Request returns:


If successful <response>


<success>TRUE</success> <service_desk_id>1</service_desk_id>

</response>

Use Example:


/Contactline/api/endpoint.php?method=user.assignServiceDesk&id_service_desk=2

Escrito por: Miguel Teixeira

Gestão de Projecto: Luís Palma

Versão 1.0

Página:

7 / 23

Assunto: Contactline v 3.0 WEB API

<- Previous   First   Next ->