WebAPI Reference Guide > Available API Methods > Codetracing Methods > The codetracingCreate Method

The codetracingCreate Method

Create a new code-tracing entry.

Version: 1.2

Required Permissions: Full

HTTP method: POST

Supported Editions: Zend Server

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

Example

Usage Example

Request

Post /ZendServerManager/Api/codetracingCreate

url=http%3A%2F%2Flocalhost%2Ftest.php

Response

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

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

    <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.