Position XML Element

Modified on Mon, 17 Aug 2015 12:36 by henrik — Categorized as: Gateway, Two way SMS, XML API

Describes the position of the sender of an MO.


LONGITUDEYThe position longitude given as a decimal number. Positive numbers is North, negative is South
LATITUDEYThe position latitude given as a decimal number. Positive numbers is East, negative is West
RADIUSYRadius of accuracy given in meters
COUNCILYThe council (N: kommune) of the position
COUNCILNUMBERYThe council number (N: kommunenummer) of the position
PLACEYA desciption of the position, may differ between mobile network operators
SUBPLACENSome operators provide additional information on the position
ZIPCODENThe zip code of the position
CITYNThe city of the position


<xs:element name="POSITION">
      <xs:element name="STATUS" type="xs:string" />
      <xs:element name="INFO" type="xs:string" minOccurs="0" maxOccurs="1" />
      <xs:element name="POS" minOccurs="0" maxOccurs="1">
            <xs:element name="LONGITUDE" type="xs:float" />
            <xs:element name="LATITUDE" type="xs:float" />
            <xs:element name="RADIUS" type="xs:int" />
            <xs:element name="COUNCIL" type="xs:string" />
            <xs:element name="COUNCILNUMBER" type="xs:int" />
            <xs:element name="PLACE" type="xs:string" />
            <xs:element name="SUBPLACE" type="xs:string" minOccurs="0" maxOccurs="1" />
            <xs:element name="ZIPCODE" type="xs:string" minOccurs="0" maxOccurs="1" />
            <xs:element name="CITY" type="xs:string" minOccurs="0" maxOccurs="1" />

Sample XML

  <INFO>Additional info if applicable</INFO>
    <COUNCIL>Bergen Kommune</COUNCIL>
    <SUBPLACE>Fjøsangerveien 50<SUBPLACE>