[arin-tech-discuss] returned error message when I am trying to create an OrgHandle....

Zhao, Sean Sean.Zhao at CenturyLink.com
Mon Feb 4 15:50:54 EST 2013


Thanks a lot, David. It is the url problem.

Now I got this xml returned,

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ticket xmlns="http://www.arin.net/regrws/core/v1" xmlns:ns2="http://www.arin.net/regrws/messages/v1"><createdDate>2013-02-04T15:40:18.708-05:00</createdDate><ticketNo>20130204-X861</ticketNo><updatedDate>2013-02-04T15:40:18.708-05:00</updatedDate><webTicketStatus>PENDING_REVIEW</webTicketStatus><webTicketType>ORG_CREATE</webTicketType></ticket>

I remember it used to return me a new orgHandel instead of ticket number. Am I missing anything or Arin won't return OrgHandle immediately anymore?

Thanks,

Sean Zhao
Sean.Zhao at CenturyLink.com

-----Original Message-----
From: David Huberman [mailto:dhuberma at arin.net]
Sent: Monday, February 04, 2013 3:31 PM
To: Zhao, Sean; 'arin-tech-discuss at arin.net'
Cc: Grimes, Ronald
Subject: Re: [arin-tech-discuss] returned error message when I am trying to create an OrgHandle....

Hiya Sean Zhao,

Looks to me like the problem is your URL.  It's /rest/org/  rather than /rest/net/org/

Try that out and let us know if you continue to have errors.

Best,
David

---
David R Huberman
Principal Technical Analyst, ARIN
703-227-9866







On 2/4/13 3:25 PM, "Zhao, Sean" <Sean.Zhao at CenturyLink.com> wrote:

Hi,
                I am trying to create and org handle vs RESTFul. But I keep getting an error message, like this, <?xml version="1.0" encoding="UTF-8" standalone="yes"?><error xmlns="http://www.arin.net/regrws/core/v1"><additionalInfo><message>Ensure
that the proper HTTP method has been used for this request.</message></additionalInfo><code>E_BAD_REQUEST</code><components/><
message>No
 resource method found for POST, return 405 with Allow header</message></error>

Here is my payload.
 <?xml version="1.0" encoding="UTF-8"?>
<org xmlns="http://www.arin.net/regrws/core/v1">
<iso3166-2>OH</iso3166-2>
<iso3166-1>
<code3>USA</code3>
<code2></code2>
<name></name>
<e164></e164>
</iso3166-1>
<streetAddress>
<line number="1">6000 Parkwood Pl</line> </streetAddress> <city>DUBLIN</city> <postalCode>43016</postalCode> <orgName>CENTURYLINK LIMS</orgName> <pocLinks> <pocLinkRef description="SEAN ZHAO" handle="KOTLO3-ARIN" function="AB"/> <pocLinkRef description="SEAN ZHAO" handle="ZHAOS15-ARIN" function="AD"/> <pocLinkRef description="SEAN ZHAO" handle="ZHAOS13-ARIN" function="N"/> <pocLinkRef description="SEAN ZHAO" handle="ZHAOS14-ARIN" function="T"/> </pocLinks> </org>

The url I am using
https://www.arin.net/rest/net/org/?apikey=MyAPIKey

this url & payload worked before back to early of 2010. Am I missing any updated things?


Thanks,

Sean Zhao
Sean.Zhao at CenturyLink.com






More information about the arin-tech-discuss mailing list