com.HTTPResponse.getPartFromContentID

Returns the HTTP part object marked with the given Content-ID value as identifier, or NULL if none.

Syntax

getPartFromContentID(
   id STRING )
  RETURNING part-object com.HTTPPart
  1. name is the name of the HTTP header.

Usage

Returns the HTTP part object marked with the given Content-ID value as identifier, or NULL if none.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).