[arin-tech-discuss] Question about the update Org address...
Zhao, Sean
Sean.Zhao at CenturyLink.com
Tue Aug 27 17:26:59 EDT 2013
Hi, Andy
Please let me repeat what you are saying.
For updating an org, handle, registrationDate and OrgName are mandatory fields
And for updating a poc, handle, and registrationDate are mandatory fields, am I corret?
Thanks
Sean Zhao
sean.zhao at centurylink.com
From: Andy Newton [mailto:andy at arin.net]
Sent: Tuesday, August 27, 2013 5:17 PM
To: Zhao, Sean; 'arin-tech-discuss at arin.net'
Cc: Grimes, Ronald
Subject: Re: [arin-tech-discuss] Question about the update Org address...
Sean,
The orgName is also required. Like registrationDate, is must appear exactly as it currently is.
One strategy that may be used for modifying POCs and ORGs is to issue a GET first and use that XML in a subsequent PUT, modifying only the fields that need modification.
Andy Newton,
Chief Engineer, ARIN
From: <Zhao>, Sean <Sean.Zhao at CenturyLink.com<mailto:Sean.Zhao at CenturyLink.com>>
Date: Tuesday, August 27, 2013 4:49 PM
To: Andrew Newton <andy at arin.net<mailto:andy at arin.net>>, "arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>" <arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>>
Cc: "Grimes, Ronald" <Ron.Grimes at CenturyLink.com<mailto:Ron.Grimes at CenturyLink.com>>
Subject: RE: [arin-tech-discuss] Question about the update Org address...
Thanks Andy. That is a good catch. Yes, I did miss the code2
But after I added code2 and iso3166-2, I still have the same error. I even tried <e164>1</e164> and code3 too. Still the misleading error message.
<?xml version="1.0" encoding="UTF-8"?>
<org xmlns="http://www.arin.net/regrws/core/v1"<http://www.arin.net/regrws/core/v1%22>>
<registrationDate>1999-10-30T00:00:00-04:00</registrationDate>
<iso3166-1>
<code2>US</code2>
</iso3166-1>
<streetAddress>
<line number="0">6000 Parkwood Pl.</line>
</streetAddress>
<city>Dublin</city>
<iso3166-2>OH</iso3166-2>
<postalCode>43016</postalCode>
<handle>QIO</handle>
</org>
The error message is
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><error xmlns="http://www.arin.net/regrws/core/v1"><additionalInfo/><code>E_BAD_REQUEST</code><components><component><message>This<http://www.arin.net/regrws/core/v1%22%3e%3cadditionalInfo/%3e%3ccode%3eE_BAD_REQUEST%3c/code%3e%3ccomponents%3e%3ccomponent%3e%3cmessage%3eThis> element cannot be modified.</message><name>orgName</name></component></components><message>This method requires certain parameters. Please see the documentation for details.</message></error>
Thanks
Sean Zhao
sean.zhao at centurylink.com<mailto:sean.zhao at centurylink.com>
From: Andy Newton [mailto:andy at arin.net]
Sent: Tuesday, August 27, 2013 3:50 PM
To: Zhao, Sean; 'arin-tech-discuss at arin.net<mailto:'arin-tech-discuss at arin.net>'
Cc: Grimes, Ronald
Subject: Re: [arin-tech-discuss] Question about the update Org address...
Sean,
I believe I have replicated your problem. Your payload does not provide the iso3166-1/code2 (2 letter country code) elements nor the iso3166-2 element (state/province). When these are omitted, the error given back incorrectly states that the orgName cannot be modified. I'll enter a bug in our tracking system for this.
Additionally, registrationDate is required as well as orgName and they must not be modified. You are correct that this is the case with POCs as well. I will enter a bug in our tracking system for this as it is awkward and seemingly unnecessary.
You will have to furnish pocs in the pocLink section. If you do not, you'll get error messages noting that you need one admin poc, abuse pocs, and tech pocs.
Andy Newton,
Chief Engineer, ARIN
From: <Zhao>, Sean <Sean.Zhao at CenturyLink.com<mailto:Sean.Zhao at CenturyLink.com>>
Date: Tuesday, August 27, 2013 3:09 PM
To: Andrew Newton <andy at arin.net<mailto:andy at arin.net>>, "arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>" <arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>>
Cc: "Grimes, Ronald" <Ron.Grimes at CenturyLink.com<mailto:Ron.Grimes at CenturyLink.com>>
Subject: RE: [arin-tech-discuss] Question about the update Org address...
Hi, Andy
If you check QIO the registration date is 1999-10-30T00:00:00-04:00. And the date in my payload also is
<registrationDate>1999-10-30T00:00:00-04:00</registrationDate>
They are exactly same. One day I was trying to update a poc. It did not work at first time because I did not provide the registrationDate. David asked me to provide it and to make sure the format string is exactly same as in your xml. So I did it and worked. Same as Org. I update the AD poc with org modifying. I am just trying to give you some clues
Thanks for your help Andy!
Thanks
Sean Zhao
sean.zhao at centurylink.com<mailto:sean.zhao at centurylink.com>
From: Andy Newton [mailto:andy at arin.net]
Sent: Tuesday, August 27, 2013 2:45 PM
To: Zhao, Sean; 'arin-tech-discuss at arin.net<mailto:'arin-tech-discuss at arin.net>'
Cc: Grimes, Ronald
Subject: Re: [arin-tech-discuss] Question about the update Org address...
Hi Sean,
The error message would seem to be misleading and we may have a bug in that it is reporting orgName instead of registrationDate. Modification of the registrationDate is likely triggering this error. If you remove registrationDate from your payload, does the error still occur?
Andy Newton,
Chief Engineer, ARIN
From: <Zhao>, Sean <Sean.Zhao at CenturyLink.com<mailto:Sean.Zhao at CenturyLink.com>>
Date: Tuesday, August 27, 2013 2:31 PM
To: "arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>" <arin-tech-discuss at arin.net<mailto:arin-tech-discuss at arin.net>>
Cc: "Grimes, Ronald" <Ron.Grimes at CenturyLink.com<mailto:Ron.Grimes at CenturyLink.com>>
Subject: [arin-tech-discuss] Question about the update Org address...
Hi,
I am trying to update an org address. My payload is like following. And I got an error returned. I don't understand what does it mean because I am not trying to change OrgName.
<?xml version="1.0" encoding="UTF-8"?>
<org xmlns="http://www.arin.net/regrws/core/v1"<http://www.arin.net/regrws/core/v1%22>>
<registrationDate>1999-10-30T00:00:00-04:00</registrationDate>
<streetAddress>
<line number="0">6000 Parkwood Pl.</line>
</streetAddress>
<city>Dublin</city>
<postalCode>43016</postalCode>
<handle>QIO</handle>
<pocLinks/>
</org>
But I got an error returned,
<?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_BAD_REQUEST</code>
<components>
<component>
<message>This element cannot be modified.</message>
<name>orgName</name>
</component>
</components>
<message>This method requires certain parameters. Please see the documentation for details.</message>
</error>
Thanks
Sean Zhao
sean.zhao at centurylink.com<mailto:sean.zhao at centurylink.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20130827/3f2d0421/attachment.html>
More information about the arin-tech-discuss
mailing list