Search Results for

    Show / Hide Table of Contents

    Method CreatePropertyTypeCategory

    CreatePropertyTypeCategory(String, PropertyTypeCategoryContract)

    Create a property type category

    Declaration
    string CreatePropertyTypeCategory(string connectionId, PropertyTypeCategoryContract propertyTypeCategory)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    PropertyTypeCategoryContract propertyTypeCategory

    PropertyTypeCategory to create

    Returns
    Type Description
    System.String

    The created property type category id

    Examples

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

    Example for create a property type category.

    {
       "connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a",
       "propertyTypeCategory": {
         "Name": {
           "Values": [{
             "Text": "test",
             "Culture": "de" }, {
             "Text": "test",
             "Culture": "en" }] } }
    }

    Response:

    {
       "CreatePropertyTypeCategoryResult": "0b86001d-69e0-e911-a94a-00155d290a08"
    }
    Exceptions
    Type Condition
    ServiceException

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

    ServiceException

    Object with id {id} already exists (10078)

    ServiceException

    The administrative context {administrativeContext} is already checked out by user {displayLoginName} (10129)

    ServiceException

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

    Back to top Copyright © Kendox