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

Zhao, Sean Sean.Zhao at CenturyLink.com
Fri Oct 7 16:54:22 EDT 2011


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.arin.net/pipermail/arin-tech-discuss/attachments/20111007/1d73930f/attachment.html>


More information about the arin-tech-discuss mailing list