[arin-tech-discuss] Get an error when I am trying to create a POC

Zhao, Sean Sean.Zhao at CenturyLink.com
Fri Oct 7 17:24:09 EDT 2011


Yes, I got it. Thanks for the quick response!

Thanks,

Sean Zhao
Sean.Zhao at CenturyLink.com


-----Original Message-----
From: David Huberman [mailto:dhuberma at arin.net]
Sent: Friday, October 07, 2011 5:16 PM
To: Zhao, Sean; 'arin-tech-discuss at arin.net'
Cc: Grimes, Ronald
Subject: Re: [arin-tech-discuss] Get an error when I am trying to create a POC

Hello,

Role POCs need data in the LastName field. This data should define the
role in plain terms.  If the role defines a NOC contact, for example, then
the LastName might say something like, "Network Operations Center" or
"NOC".  If the role is an abuse account, LastName might say "Abuse Desk"
or similar. Picking a POC at random in Whois, I found HOSTM3-ARIN:

Name:           Hostmaster
Handle:         HOSTM3-ARIN
Company:        Entre Solutions
Address:        51 West Fairmont Avenue
City:           Savannah
StateProv:      GA
PostalCode:     31408
Country:        US
RegDate:        2002-08-29
Updated:        2002-08-29
Phone:          +1-912-352-1600 (Office)
Email:          hostmaster at entresolutions.org
Ref:            http://whois.arin.net/rest/poc/HOSTM3-ARIN

Hope that helps! :)

Regards,
David

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







On 10/7/11 4:54 PM, "Zhao, Sean" <Sean.Zhao at CenturyLink.com> wrote:

Hi, David
                I have a POC payload bellow. But I keep getting an error
xml from Arin. Error xml is also bellow. I thought if I had a contact type
ROLE, I did not need FirstName and LastName, but CompanyName. When I have
PERSON as contactType,
 I do need LastName and FirstName. Am I right? Or I misundstand you.


<?xml version="1.0" encoding="UTF-8"?>
<poc xmlns="http://www.arin.net/regrws/core/v1">
<iso3166-2>CO</iso3166-2>
<iso3166-1>
<name></name>
<code2></code2>
<code3>USA</code3>
<e164></e164>
</iso3166-1>
<emails>
<email>vhanji at qwest.com</email <mailto:vhanji at qwest.com%3c/email>>
</emails>
<streetAddress>
<line number="1">600 17TH ST</line>
</streetAddress>
<city>DENVER</city>
<postalCode>80202</postalCode>
<contactType>ROLE</contactType>
<companyName>PEACE CORPS HEADQUARTERS</companyName>
<phones>
<phone>
<type>
<description>CELL</description>
<code>M</code>
</type>
<number>1211211221</number>
</phone>
</phones>
</poc>




<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<error xmlns="http://www.arin.net/regrws/core/v1">
<additionalInfo/><code>E_ENTITY_VALIDATION</code>
<components>
<component>
<message>Value is required.</message>
<name>lastName</name>
</component>
<component>
<message>Phone number not in the correct format for country
selected.</message>
<name>mobilePhone</name>
</component>
<component>
<message>Value is required.</message>
<name>officePhone</name>
</component>
</components>
<message>Payload entity failed to validate; see component messages for
details.</message>
</error>


Thanks,

Sean Zhao
Sean.Zhao at CenturyLink.com



________________________________________
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.


_______________________________________________
arin-tech-discuss mailing list
arin-tech-discuss at arin.net
http://lists.arin.net/mailman/listinfo/arin-tech-discuss


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