(→Required Data Parameters) |
|||
(16 intermediate revisions by one user not shown) | |||
Line 3: | Line 3: | ||
==Path== | ==Path== | ||
− | */server/ip/ | + | */server/ip/requests/{$serverid} |
==Method== | ==Method== | ||
Line 17: | Line 17: | ||
*{$serverid}: The server ID that is returned when using the [[Server List|list]] command. | *{$serverid}: The server ID that is returned when using the [[Server List|list]] command. | ||
− | |||
*[[glossary#get|POST]] parameters: | *[[glossary#get|POST]] parameters: | ||
+ | |||
+ | *{$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 | ||
<pre> | <pre> | ||
[ | [ | ||
Line 29: | Line 34: | ||
] | ] | ||
</pre> | </pre> | ||
− | |||
==Optional Data Parameters== | ==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 | ||
+ | <pre> | ||
+ | [ | ||
+ | { | ||
+ | "cidr": , | ||
+ | "justification_id": , | ||
+ | "notes": | ||
+ | } , | ||
+ | |||
+ | ] | ||
+ | </pre> | ||
==Returned Data== | ==Returned Data== |
Creates a new IP Justification Request for adding additional ip address to the server.
Contents |
application/json
[ { "ip_amount": , "justification_id": , "notes": } , ]
application/json
[ { "cidr": , "justification_id": , "notes": } , ]
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": } , ] } , ]