Adding URLs and IP addresses by category ID
- The transaction ID obtained in the start transaction call
- The category ID
This field is used to define which category is returned when a URL or IP address is matched. An error is returned if the category ID does not match the ID of an API-managed category already in the system.
The field can appear as part of the file path in the URI or in the JSON request.
- The URLs to add to the category (optional if IP addresses are present)
- The IPs (IP addresses or ranges) to add to the category (optional if URLs are present)
For example:
{
"Transaction ID":"44081c08-453a-11e6-a9de-d99213c464e0",
"Category ID":1945,
"URLs":
[
"http://www.test1.com/test1",
"http://www.test1.com/test2",
"http://www.test1.com/test3"
],
"IPs":
[
"167.34.15.117",
"167.34.16.118-167.34.16.120",
"2045:1221:1231::1331"
"24.56.8.0/23,
"55AF:F451::/32
]
}