Address Element: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:XFRACAS.XML.Import.Doc.Class|Address|Address}}
{{Template:XFRACAS.XML.Import.Doc.Class|Address|Address}}
===XML Element===
===XML Element===
<Address>
: <Address>
    <AddressLine1 />
::    <AddressLine1 />
    <AddressLine2 />
::    <AddressLine2 />
    <City />
::    <City />
    <State />
::    <State />
    <StateAbbrev />
::    <StateAbbrev />
    <Country />
::    <Country />
    <ZipCode />
::    <ZipCode />
    <[[Address.Location|'''Location''']] />
::    <[[Address.Location|'''Location''']] />
    <Entity>
::    <Entity>
      <EnityID />
:::      <EnityID />
      <EntityName />
:::      <EntityName />
    </Entity>
::    </Entity>
    <[[Details]] />
::    <[[Details]] />
  </Address>
</Address>


===Description===
===Description===

Revision as of 22:45, 23 October 2013

XML Element

<Address>
<AddressLine1 />
<AddressLine2 />
<City />
<State />
<StateAbbrev />
<Country />
<ZipCode />
<Location />
<Entity>
<EnityID />
<EntityName />
</Entity>
<Details />
</Address>

Description

  • The AddressLine1 (String) element is optional.
  • The AddressLine2 (String) element is optional.
  • The City (String) element is optional. The value must match an existing city.
  • The State (String) element is optional. It is not used by the import.
  • The StateAbbrev element is optional. It must be a standard two letter state code.
  • The Country (String) element is optional. The value must match an existing country.
  • The ZipCode (Integer) element is optional. The value must match an existing zip code.
  • An invalid City, State, Country, or ZipCode is entry will be replaced by NULL.
  • The Location (String) element is required, and must NOT match an existing location.
  • The Entity element is optional. If present, it must contain a valid entity. The Entity element is only used to supply entity data for importing details.