You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: Web API Reference Guide > Available API Methods > Codetracing Methods > The codetracingCreate Method

The codetracingCreate Method

Create a new code-tracing entry.

 

Required Permissions: Full

HTTP method: POST

Supported Editions: Zend Server, Zend Server Cluster Manager

Request parameters:

Parameter

 Type

Required

Description

url

	String	

Yes	

URL-encoded URL to call the code tracing request

 

Expected Response Code: 200 OK. For more information see Response Format.

Response Format: A code-tracing entry with full details or an error message explaining the failure

Possible Action Specific Error Codes:

HTTP Code

Error Code

Description

500

internalServerError

The code tracing action failed

 

Usage Example

Example:

Request:

Post /ZendServerManager/Api/codetracingCreate

 

Response:

<?xml version="1.0" encoding="UTF-8"?>

<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.1">

    <requestData>

           <apiKeyName><![CDATA[Admin]]></apiKeyName>

           <method>codetracingCreate</method>

    </requestData>

    <responseData>

           <codeTrace>

               <id>1.123.5</id>

               <date>123412341234</date>

               <url>http://localhost/test.php</url>

               <createdBy>Monitor Event</createdBy>

               <fileSize>12341234</fileSize>

               <applicationId>1</applicationId>

           </codeTrace>

     </responseData>

<zendServerAPIResponse>

 

 

 

Related Links

Related Links:

Available API Methods

Codetracing Methods

codetracingDisable

codetracingEnable  

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.