Returns | Examples: SUCCESSFUL: {'success':1, 'message':'213.37.29.0/24 assigned to SJS-0031', 'id':'12345'} SUCCESSFUL Multiple Assignments: {"success":1,"message":"Assigned 3 blocks to Worcester Telegram & Gazette","data":{"ids":[10001,10021 ,10031]}} ERROR: {'success':0, 'message':'Unable to assign block'} |
Required Parameters | Name | Type | Example | Description |
---|
block* | STRING | 213.37.29.0/24 | CIDR block description | id* | int | 125 | ID of the IP block, comma separated list of ids, or json encoded array of ids | *Either block or id can be used, but only one must be provided | resourceHolderId* | STRING | | The 20 character resource holder ID. This is an internal short identifier for the customer, and should be used to link resource holder details in the 6Connect database back to your organization. Consider using internal customer numbers or department numbers for this field depending on your use case. Example: Customer-001 or 000213. | resourceId* | INTEGER | | Integer ID of the resource to assign the block to | *Either resourceHolderId or resourceId can be used, but only one must be provided |
|