ArcObjects Library Reference (System)  

IRESTRequestHandler.HandleRESTRequest Method

Handles REST request for SO or SOE.

[Visual Basic .NET]
Public Function HandleRESTRequest ( _
    ByVal Capabilities As String, _
    ByVal resourceName As String, _
    ByVal operationName As String, _
    ByVal operationInput As String, _
    ByVal outputFormat As String, _
    ByVal requestProperties As String, _
    ByRef responseProperties As String _
) As Byte[]
[C#]
public Byte[] HandleRESTRequest (
    string Capabilities,
    string resourceName,
    string operationName,
    string operationInput,
    string outputFormat,
    string requestProperties,
    ref string responseProperties
);
[C++]
HRESULT HandleRESTRequest(
  BSTR Capabilities,
  BSTR resourceName,
  BSTR operationName,
  BSTR operationInput,
  BSTR outputFormat,
  BSTR requestProperties,
  BSTR* responseProperties,
  responseData* responseData
);
[C++]

Parameters

Capabilities [in]   Capabilities is a parameter of type BSTR resourceName [in]   resourceName is a parameter of type BSTR operationName [in]   operationName is a parameter of type BSTR operationInput [in]   operationInput is a parameter of type BSTR outputFormat [in]   outputFormat is a parameter of type BSTR requestProperties [in]   requestProperties is a parameter of type BSTR responseProperties [out]   responseProperties is a parameter of type BSTR responseData [out, retval]   responseData is a parameter of type

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRESTRequestHandler Interface

.NET Samples

Find near features REST SOE (Code Files: FindNearFeaturesRestSOE_VBNet) | Simple REST SOE (Code Files: SimpleRESTSOE_VBNet) |