(→Required Data Parameters) |
(→Required Data Parameters) |
||
(5 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 40: | Line 36: | ||
==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": } , ] } , ]