Method UpdatePropertyTypeCategory
UpdatePropertyTypeCategory(String, PropertyTypeCategoryContract)
Update a property type category
Declaration
void UpdatePropertyTypeCategory(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 update |
Examples
POST http://YourServerName/InfoShare/Json/Common/UpdatePropertyTypeCategory
Example for update a property type category.{
"connectionId": "b6742bb8-ef97-44ae-819b-a2fa2200908a",
"propertyTypeCategory": {
"Id": "0b86001d-69e0-e911-a94a-00155d290a08",
"Name": {
"Values": [{
"Text": "testNew",
"Culture": "de" }, {
"Text": "testNew",
"Culture": "en" }] } }
}
Response:
{ }
Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Property type category not found {propertyTypeCategoryId} (10030) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |