From markk at arin.net Wed Aug 3 16:09:03 2011 From: markk at arin.net (Mark Kosters) Date: Wed, 3 Aug 2011 20:09:03 +0000 Subject: [arin-tech-discuss] Updates in ARIN's RESTful API for Registration/Provisioning Message-ID: Hi ARIN's production release on July 23 introduced additional functionality that allows for people to now modify their dns delegations and via ARIN's RESTful interface. The marked up version of the payloads and method documents are attached with these additions. Please note that the OT&E/Beta Registration system also has been updated as well for those who currently have test accounts and desire to test this new functionality. Regards, Mark ARIN CTO -------------- next part -------------- A non-text attachment was scrubbed... Name: restful-payloads-July2011.pdf Type: application/pdf Size: 242288 bytes Desc: restful-payloads-July2011.pdf URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: restful-methods-July2011.pdf Type: application/pdf Size: 250534 bytes Desc: restful-methods-July2011.pdf URL: From BDOLAN at optimumlightpath.com Thu Aug 4 15:43:33 2011 From: BDOLAN at optimumlightpath.com (Bill Dolan) Date: Thu, 4 Aug 2011 15:43:33 -0400 Subject: [arin-tech-discuss] rest POCHANDLE returns not found In-Reply-To: References: Message-ID: <4E3ABE25.78AF.0052.1@optimumlightpath.com> Converting from email...just trying to make some initial contact with ARIN rest service. I submit either of the following (full packet below) and get 404 error, but not like 404 page not found...more like query fail. Message says Not Found. When submit with browser, message says "No record found for the handle provided." http://whois.arin.net/rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx http://whois.arin.net/rest/poc/POCHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx The body of the request is empty (rather a single space, cause my integration platform does not allow empty body. I opened ticket to confirm apikey is correct and linked to POC and org, which was confirmed. What am I doing wrong? Do I need to include something else in the request? Username/password? I would imagine I'd get a different error. Sorry to sound like a noob, just frustrated. Bill packet sent: Hypertext Transfer Protocol GET /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx HTTP/1.1\r\n [Expert Info (Chat/Sequence): GET /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx HTTP/1.1\r\n] Request Method: GET Request URI: /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx Request Version: HTTP/1.1 User-Agent: WebSphere CastIron Client\r\n Content-Type: text/plain; charset="UTF-8"\r\n Host: whois.arin.net\r\n \r\n Bill Dolan Tech App SW Lead 200 Jericho Quadrangle Jericho, NY 11753 516.803.6717 (office) 516.807.8850 (mobile) Why Optimum Lightpath? www.optimumlightpath.com/why -------------------------------------------------------- The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. -------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpg Size: 9015 bytes Desc: not available URL: From andy at arin.net Fri Aug 5 09:21:13 2011 From: andy at arin.net (Andy Newton) Date: Fri, 5 Aug 2011 13:21:13 +0000 Subject: [arin-tech-discuss] rest POCHANDLE returns not found In-Reply-To: <4E3ABE25.78AF.0052.1@optimumlightpath.com> References: <4E3ABE25.78AF.0052.1@optimumlightpath.com> Message-ID: <7C4D44E5-B7BF-409F-9553-1A42408A07F6@arin.net> Bill, Whois-RWS does not use API KEYs at present, it is a read-only service with public data. Inclusion of the apikey parameter may be causing the problem, though I can't reproduce your issue. However, I think you want to use the registration restful web service (Reg-RWS). At present it is at www.arin.net and requires https (e.g. https://www.arin.net/rest/poc/POCHANDLE?apikey=API-XXXX-XXXX-XXXX-XXXX). You can verify your API KEY via ARIN Online. Also note that Reg-RWS only allows access to your resources; that is the resources with which your ARIN Online user account has been linked to via POCs. I hope this is helpful information and answers your question. Andy Newton, ARIN Chief Engineer On Aug 4, 2011, at 3:43 PM, Bill Dolan wrote: > Converting from email...just trying to make some initial contact with ARIN rest service. > I submit either of the following (full packet below) and get 404 error, but not like 404 page not found...more like query fail. Message says Not Found. When submit with browser, message says "No record found for the handle provided." > > http://whois.arin.net/rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx > http://whois.arin.net/rest/poc/POCHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx > > The body of the request is empty (rather a single space, cause my integration platform does not allow empty body. > > I opened ticket to confirm apikey is correct and linked to POC and org, which was confirmed. What am I doing wrong? Do I need to include something else in the request? Username/password? I would imagine I'd get a different error. > Sorry to sound like a noob, just frustrated. > > Bill > > packet sent: > Hypertext Transfer Protocol > GET /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx HTTP/1.1\r\n > [Expert Info (Chat/Sequence): GET /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx HTTP/1.1\r\n] > Request Method: GET > Request URI: /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx > Request Version: HTTP/1.1 > User-Agent: WebSphere CastIron Client\r\n > Content-Type: text/plain; charset="UTF-8"\r\n > Host: whois.arin.net\r\n > \r\n > > > Bill Dolan > Tech App SW Lead > > 200 Jericho Quadrangle > Jericho, NY 11753 > 516.803.6717 (office) > 516.807.8850 (mobile) > Why Optimum Lightpath? > www.optimumlightpath.com/why > > -------------------------------------------------------- > The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. > --------------------------------------------------------_______________________________________________ > arin-tech-discuss mailing list > arin-tech-discuss at arin.net > http://lists.arin.net/mailman/listinfo/arin-tech-discuss From BDOLAN at optimumlightpath.com Fri Aug 5 10:43:43 2011 From: BDOLAN at optimumlightpath.com (Bill Dolan) Date: Fri, 05 Aug 2011 10:43:43 -0400 Subject: [arin-tech-discuss] rest POCHANDLE returns not found In-Reply-To: <7C4D44E5-B7BF-409F-9553-1A42408A07F6@arin.net> References: <4E3ABE25.78AF.0052.1@optimumlightpath.com> <7C4D44E5-B7BF-409F-9553-1A42408A07F6@arin.net> Message-ID: <4E3BC95F0200005200128501@c3gwiaoutvs.cablevision.com> Thank you Andy. It seems I got some misinformation from Eddie Diego regarding the url of the RWS. Thanks to you, the issue of being able to connect is resolved. I did have to add a "Content-Type=application/xml" header to resolve an Unsupported Media Type response. Currently however, I still do not get the expected response from the GET /org/ORGHANDLE or GET /poc/POCHANDLE methods: ( 'http://www.arin.net/regrws/core/v1" ) E_OBJECT_NOT_FOUND The referenced object does not exist. handle The referenced object does not exist. Any ideas? I thought maybe it had to do with my payload. The documentation says there is no payload required for the GET /poc/POCHANDLE method. Unfortunately, my integration framework does not allow null in the payload. I have tried a single space and I have tried but get the same error above. Posting via a browser has the same effect. Bill >>> Andy Newton 8/5/2011 9:21 AM >>> Bill, Whois-RWS does not use API KEYs at present, it is a read-only service with public data. Inclusion of the apikey parameter may be causing the problem, though I can't reproduce your issue. However, I think you want to use the registration restful web service (Reg-RWS). At present it is at www.arin.net and requires https (e.g. https://www.arin.net/rest/poc/POCHANDLE?apikey=API-XXXX-XXXX-XXXX-XXXX). You can verify your API KEY via ARIN Online. Also note that Reg-RWS only allows access to your resources; that is the resources with which your ARIN Online user account has been linked to via POCs. I hope this is helpful information and answers your question. Andy Newton, ARIN Chief Engineer On Aug 4, 2011, at 3:43 PM, Bill Dolan wrote: > Converting from email...just trying to make some initial contact with ARIN rest service. > I submit either of the following (full packet below) and get 404 error, but not like 404 page not found...more like query fail. Message says Not Found. When submit with browser, message says "No record found for the handle provided." > > http://whois.arin.net/rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx > http://whois.arin.net/rest/poc/POCHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx > > The body of the request is empty (rather a single space, cause my integration platform does not allow empty body. > > I opened ticket to confirm apikey is correct and linked to POC and org, which was confirmed. What am I doing wrong? Do I need to include something else in the request? Username/password? I would imagine I'd get a different error. > Sorry to sound like a noob, just frustrated. > > Bill > > packet sent: > Hypertext Transfer Protocol > GET /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx HTTP/1.1\r\n > [Expert Info (Chat/Sequence): GET /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx HTTP/1.1\r\n] > Request Method: GET > Request URI: /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx > Request Version: HTTP/1.1 > User-Agent: WebSphere CastIron Client\r\n > Content-Type: text/plain; charset="UTF-8"\r\n > Host: whois.arin.net\r\n > \r\n > > > Bill Dolan > Tech App SW Lead > > 200 Jericho Quadrangle > Jericho, NY 11753 > 516.803.6717 (office) > 516.807.8850 (mobile) > Why Optimum Lightpath? > www.optimumlightpath.com/why > > -------------------------------------------------------- > The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. > --------------------------------------------------------_______________________________________________ > arin-tech-discuss mailing list > arin-tech-discuss at arin.net > http://lists.arin.net/mailman/listinfo/arin-tech-discuss -------------------------------------------------------- The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. -------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at arin.net Fri Aug 5 13:23:06 2011 From: andy at arin.net (Andy Newton) Date: Fri, 5 Aug 2011 17:23:06 +0000 Subject: [arin-tech-discuss] rest POCHANDLE returns not found In-Reply-To: <4E3BC95F0200005200128501@c3gwiaoutvs.cablevision.com> References: <4E3ABE25.78AF.0052.1@optimumlightpath.com> <7C4D44E5-B7BF-409F-9553-1A42408A07F6@arin.net> <4E3BC95F0200005200128501@c3gwiaoutvs.cablevision.com> Message-ID: <8B6E4193-E543-4EB9-A424-385910A13D2E@arin.net> Bill, While it is possible to use a browser for testing with Whois-RWS, using it for Reg-RWS is not so easy as most browsers cannot be coerced to set the content-type to application/xml. (Whois-RWS supports multiple content types, whereas Reg-RWS only supports XML). I suggest using command line tools such as wget, curl, or xmllint for testing REST interactions outside your framework. Additionally, Google has a graphical REST client for Windows and Mac at http://code.google.com/p/rest-client. Using the information you gave to Eddie, I was able to use wget with your API KEY to GET the POC you were after. BTW, are you using our production system or do you have access to our OT&E Reg-RWS system, which allows you to play with your data without actually touching the production system? I recommend signing up for OT&E access if you have not already done so. I hope this helps. Andy Newton, ARIN Chief Engineer On Aug 5, 2011, at 10:43 AM, Bill Dolan wrote: > Thank you Andy. It seems I got some misinformation from Eddie Diego regarding the url of the RWS. > > Thanks to you, the issue of being able to connect is resolved. I did have to add a "Content-Type=application/xml" header to resolve an Unsupported Media Type response. Currently however, I still do not get the expected response from the GET /org/ORGHANDLE or GET /poc/POCHANDLE methods: > > > > E_OBJECT_NOT_FOUND > > > The referenced object does not exist. > handle > > > The referenced object does not exist. > > Any ideas? I thought maybe it had to do with my payload. The documentation says there is no payload required for the GET /poc/POCHANDLE method. Unfortunately, my integration framework does not allow null in the payload. I have tried a single space and I have tried but get the same error above. Posting via a browser has the same effect. > > Bill > >>> Andy Newton 8/5/2011 9:21 AM >>> > Bill, > > Whois-RWS does not use API KEYs at present, it is a read-only service with public data. Inclusion of the apikey parameter may be causing the problem, though I can't reproduce your issue. > > However, I think you want to use the registration restful web service (Reg-RWS). At present it is at www.arin.net and requires https (e.g. https://www.arin.net/rest/poc/POCHANDLE?apikey=API-XXXX-XXXX-XXXX-XXXX). You can verify your API KEY via ARIN Online. Also note that Reg-RWS only allows access to your resources; that is the resources with which your ARIN Online user account has been linked to via POCs. > > I hope this is helpful information and answers your question. > Andy Newton, > ARIN Chief Engineer > > On Aug 4, 2011, at 3:43 PM, Bill Dolan wrote: > > > Converting from email...just trying to make some initial contact with ARIN rest service. > > I submit either of the following (full packet below) and get 404 error, but not like 404 page not found...more like query fail. Message says Not Found. When submit with browser, message says "No record found for the handle provided." > > > > http://whois.arin.net/rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx > > http://whois.arin.net/rest/poc/POCHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx > > > > The body of the request is empty (rather a single space, cause my integration platform does not allow empty body. > > > > I opened ticket to confirm apikey is correct and linked to POC and org, which was confirmed. What am I doing wrong? Do I need to include something else in the request? Username/password? I would imagine I'd get a different error. > > Sorry to sound like a noob, just frustrated. > > > > Bill > > > > packet sent: > > Hypertext Transfer Protocol > > GET /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx HTTP/1.1\r\n > > [Expert Info (Chat/Sequence): GET /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx HTTP/1.1\r\n] > > Request Method: GET > > Request URI: /rest/org/ORGHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx > > Request Version: HTTP/1.1 > > User-Agent: WebSphere CastIron Client\r\n > > Content-Type: text/plain; charset="UTF-8"\r\n > > Host: whois.arin.net\r\n > > \r\n > > > > > > Bill Dolan > > Tech App SW Lead > > > > 200 Jericho Quadrangle > > Jericho, NY 11753 > > 516.803.6717 (office) > > 516.807.8850 (mobile) > > Why Optimum Lightpath? > > www.optimumlightpath.com/why > > > > -------------------------------------------------------- > > The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. > > --------------------------------------------------------_______________________________________________ > > arin-tech-discuss mailing list > > arin-tech-discuss at arin.net > > http://lists.arin.net/mailman/listinfo/arin-tech-discuss > > > -------------------------------------------------------- > The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. > --------------------------------------------------------_______________________________________________ > arin-tech-discuss mailing list > arin-tech-discuss at arin.net > http://lists.arin.net/mailman/listinfo/arin-tech-discuss From BDOLAN at optimumlightpath.com Fri Aug 5 14:26:32 2011 From: BDOLAN at optimumlightpath.com (Bill Dolan) Date: Fri, 05 Aug 2011 14:26:32 -0400 Subject: [arin-tech-discuss] rest POCHANDLE returns not found In-Reply-To: <8B6E4193-E543-4EB9-A424-385910A13D2E@arin.net> References: <4E3ABE25.78AF.0052.1@optimumlightpath.com> <7C4D44E5-B7BF-409F-9553-1A42408A07F6@arin.net> <4E3BC95F0200005200128501@c3gwiaoutvs.cablevision.com> <8B6E4193-E543-4EB9-A424-385910A13D2E@arin.net> Message-ID: <4E3BFD9802000052001285EE@c3gwiaoutvs.cablevision.com> Andy, I have requested our engineer to get access to OT&E, thanks for the suggestion. I downloaded the rest-client as you recommended. It's a very nice tool! But I get the same error code as I do with my framework. This must mean I am doing something wrong but at least consistently so. The tool is fairly straightforward so it must be something simple or environmental. Here is the rest-client config I used: URL: https://www.arin.net/rest/poc/POCHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx Method: GET Headers: Header Value Content-Type application/xml That's it. Did I miss anything? Do I need to load any kind of cert or provide more auth config? Can you share the wget config you used? Please do not post my apikey. Maybe this will give me a clue. Bill -------------------------------------------------------- The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. -------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at arin.net Fri Aug 5 15:04:46 2011 From: andy at arin.net (Andy Newton) Date: Fri, 5 Aug 2011 19:04:46 +0000 Subject: [arin-tech-discuss] rest POCHANDLE returns not found In-Reply-To: <4E3BFD9802000052001285EE@c3gwiaoutvs.cablevision.com> References: <4E3ABE25.78AF.0052.1@optimumlightpath.com> <7C4D44E5-B7BF-409F-9553-1A42408A07F6@arin.net> <4E3BC95F0200005200128501@c3gwiaoutvs.cablevision.com> <8B6E4193-E543-4EB9-A424-385910A13D2E@arin.net> <4E3BFD9802000052001285EE@c3gwiaoutvs.cablevision.com> Message-ID: <62D9228640AC7F49B2DD9ED0C9CE60E5132931D0@CHAXCH02.corp.arin.net> Bill, The wget command I used was: wget http://www.arin.net/rest/poc/CIO1-ARIN?apikey=API-XXXX-XXXX-XXXX-XXXX (with your API KEY substituted for XXXX). Be sure that you have the POCHANDLE substituted properly. That would cause a NOT FOUND error if it were misspecified. Andy Newton From: Bill Dolan [mailto:BDOLAN at optimumlightpath.com] Sent: Friday, August 05, 2011 2:27 PM To: Andy Newton Cc: Subject: Re: [arin-tech-discuss] rest POCHANDLE returns not found Andy, I have requested our engineer to get access to OT&E, thanks for the suggestion. I downloaded the rest-client as you recommended. It's a very nice tool! But I get the same error code as I do with my framework. This must mean I am doing something wrong but at least consistently so. The tool is fairly straightforward so it must be something simple or environmental. Here is the rest-client config I used: URL: https://www.arin.net/rest/poc/POCHANDLE?apikey=API-xxxx-xxxx-xxxx-xxxx Method: GET Headers: Header Value Content-Type application/xml That's it. Did I miss anything? Do I need to load any kind of cert or provide more auth config? Can you share the wget config you used? Please do not post my apikey. Maybe this will give me a clue. Bill -------------------------------------------------------- The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. -------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From BDOLAN at optimumlightpath.com Fri Aug 5 16:24:49 2011 From: BDOLAN at optimumlightpath.com (Bill Dolan) Date: Fri, 05 Aug 2011 16:24:49 -0400 Subject: [arin-tech-discuss] rest POCHANDLE returns not found In-Reply-To: <62D9228640AC7F49B2DD9ED0C9CE60E5132931D0@CHAXCH02.corp.arin.net> References: <4E3ABE25.78AF.0052.1@optimumlightpath.com> <7C4D44E5-B7BF-409F-9553-1A42408A07F6@arin.net> <4E3BC95F0200005200128501@c3gwiaoutvs.cablevision.com> <8B6E4193-E543-4EB9-A424-385910A13D2E@arin.net> <4E3BFD9802000052001285EE@c3gwiaoutvs.cablevision.com> <62D9228640AC7F49B2DD9ED0C9CE60E5132931D0@CHAXCH02.corp.arin.net> Message-ID: <4E3C1951020000520012869B@c3gwiaoutvs.cablevision.com> Hahaha, really?? I have been using the literal string "POCHANDLE" in the URL. Didn't pick up on the fact that I should be substituting it. What a silly bunt. ty - Bill -------------------------------------------------------- The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. -------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sean.Zhao at CenturyLink.com Mon Aug 15 18:01:16 2011 From: Sean.Zhao at CenturyLink.com (Zhao, Sean) Date: Mon, 15 Aug 2011 16:01:16 -0600 Subject: [arin-tech-discuss] whois returns me an html instead of an xml.... Message-ID: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB013862@qtdenexmbm20.AD.QINTRA.COM> Hi I am trying to use whois restful to get orgHandle by a company name vs java soap. I used the url http://whois.arin.net/ui/query.do?q=BANDWIDTH.COM%20INC. I got a huge html format string returned instead of an xml. Did I go to a wrong place or used the wrong way? Thanks, Sean Zhao Sean.Zhao at CenturyLink.com ________________________________ This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sean.Zhao at CenturyLink.com Tue Aug 16 11:42:31 2011 From: Sean.Zhao at CenturyLink.com (Zhao, Sean) Date: Tue, 16 Aug 2011 09:42:31 -0600 Subject: [arin-tech-discuss] whois returns me an html instead of an xml.... In-Reply-To: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB1C1A9B@qtdenexmbm20.AD.QINTRA.COM> References: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB1C1A9B@qtdenexmbm20.AD.QINTRA.COM> Message-ID: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB0138FD@qtdenexmbm20.AD.QINTRA.COM> I found it, it is a bad uril. I should use something like this, http://whois.arin.net/rest/orgs;name=BANDWIDTH.COM. This is the correct one. Sorry. Thanks, Sean Zhao Sean.Zhao at CenturyLink.com From: Zhao, Sean Sent: Monday, August 15, 2011 6:01 PM To: 'arin-tech-discuss at arin.net' Cc: Grimes, Ronald Subject: whois returns me an html instead of an xml.... Hi I am trying to use whois restful to get orgHandle by a company name vs java soap. I used the url http://whois.arin.net/ui/query.do?q=BANDWIDTH.COM%20INC. I got a huge html format string returned instead of an xml. Did I go to a wrong place or used the wrong way? Thanks, Sean Zhao Sean.Zhao at CenturyLink.com ________________________________ This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: From BDOLAN at optimumlightpath.com Tue Aug 16 12:08:53 2011 From: BDOLAN at optimumlightpath.com (Bill Dolan) Date: Tue, 16 Aug 2011 12:08:53 -0400 Subject: [arin-tech-discuss] arin-rest XSD Schemas In-Reply-To: References: Message-ID: <4E4A5DD5.78AF.0052.1@optimumlightpath.com> Has anyone had success converting the ARIN Restful Service RNG schemas to XSD? Can you please share the process and/or results? Bill Dolan Tech App SW Lead 200 Jericho Quadrangle Jericho, NY 11753 516.803.6717 (office) 516.807.8850 (mobile) Why Optimum Lightpath? www.optimumlightpath.com/why -------------------------------------------------------- The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. -------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpg Size: 9015 bytes Desc: not available URL: From kwilson at ussignalcom.com Tue Aug 16 15:54:12 2011 From: kwilson at ussignalcom.com (Wilson, Kristopher) Date: Tue, 16 Aug 2011 19:54:12 +0000 Subject: [arin-tech-discuss] Sandbox URL For Development? Message-ID: I'm having trouble with the ARIN RESTful API documentation. Is there a Sandbox/test server for developing against the API? IF so, what is the URL and what do I need to do to access it? -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhuberma at arin.net Wed Aug 17 11:39:28 2011 From: dhuberma at arin.net (David Huberman) Date: Wed, 17 Aug 2011 15:39:28 +0000 Subject: [arin-tech-discuss] Sandbox URL For Development? In-Reply-To: Message-ID: Hello, > Is there a Sandbox/test server for developing against the API? > IF so, what is the URL and what do I need to do to access it? There is a sandbox environment you can use. See the details/instructions found at: https://www.arin.net/announcements/2011/20110215.html Regards, David --- David R Huberman ARIN Technical Specialist (703) 227-9866 From andy at arin.net Wed Aug 17 11:46:26 2011 From: andy at arin.net (Andy Newton) Date: Wed, 17 Aug 2011 15:46:26 +0000 Subject: [arin-tech-discuss] arin-rest XSD Schemas In-Reply-To: <4E4A5DD5.78AF.0052.1@optimumlightpath.com> References: <4E4A5DD5.78AF.0052.1@optimumlightpath.com> Message-ID: <1A5B5151-3945-4264-8958-55AB0AD88DFB@arin.net> Bill, James Clark has a tool called Trang which might work for you. I have not tried it. http://www.thaiopensource.com/relaxng/trang.html Please be aware that Relax NG is more expressive than XML Schema, which is why we use it, and there maybe expressiveness that is either lost or incapable of being given with XML Schema. Andy Newton, ARIN Chief Engineer On Aug 16, 2011, at 12:08 PM, Bill Dolan wrote: > Has anyone had success converting the ARIN Restful Service RNG schemas to XSD? Can you please share the process and/or results? > > > Bill Dolan > Tech App SW Lead > > 200 Jericho Quadrangle > Jericho, NY 11753 > 516.803.6717 (office) > 516.807.8850 (mobile) > Why Optimum Lightpath? > www.optimumlightpath.com/why > > -------------------------------------------------------- > The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you have received and all copies thereof. > --------------------------------------------------------_______________________________________________ > arin-tech-discuss mailing list > arin-tech-discuss at arin.net > http://lists.arin.net/mailman/listinfo/arin-tech-discuss From BDOLAN at optimumlightpath.com Wed Aug 17 12:47:17 2011 From: BDOLAN at optimumlightpath.com (Bill Dolan) Date: Wed, 17 Aug 2011 12:47:17 -0400 Subject: [arin-tech-discuss] arin-rest XSD Schemas In-Reply-To: <1A5B5151-3945-4264-8958-55AB0AD88DFB@arin.net> References: <4E4A5DD5.78AF.0052.1@optimumlightpath.com> <1A5B5151-3945-4264-8958-55AB0AD88DFB@arin.net> Message-ID: <4E4BB855020000520012ABF2@c3gwiaoutvs.cablevision.com> Thanks Andy! Warning heeded. Unfortunately the integration framework we use only supports XSD. I'll let you know how it works out when I make my first registration. Trang does not yet resolve external references, so first I had to use jing to flatten the rng schemas. For anyone else needing this here is where I found my answer: http://www.oxygenxml.com/forum/topic3234-15.html Scroll to the bottom for the latest updates on how to use jing-2009. Once flattened, I was able to convert to XSD using oxygen eclipse plugin (which uses trang). Bill -------------------------------------------------------- The information transmitted in this email and any of its attachments is intended only for the person or entity to which it is addressed and may contain information concerning Cablevision and/or its affiliates and subsidiaries that is proprietary, privileged, confidential and/or subject to copyright. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient(s) is prohibited and may be unlawful. If you received this in error, please contact the sender immediately and delete and destroy the communication and all of the attachments you've received and all copies thereof. -------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From kwilson at ussignalcom.com Wed Aug 17 14:13:31 2011 From: kwilson at ussignalcom.com (Wilson, Kristopher) Date: Wed, 17 Aug 2011 18:13:31 +0000 Subject: [arin-tech-discuss] Sandbox URL For Development? In-Reply-To: Message-ID: Perfect, thank you for the information! Kristopher >There is a sandbox environment you can use. See the details/instructions >found at: > >https://www.arin.net/announcements/2011/20110215.html > > >Regards, >David From markk at arin.net Fri Aug 19 11:03:31 2011 From: markk at arin.net (Mark Kosters) Date: Fri, 19 Aug 2011 15:03:31 +0000 Subject: [arin-tech-discuss] Maintenance Notice on the OT&E/Beta Registration System Message-ID: On August 19, 2011 from 12:00PM until 4:00PM EDT, the OT&E/Beta Registration System will be down for maintenance. All production services will remain in operation before, during, and after this maintenance period. Regards, Mark Kosters ARIN CTO From Sean.Zhao at CenturyLink.com Fri Aug 19 14:38:44 2011 From: Sean.Zhao at CenturyLink.com (Zhao, Sean) Date: Fri, 19 Aug 2011 12:38:44 -0600 Subject: [arin-tech-discuss] What are mandatory fields in Poc xml? Message-ID: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB013DB8@qtdenexmbm20.AD.QINTRA.COM> Hi, I have read the Poc payload document. Poc has 2 fields iso3166-2 and iso3166-1. What are they? Are they mandatory fields? Thanks, Sean Zhao Sean.Zhao at CenturyLink.com ________________________________ This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhuberma at arin.net Fri Aug 19 16:00:54 2011 From: dhuberma at arin.net (David Huberman) Date: Fri, 19 Aug 2011 20:00:54 +0000 Subject: [arin-tech-discuss] What are mandatory fields in Poc xml? In-Reply-To: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB013DB8@qtdenexmbm20.AD.QINTRA.COM> Message-ID: Hello, > I have read the Poc payload document. > Poc has 2 fields iso3166-2 and iso3166-1. > What are they? Are they mandatory fields? ISO-3166-1 is an international standard for country codes. A clear and concise writeup can be found at: http://en.wikipedia.org/wiki/ISO_3166-1 ISO-3166-2 is an international standard for state or province or county or other relevant subdivisions as defined by each country. A clear and concise writeup can be found at: http://en.wikipedia.org/wiki/ISO_3166-2 ISO-3166-1 is mandatory for all new POCs. ISO-3166-2 is required for U.S. and Canada. Regards, David --- David R Huberman ARIN Technical Specialist (703) 227-9866 From Sean.Zhao at CenturyLink.com Wed Aug 24 15:29:18 2011 From: Sean.Zhao at CenturyLink.com (Zhao, Sean) Date: Wed, 24 Aug 2011 13:29:18 -0600 Subject: [arin-tech-discuss] Trying to create a poc, but got an error message returned Message-ID: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB0141F0@qtdenexmbm20.AD.QINTRA.COM> Hi I am trying to create a poc. The poc payload I sent is AZ US USA 1 sean.zhao at centurylink.com MESA 85210 R SEAN ZHAO OFFICE O 6142155373 I know that I am missing comment, but I don't have any comment. Also, I am missing registration date and handle. Are they filled by arin's server? But I got an error message return. bad character content for element E_SCHEMA_VALIDATION The XML payload did not validate against the defined schema. Please see the documentation for details. Can you tell me what I am missing, please? Thanks, Sean Zhao Sean.Zhao at CenturyLink.com ________________________________ This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sean.Zhao at CenturyLink.com Wed Aug 24 15:45:56 2011 From: Sean.Zhao at CenturyLink.com (Zhao, Sean) Date: Wed, 24 Aug 2011 13:45:56 -0600 Subject: [arin-tech-discuss] Trying to create a poc, but got an error message returned In-Reply-To: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB1C1ACE@qtdenexmbm20.AD.QINTRA.COM> References: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB1C1ACE@qtdenexmbm20.AD.QINTRA.COM> Message-ID: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB0141F8@qtdenexmbm20.AD.QINTRA.COM> Hi, Please ignore my previous question. At least I found one problem in the request xml. The Contact Type should not be "R". It either should be "PERSON" or "ROLE". My apologies! Thanks, Sean Zhao Sean.Zhao at CenturyLink.com From: Zhao, Sean Sent: Wednesday, August 24, 2011 3:29 PM To: 'arin-tech-discuss at arin.net' Cc: Grimes, Ronald Subject: Trying to create a poc, but got an error message returned Hi I am trying to create a poc. The poc payload I sent is AZ US USA 1 sean.zhao at centurylink.com MESA 85210 R SEAN ZHAO OFFICE O 6142155373 I know that I am missing comment, but I don't have any comment. Also, I am missing registration date and handle. Are they filled by arin's server? But I got an error message return. bad character content for element E_SCHEMA_VALIDATION The XML payload did not validate against the defined schema. Please see the documentation for details. Can you tell me what I am missing, please? Thanks, Sean Zhao Sean.Zhao at CenturyLink.com ________________________________ This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhuberma at arin.net Wed Aug 24 16:12:06 2011 From: dhuberma at arin.net (David Huberman) Date: Wed, 24 Aug 2011 20:12:06 +0000 Subject: [arin-tech-discuss] Trying to create a poc, but got an error message returned In-Reply-To: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB0141F0@qtdenexmbm20.AD.QINTRA.COM> Message-ID: Hello, I think the problem is with the contactType field. The two allowed contactType values are: PERSON or ROLE. Also, if you use ROLE, you must specify a companyName, and you may not specify a firstName. The example you sent should have a contactType of PERSON. Your example is also missing a streetAddress (also a required field). You asked: "Also, I am missing registration date and handle. Are they filled by arin?s server?" Yes. Always leave those two fields blank when asserting a new object like a POC or an ORG or a NET. Regards, David --- David R Huberman ARIN Technical Specialist (703) 227-9866 From skarsribs at gmail.com Fri Aug 26 19:40:19 2011 From: skarsribs at gmail.com (scott schutt) Date: Fri, 26 Aug 2011 16:40:19 -0700 Subject: [arin-tech-discuss] skarsribs@gmail.com Message-ID: skarsribs at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhuberma at arin.net Wed Aug 31 17:21:50 2011 From: dhuberma at arin.net (David Huberman) Date: Wed, 31 Aug 2011 21:21:50 +0000 Subject: [arin-tech-discuss] Error message when I sent an org payload to create an Org In-Reply-To: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB928E69@qtdenexmbm20.AD.QINTRA.COM> Message-ID: Hello, There are two problems with your payload: 1) You have specified: xmlns="" in three places: Please remove xmlns="" from these tags. 2) You specified the attribute name= in the pocLinkRef fields. Please remove the name attribute. The resultant payload would be: AZ US USA 1113 W BIRCHWOOD AVE MESA 85210 ADVANCED ENERGY IDEAS This will also fail, but not because of any RESTful formatting issues. It will fail because all OrgIDs must have one (and only one) Admin POC. So you need to add a POC handle to serve as function='AD". Hope that helps! Regards, David --- David R Huberman ARIN Technical Specialist (703) 227-9866 From Sean.Zhao at CenturyLink.com Wed Aug 31 09:23:54 2011 From: Sean.Zhao at CenturyLink.com (Zhao, Sean) Date: Wed, 31 Aug 2011 07:23:54 -0600 Subject: [arin-tech-discuss] Error message when I sent an org payload to create an Org Message-ID: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB928D4F@qtdenexmbm20.AD.QINTRA.COM> Hi, I got an error when I was trying to send an org payload to create an Org. Here is the error message returned from Arin element "iso3166-1" not allowed in this context element "streetAddress" not allowed in this context element "pocLinks" not allowed in this context E_SCHEMA_VALIDATION The XML payload did not validate against the defined schema. Please see the documentation for details. The payload I sent is AZ US USA 1113 W BIRCHWOOD AVE MESA 85210 ADVANCED ENERGY IDEAS The url is https://www.arin.net/rest/org/?apikey=MyApiKey. Did I do anything wrong? It complains about the iso3166-1 element that I included. But it is in the document. Even the document has the example. Please let me know what I missed or what I did wrong. Thanks, Sean Zhao Sean.Zhao at CenturyLink.com ________________________________ This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sean.Zhao at CenturyLink.com Wed Aug 31 14:56:53 2011 From: Sean.Zhao at CenturyLink.com (Zhao, Sean) Date: Wed, 31 Aug 2011 12:56:53 -0600 Subject: [arin-tech-discuss] Error message when I sent an org payload to create an Org Message-ID: <6369CD337F4CEE47A9FE64D907B2DBAF1AFB928E69@qtdenexmbm20.AD.QINTRA.COM> Hi, I got an error when I was trying to send an org payload to create an Org. Here is the error message returned from Arin element "iso3166-1" not allowed in this context element "streetAddress" not allowed in this context element "pocLinks" not allowed in this context E_SCHEMA_VALIDATION The XML payload did not validate against the defined schema. Please see the documentation for details. The payload I sent is AZ US USA 1113 W BIRCHWOOD AVE MESA 85210 ADVANCED ENERGY IDEAS The url is https://www.arin.net/rest/org/?apikey=MyApiKey. Did I do anything wrong? It complains about the iso3166-1 element that I included. But it is in the document. Even the document has the example. Please let me know what I missed or what I did wrong. Thanks, Sean Zhao Sean.Zhao at CenturyLink.com ________________________________ This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: