WSNewSubObject

The WSNewSubObject function creates a child object that is part of its parent object and has a field or attribute name of ChildName.

Syntax

This function has the following syntax:

Object = WSNewSubObject(ParentObject, ChildName)

Parameters

This WSNewSubObject function has the following parameters.

Table 1. WSNewSubObject function parameters

Parameter

Format

Description

ParentObject

String

Name of the parent object

ChildName

String

Name of the new child object

Return Value

A new web services child object.

Examples

The following example shows how to use WSNewSubObject to create a web services child object:

// Call WSNewSubObject
					
ticketId=WSNewSubobject(incident, "TICKETID");