get, property, api, request, response, send, soap, rest, get, post, put, delete

Method GetProperty

API

Retrieves object property value

Watch this video to learn how to use this method

Have a problem with playback?
GetProperty retrieves API method property The input is the property name, the output is the property value Let's output to messagebox value of the property Service Type Run the method and see the output is SOAP, the same value we can see in the properties table.

Usage

Function GetProperty(
    String Name
)

Method

GetProperty

Name

Name

Parameters

Name

Type: String

Property Name (i.e. "Name")

Returns

Property value

Example

VBScript

msgbox Server("API Server").Method("Method").GetProperty("Name");

JavaScript

alert(Server("API Server").Method("Method").GetProperty("Name"));

Comment

Get text property from API Server Method and show message box with result

Variable

name

GetProperty

Name

ZAP Utility

Zap.Comm...Box

Zap.Variable("name")

Contact Us

Tower Place 100

3340 Peachtree Rd NE #1800 

Atlanta, GA 30326 USA

(404) 814-5227