Server IP Justification Request

From INAP Dropzone API
(Difference between revisions)
Jump to: navigation, search
(Required Data Parameters)
 
(6 intermediate revisions by one user not shown)
Line 19: Line 19:
 
*[[glossary#get|POST]] parameters:
 
*[[glossary#get|POST]] parameters:
  
*{$ip_amount}: Valid ip amounts are 1,5,13, 29, 61, 125, and 253.
+
*{$ip_amount}: Valid ip amounts are 1,5,13, 29, 61, 125, and 253. If an amount in between is each block specified, the amount will converted to the next highest amount block.
*{$justification_id}: Valid values are: "1" - Webhosting, "2" - SSL, "3" - VOIP, "4" - Other
+
*{$justification_id}: Valid values are: "1" - Webhosting, "2" - SSL, "3" - VOIP, "4" - Other  
 
+
 
*{$notes}: Use this files to provide comments about how the IPs are going to be used, especially, if justification_id is 4 for Other.
 
*{$notes}: Use this files to provide comments about how the IPs are going to be used, especially, if justification_id is 4 for Other.
  
Line 37: Line 36:
  
 
==Optional Data Parameters==
 
==Optional Data Parameters==
*None
+
*{$cidr}: Instead of passing an ip amount of usable ips, a cidr can be passed, instead. The value should be integer form without the slash.
 +
application/json
 +
<pre>
 +
[
 +
    {
 +
        "cidr": ,
 +
        "justification_id": ,
 +
        "notes":     
 +
    } ,
 +
 
 +
]
 +
</pre>
  
 
==Returned Data==
 
==Returned Data==

Latest revision as of 22:28, 1 October 2013

Creates a new IP Justification Request for adding additional ip address to the server.


Contents

Path

  • /server/ip/requests/{$serverid}

Method

Availability

Required Data Parameters

  • {$serverid}: The server ID that is returned when using the list command.
  • {$ip_amount}: Valid ip amounts are 1,5,13, 29, 61, 125, and 253. If an amount in between is each block specified, the amount will converted to the next highest amount block.
  • {$justification_id}: Valid values are: "1" - Webhosting, "2" - SSL, "3" - VOIP, "4" - Other
  • {$notes}: Use this files to provide comments about how the IPs are going to be used, especially, if justification_id is 4 for Other.

application/json

[
    {
        "ip_amount": ,
        "justification_id": ,
        "notes":      
    } ,

]

Optional Data Parameters

  • {$cidr}: Instead of passing an ip amount of usable ips, a cidr can be passed, instead. The value should be integer form without the slash.

application/json

[
    {
        "cidr": ,
        "justification_id": ,
        "notes":      
    } ,

]

Returned Data

application/json

[
    {
        "request_id": This is the uniuqe ID of the request ,
        "client_id": ,
        "justification_id": ,
        "notes": ,
        "ip_amount": ,
        "ticket_id": ,
        "created_on": ,
        "request_status": ,
        "justification_name": ,
        "ip_range": ,
        "request_items": [ { "ip_address":, "notes":  } , ]
    } ,

]
Personal tools