<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>Hello,</p>
<p> </p>
<p>As promised, reporting back to the list in case it helps anyone looking through the archives.  The error code that was encountered happens if you PUT instead of POST when creating a recipient customer org.</p>
<p> </p>
<p>Regards,</p>
<p>David</p>
<p> </p>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px">
<hr tabindex="-1">
<div style="DIRECTION: ltr" id="divRpF834041"><font color="#000000" size="2" face="Tahoma"><b>From:</b> arin-tech-discuss-bounces@arin.net [arin-tech-discuss-bounces@arin.net] on behalf of Jarl Stefansson [jarl.stefansson@gmail.com]<br>
<b>Sent:</b> Sunday, December 23, 2012 1:22 AM<br>
<b>To:</b> arin-tech-discuss@arin.net<br>
<b>Subject:</b> [arin-tech-discuss] Problem creating customer record using ARIN REST REG API<br>
</font><br>
</div>
<div></div>
<div>
<div>Hi,</div>
<div><br>
</div>
<div>I'm building a python library to communicate with the ARIN REST REG API and until I ran into the following issue everything has worked great.</div>
<div><br>
</div>
<div> I'm able to retrieve/modify Net and Customer objects without any issues but when I try to create a new Customer I'm getting the following error, I've consulted with the documentation and as far as I can see I'm following it to the letter, perhaps someone
 here can assist, I've included the error I receive from the API but with modified NET and API keys for security/privacy reasons.</div>
<div><br>
</div>
<div><br>
</div>
<div>DEBUG:root:request() HTTP Response content b'</div>
<div><html></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><head></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><title>JBoss Web/7.0.10.Final - Error report</title></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><style></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><!--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-size:12px;}A
 {color : black;}A.name {color : black;}HR {color : #525D76;}--></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span></style></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span></head></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><body></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><h1></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span>HTTP Status 404 - Could not find resource for relative : /net/NET-192-168-0-0-1/customer of full path:
<a href="http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234" target="_blank">
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234</a></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span></h1></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><HR size="1" noshade="noshade"></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><p><b>type</b> Status report</p></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><p><b>message</b> <u>Could not find resource for relative : /net/NET-192-168-0-0-1/customer of full path:
<a href="http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234" target="_blank">
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234</a></u></p></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><p><b>description</b></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><u></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span>The requested resource (Could not find resource for relative : /net/NET-192-168-0-0-1/customer of full path:
<a href="http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234" target="_blank">
http://jboss1.cha.arin.net:8080/regcore/seam/resource/rest/net/NET-192-168-0-0-1/customer?apikey=API-DEAD-BEEF-CAFE-1234</a>) is not available.</div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span></u></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span></p></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><HR size="1" noshade="noshade"></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span><h3>JBoss Web/7.0.10.Final</h3></div>
<div><span style="WHITE-SPACE: pre" class="Apple-tab-span"></span></body></div>
<div></html>'</div>
<div><br>
</div>
<div>p.s. I will be releasing the library under GPL v.3 once finished.</div>
<div><br>
</div>
-- <br>
Regards,<br>
<br>
Jarl Stefansson<br>
<a href="mailto:jarl.stefansson@gmail.com" target="_blank">jarl.stefansson@gmail.com</a><br>
</div>
</div>
</div>
</body>
</html>