removeCustomDefinitionRequest

Removes custom field definitions. It does not remove field and values within an item. It can take a long time to execute.

Request

<removeCustomDefinitionRequest>
   <customs type="types:CustomList"/>
   <books type="boolean"/>
   <doAsynchronous" type="boolean"/>
</removeCustomDefinitionRequest>

Response

<removeCustomDefinitionResponse>
   <status type="types:Status"/>
</removeCustomDefinitionResponse>

Elements

customs

Specifies the name of the custom field definition to remove.

books

Specifies whether to delete custom definitions from personal address book entries (pass 1). Otherwise, the definition is deleted from mail items.

doAsynchronous

Specifies whether the doAsynchronous element removes the definitions in the background (True).

code

Returns the error number related to the event. 0 indicates that the request was successful.

status

Returns the success or failure of the method.

Example

<removeCustomDefinitionRequest> 
   <customs> 
      <custom> 
         <field>custom3</field> 
      </custom> 
   </customs> 
   <books>false</books> 
   <doAsynchronous>false</doAsynchronous> 
</removeCustomDefinitionRequest>

<removeCustomDefinitionResponse> 
   <status> 
      <code>0</code> 
   </status> 
</removeCustomDefinitionResponse>