Send arin-tech-discuss mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.arin.net/mailman/listinfo/arin-tech-discuss
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of arin-tech-discuss digest..."
Today's Topics:
1. Re: Error about the deleting poc (Zhao, Sean)
2. Re: Problems creating recipient org? (Brian Rak)
----------------------------------------------------------------------
Message: 1
Date: Fri, 31 May 2013 20:25:14 +0000
From: "Zhao, Sean" <[email protected]>
To: "'Andy Newton'" <[email protected]>, "'[email protected]'"
<[email protected]>
Cc: "Grimes, Ronald" <[email protected]>, "Kulp, Robert"
<[email protected]>
Subject: Re: [arin-tech-discuss] Error about the deleting poc
Message-ID:
<c4d5f96b55be8b43ab4bbb7eacb706ed3827e...@pddcwmbxex504.ctl.intranet>
Content-Type: text/plain; charset="us-ascii"
Andy,
I have learned new thing. Great! I had my Arin Online Account,
which is SeanZhao. And I linked ZHAOS-ARIN with my 'SeanZhao' account manually.
Now I have a following question. Can I make this link action by program? What I
am asking is, do you have RESTful server that I can link my account to my POC,
just like link an OrgHandle to a PocHandle? I am asking url and payload for
link a poc to my Arin Online Account?
The reason I am asking is my clients call my webservice. And my
webservices call your RESTful to create a PocHandle. All these processes run by
computer. Also I have to give my clients an ability to delete the POC they
created. So I have to link the poc they created to an Arin Online Account by
computer too, so they can delete anytime they want to
Thanks,
Sean Zhao
[email protected]
From: Andy Newton [mailto:[email protected]]
Sent: Friday, May 31, 2013 3:25 PM
To: Zhao, Sean; '[email protected]'
Cc: Grimes, Ronald; Kulp, Robert
Subject: Re: [arin-tech-discuss] Error about the deleting poc
Sean,
An ARIN Online account is different than an Organization record. ARIN Online
accounts are setup through the web site only
(www.arin.net<http://www.arin.net>), and API Keys are associated to ARIN Online
accounts. Additionally, ARIN Online accounts are not published in Whois.
The following link describes the process of creating an account and linking it
to a POC:
https://www.arin.net/resources/restful-interfaces.html#before
Andy Newton,
Chief Engineer, ARIN
From: <Zhao>, Sean <[email protected]<mailto:[email protected]>>
Date: Friday, May 31, 2013 1:10 PM
To: Andrew Newton <[email protected]<mailto:[email protected]>>,
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Cc: "Grimes, Ronald"
<[email protected]<mailto:[email protected]>>, "Kulp, Robert"
<[email protected]<mailto:[email protected]>>
Subject: RE: [arin-tech-discuss] Error about the deleting poc
Hi, Andy,
Thanks for the quick response!
I thought it was link to AEI-18 (http://whois.arin.net/rest/org/AEI-18/pocs).
Maybe I am misunderstanding your "ARIN Online account".
Thanks,
Sean Zhao
[email protected]<mailto:[email protected]>
From: Andy Newton [mailto:[email protected]]
Sent: Friday, May 31, 2013 12:54 PM
To: Zhao, Sean; '[email protected]<mailto:'[email protected]>'
Cc: Grimes, Ronald; Kulp, Robert
Subject: Re: [arin-tech-discuss] Error about the deleting poc
Sean,
ZHAOS-ARIN is not linked to any ARIN Online account, and therefore there are no
API Keys with authority to delete it. If you link that POC to your ARIN Online
account, you'll be able to delete the POC with an API Key on that account.
I hope this helps.
Andy Newton,
Chief Engineer, ARIN
From: <Zhao>, Sean <[email protected]<mailto:[email protected]>>
Date: Friday, May 31, 2013 10:42 AM
To: "[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Cc: "Grimes, Ronald"
<[email protected]<mailto:[email protected]>>, "Kulp, Robert"
<[email protected]<mailto:[email protected]>>
Subject: [arin-tech-discuss] Error about the deleting poc
Hi,
I am trying to delete a poc that I created in 2011 with the url
https://www.arin.net/rest/poc/ZHAOS-ARIN?apikey=MY-API-KEY. But I got an error
says
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<error
xmlns="http://www.arin.net/regrws/core/v1"<http://www.arin.net/regrws/core/v1%22>>
<additionalInfo/>
<code>E_AUTHENTICATION</code>
<components/>
<message>The API key is not authorized to make that request.</message>
</error>
Does that mean I cannot delete the poc even it is created by myself with same
apikey? Or I have to unlink all the org associated with this poc before I
delete this poc?
Thanks,
Sean Zhao
[email protected]<mailto:[email protected]>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.arin.net/pipermail/arin-tech-discuss/attachments/20130531/ffbbafde/attachment-0001.html>
------------------------------
Message: 2
Date: Fri, 31 May 2013 16:33:40 -0400
From: Brian Rak <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Re: [arin-tech-discuss] Problems creating recipient org?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
We solved this, the issue is the content-type header. This needs to be
application/xml or you get the 404 errors.
On 5/30/2013 3:20 PM, Andy Newton wrote:
> Hi Brian,
>
> I'm looking at this and can see nothing immediately wrong. If you call our
> Registrations Services department, they can turn on traffic monitoring for
> a specific API Key and that might provide us with some more insight with
> regards to your problem.
>
> Their phone number is +1.703.227.0660
>
> I hope this is helpful.
>
> Andy Newton,
> Chief Engineer, ARIN
>
> On 5/29/13 3:38 PM, "Brian Rak" <[email protected]> wrote:
>
>> (Sorry about all the emails, I keep running into issues and there's very
>> little documentation outside of the API method lists)
>>
>> I'm trying to create a recipient org, and I keep getting a 404 error
>> back. This is pretty confusing, as the PARENTNETHANDLE I'm using
>> definitely exists.
>>
>> For example, I am sending the following request to https://reg.arin.net:
>>
>> POST /rest/net/NET-64-237-32-0-1/org?apikey=API-AAAA-BBBB-CCCC-DDDD
>> HTTP/1.1
>> Host: reg.arin.net
>> Accept: text/xml
>> Content-Type: text/xml
>> Content-Length: 344
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <org xmlns="http://www.arin.net/regrws/core/v1">
>> .....
>> </org>
>>
>> and getting the following back:
>>
>> < HTTP/1.1 404 Not Found
>> < Date: Wed, 29 May 2013 19:29:52 GMT
>> < Server: Apache-Coyote/1.1
>> < Content-Type: text/html;charset=utf-8
>> < Content-Length: 1541
>> < Set-Cookie: JSESSIONID=XXXXXXXX.jboss1; Path=/regcore
>> < Connection: close
>> <
>> * Closing connection #0
>> <html><head><title>JBoss Web/7.0.10.Final - Error
>> report</title><style><!--H1
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;
>> font-size:22px;}
>> H2
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;
>> font-size:16px;}
>> H3
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;
>> font-size:14px;}
>> BODY
>> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
>> B
>> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;
>> }
>> P
>> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-siz
>> e:12px;}A
>> {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
>> </head><body><h1>HTTP Status 404 - Could not find resource for relative
>> : /net/NET-64-237-32-0-1/org of full path:
>> http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-64-237-
>> 32-0-1/org?apikey=API-AAAA-BBBB-CCCC-DDDD</h1><HR
>> size="1" noshade="noshade"><p><b>type</b> Status
>> report</p><p><b>message</b> <u>Could not find resource for relative :
>> /net/NET-64-237-32-0-1/org of full path:
>> http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-64-237-
>> 32-0-1/org?apikey=API-AAAA-BBBB-CCCC-DDDD</u></p><p><b>description</b>
>> <u>The requested resource (Could not find resource for relative :
>> /net/NET-64-237-32-0-1/org of full path:
>> http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-64-237-
>> 32-0-1/org?apikey=API-AAAA-BBBB-CCCC-DDDD)
>> is not available.</u></p><HR size="1" noshade="noshade"><h3>JBoss
>> Web/7.0.10.Final</h3></body></html>
>>
>>
>> The only information I've been able to find about this is someone using
>> PUT instead of POST. What am I missing here? Given that I'm getting a
>> 404 back I'm thinking that I have the wrong URL. I can't seem to find
>> any other URL that I could possibly use though. The NET object I'm
>> using definitely exists:
>> http://whois.arin.net/rest/net/NET-64-237-32-0-1/pft , so that's not it
>> either.
>> _______________________________________________
>> arin-tech-discuss mailing list
>> [email protected]
>> http://lists.arin.net/mailman/listinfo/arin-tech-discuss
>>
>
------------------------------
_______________________________________________
arin-tech-discuss mailing list
[email protected]
http://lists.arin.net/mailman/listinfo/arin-tech-discuss
End of arin-tech-discuss Digest, Vol 28, Issue 4
************************************************