[arin-tech-discuss] arin-tech-discuss Digest, Vol 9, Issue 1
Zhao, Sean
Sean.Zhao at CenturyLink.com
Thu Sep 1 17:21:31 EDT 2011
Thanks a lot David. That does work now. But I have one more question. Since I got ticket payload instead of org payload. How do I now the OrgHandle. Should I search the ticket by the ticket# I receive?
Thanks,
Sean Zhao
Sean.Zhao at CenturyLink.com
-----Original Message-----
From: arin-tech-discuss-bounces at arin.net [mailto:arin-tech-discuss-bounces at arin.net] On Behalf Of arin-tech-discuss-request at arin.net
Sent: Thursday, September 01, 2011 12:00 PM
To: arin-tech-discuss at arin.net
Subject: arin-tech-discuss Digest, Vol 9, Issue 1
Send arin-tech-discuss mailing list submissions to
arin-tech-discuss at arin.net
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
arin-tech-discuss-request at arin.net
You can reach the person managing the list at
arin-tech-discuss-owner at arin.net
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 message when I sent an org payload to create an Org
(David Huberman)
----------------------------------------------------------------------
Message: 1
Date: Wed, 31 Aug 2011 21:21:50 +0000
From: David Huberman <dhuberma at arin.net>
To: "'arin-tech-discuss at arin.net'" <arin-tech-discuss at arin.net>
Cc: "Grimes, Ronald" <Ron.Grimes at CenturyLink.com>
Subject: Re: [arin-tech-discuss] Error message when I sent an org
payload to create an Org
Message-ID: <CA841D74.946A%dhuberma at corp.arin.net>
Content-Type: text/plain; charset="us-ascii"
Hello,
There are two problems with your payload:
1) You have specified: xmlns="" in three places:
<iso3166-1 xmlns="">
<streetAddress xmlns="">
<pocLinks xmlns="">
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:
<?xml version="1.0" encoding="UTF-8"?>
<org xmlns="http://www.arin.net/regrws/core/v1">
<iso3166-2>AZ</iso3166-2>
<iso3166-1>
<name></name>
<code2>US</code2>
<code3>USA</code3>
<e164></e164>
</iso3166-1>
<streetAddress>
<line number="1">1113 W BIRCHWOOD AVE</line>
</streetAddress>
<city>MESA</city>
<postalCode>85210</postalCode>
<orgName>ADVANCED ENERGY IDEAS</orgName>
<pocLinks>
<pocLinkRef handle="KOTLO3-ARIN" function="AB"/>
<pocLinkRef handle="ZHAOS13-ARIN" function="N"/>
<pocLinkRef handle="ZHAOS14-ARIN" function="T"/>
</pocLinks>
</org>
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
------------------------------
_______________________________________________
arin-tech-discuss mailing list
arin-tech-discuss at arin.net
http://lists.arin.net/mailman/listinfo/arin-tech-discuss
End of arin-tech-discuss Digest, Vol 9, Issue 1
***********************************************
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.
More information about the arin-tech-discuss
mailing list