Operation: | Add Category / Update Category
Description: | To Add/Edit Web Filter Category.

Sample Configuration
    	<WebFilterCategory>
    		<Name>Name</Name>
    		<Classification>Productive/Unproductive/Acceptable/Objectionable</Classification>
    		<QoSPolicy>None</QoSPolicy>
    		<ConfigureCategory>Local/External</ConfigureCategory>
    		 <!-- if ConfigureCategory = Local,then we retrieve DomainList and KeywordList -->
    		<DomainList>
    			<Domain>domain</Domain>
    			:
    		</DomainList>
    		<KeywordList>
    			<Keyword>keywords</Keyword>
    			:
    		</KeywordList>
    		<!-- if ConfigureCategory = External,then we retrieve URLList -->
    		<URLList>
    			<URL>http://custom.com</URL>
    			<URL>ftp://custom1.com</URL>
    			:
    			:
    		</URLList>
    		<Description>Text</Description>
    		<OverrideDefaultDeniedMessage>Enable/Disable</OverrideDefaultDeniedMessage>
    		<DefaultDeniedMessage>Default/{Message}</DefaultDeniedMessage>
    	</WebFilterCategory>

Attribute/Parameter Information :

Parameter | Mandatory | Default | Description
--- | --- | --- | ---
Name | Yes |  | Description: Specify name of the Web Category. Name confines to: Type is 'SCALAR'. Datatype is 'STRING'. Characters (^;'"\) are not allowed. Maximum characters allowed are 50.
Classification | No |  | Description: Select how category is to be classified. Available options are Productive, Non-Working, Neutral and Unhealthy. Classification confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '1', '2', '3', '4' are allowed.
QoSPolicy | Yes |  | Description: Select the QoS Policy if bandwidth restriction is to be applied. QoSPolicy confines to: Type is 'SCALAR'. Datatype is 'STRING'. NoComma Maximum characters allowed are 50.
Description | No |  | Description: Specify Category description. Description confines to: Type is 'SCALAR'. Datatype is 'STRING'. Maximum characters allowed are 512.
OverrideDefaultDeniedMessage | No |  | Description: Specify message in HTML. OverrideDefaultDeniedMessage confines to: Type is 'SCALAR'. Datatype is 'STRING'.
Domain/URL | No |  | Description: Specify Domains or URLs to be included under Web Category. Domain/URL confines to: Type is 'ARRAY'. Datatype is 'IPADDRESS6','STRING'. LOCALURL Maximum characters allowed are 250. Multiple values are allowed.
Keyword | No |  | Description: Specify Keywords to be included under Web Category. Keyword confines to: Type is 'ARRAY'. Datatype is 'STRING'. Maximum characters allowed are 250. Multiple values are allowed.
ConfigureCategory | Yes |  | Description: Content type can be Local or External URL Database. ConfigureCategory confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '0', '1', '2' are allowed.

Status Message Information :

Operation | Status | Message
--- | --- | ---
Update Category | 200 |
Update Category | 201 |
Update Category | 500 |
Update Category | 502 |
Update Category | 503 |
Update Category | 504 |
Add Category | 200 |
Add Category | 201 |
Add Category | 202 |
Add Category | 500 |
Add Category | 502 |
Add Category | 522 |
Add Category | 523 |

) Copyright 2015 Sophos Limited. All rights reserved.
Sophos is registered trademarks of Sophos Limited and Sophos Group. All other product and company names mentioned are trademarks or registered trademarks of their respective owners.No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise unless you are either a valid licensee where the documentation can be reproduced in accordance with the license terms or you otherwise have the prior permission in writing of the copyright owner.