Search Results for

    Show / Hide Table of Contents

    Method GetPropertyTypeProposal

    GetPropertyTypeProposal(String, String, String, Int32)

    Get a proposal list for a specific property type

    Declaration
    List<string> GetPropertyTypeProposal(string connectionId, string propertyTypeId, string inputValue, int maxCount)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String propertyTypeId

    The property type id. See also Id

    System.String inputValue

    Optional: value contained in proposal

    System.Int32 maxCount

    Number of results to return

    Returns
    Type Description
    System.Collections.Generic.List<System.String>

    List of property value proposals

    Examples

    POST http://YourServerName/InfoShare/Json/Common/GetPropertyTypeProposal

    A simple example for get a proposal list for a specific property type.

    {
       "connectionId": "2e926e26-4e7f-4bf5-be15-673af621819e",
       "propertyTypeId": "2cdacc4e-15d0-e911-a93a-00155d290a08",
       "inputValue": "",
       "maxCount": 20
    }

    Response:

    {
       "GetPropertyTypeProposalResult": ["Personalakten","Rechnung"]
    }

    Example for get a proposal list for a specific property type with optional parameter.

    {
       "connectionId": "2e926e26-4e7f-4bf5-be15-673af621819e",
       "propertyTypeId": "2cdacc4e-15d0-e911-a93a-00155d290a08",
       "inputValue": "Per",
       "maxCount": 20
    }

    Response:

    {
       "GetPropertyTypeProposalResult": ["Personalakten"]
    }
    Exceptions
    Type Condition
    ServiceException

    The connection id {connectionId} isn't valid or has expired (10008)

    ServiceException

    Property type not found {propertyTypeId} (10034)

    ServiceException

    Unknown data type for property type (10035)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    Back to top Copyright © Kendox