keyXValuePair

There a number of keyXValuePair complex types which inherit from keyValueBasePair represent a pair of key (type: stringID) and value with different types:

  • keyStringValuePair
  • keyIntValuePair
  • keyDecimalValuePair
  • keyLongValuePair
  • keyDateTimeValuePair
  • keyBooleanValuePair
  • keyBase64ValuePair

Example:

<detail xsi:type="keyStringValuePair">
  <key>ProviderExternalID</key>
  <value>471762</value>
</detail>

XML Schema:

<s:complexType name="keyValueBasePair" abstract="true">
  <s:sequence>
    <s:element minOccurs="1" maxOccurs="1" name="key" type="stringID"/>
  </s:sequence>
</s:complexType>

<s:complexType name="keyStringValuePair">
  <s:complexContent>
    <s:extension base="keyValueBasePair">
      <s:sequence>
        <s:element minOccurs="1" maxOccurs="1" name="value" type="secureString"/>
      </s:sequence>
    </s:extension>
  </s:complexContent>
</s:complexType>

<s:complexType name="keyIntValuePair">
  <s:complexContent>
    <s:extension base="keyValueBasePair">
      <s:sequence>
        <s:element minOccurs="1" maxOccurs="1" name="value" type="s:int"/>
      </s:sequence>
    </s:extension>
  </s:complexContent>
</s:complexType>

<s:complexType name="keyDecimalValuePair">
  <s:complexContent>
    <s:extension base="keyValueBasePair">
      <s:sequence>
        <s:element minOccurs="1" maxOccurs="1" name="value" type="s:decimal"/>
      </s:sequence>
    </s:extension>
  </s:complexContent>
</s:complexType>

<s:complexType name="keyLongValuePair">
  <s:complexContent>
    <s:extension base="keyValueBasePair">
      <s:sequence>
        <s:element minOccurs="1" maxOccurs="1" name="value" type="s:long"/>
      </s:sequence>
    </s:extension>
  </s:complexContent>
</s:complexType>

<s:complexType name="keyDateTimeValuePair">
  <s:complexContent>
    <s:extension base="keyValueBasePair">
      <s:sequence>
        <s:element minOccurs="1" maxOccurs="1" name="value" type="s:dateTime"/>
      </s:sequence>
    </s:extension>
  </s:complexContent>
</s:complexType>

<s:complexType name="keyBooleanValuePair">
  <s:complexContent>
    <s:extension base="keyValueBasePair">
      <s:sequence>
        <s:element minOccurs="1" maxOccurs="1" name="value" type="s:boolean"/>
      </s:sequence>
    </s:extension>
  </s:complexContent>
</s:complexType>

<s:complexType name="keyBase64ValuePair">
  <s:complexContent>
    <s:extension base="keyValueBasePair">
      <s:sequence>
        <s:element minOccurs="1" maxOccurs="1" name="value" type="s:base64Binary"/>
      </s:sequence>
    </s:extension>
  </s:complexContent>
</s:complexType>