† form_list ()
Deprecated and removed in API Version 2.8.1
form_list ( session, type, id )
Is a function to retrieve all forms in a event or in a task given by the input parameters | |
Input parameters: | session: is the session id obtained in the session_init call type: where the forms are listed. TASK/EVENT/DOC id: is the ID of the type selected, task_id for task, event_id for events or doc_id for docs form_id: is the ID of the form obtained by the URL or by the call form_list() |
Output parameters: | forms: is an XML with the list of forms with the name of the form in the language of the session, the status (OPEN/CLOSED) and the programmed date if the form are OPEN of the completed date if the form is CLOSED ErrorMsg: any fault in the call, either in the validation of input parameters, errors in the connection to the database or any other error, this parameter returns the error message produced |
Request sample: | form_list( “LCAAAAAAAAAAA”, “TASK”, “1234”); |
Response sample: | <?xml version="1.0" encoding="utf-8" standalone="yes"?> <result> <forms> <form> <ref>20017</ref> <short_name>CC_ORIGEN LLAMADA</short_name> <desc>Cuestionario para recoger el origen de la llamada</desc> <status>OPEN</status> </form> <form> <ref>20018</ref> <short_name>CC_ORIGEN LLAMADA</short_name> <desc>Cuestionario para recoger el origen de la llamada</desc> <status>OPEN</status> </form> … <form> <ref>20244</ref> <short_name>CC_ORIGEN LLAMADA</short_name> <desc>Cuestionario para recoger el origen de la llamada</desc> <status>CLOSED</status> </form> </forms></result> <ErrorMsg></ErrorMsg> |
Notes: |
|