subscribeUsrSessionPolicy

Request from BOSS to Mediation Server

<soapenv:Envelope 
          xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
          xmlns:pcrf="http://www.examplenetwork.com/PCRF/" 
          xmlns:pcrf1="pcrf:soap">
   <soapenv:Header>
      <pcrf:Header>
         <Address></Address>
         <Username>admin</Username>
         <Password>*****</Password>
         <time></time>
         <serial></serial>
      </pcrf:Header>
   </soapenv:Header>
   <soapenv:Body>
    <pcrf1:subscribeUsrSessionPolicy>
      <inPara>
        <subscriber>
          <attribute>
            <key>usrIdentifier</key>
            <value>008613705162222</value>
          </attribute>
        </subscriber>
        <subscribedUsrSessionPolicy>
          <attribute>
            <key>usrSessionPolicyCode</key>
            <value>11012501234567890123456789011111</value>
          </attribute>
          <attribute>
            <key>NotificationCycle</key>
            <value>0</value>
          </attribute>
          <attribute>
            <key>TerminalType</key>
            <value>PhoneType1</value>
          </attribute>
          <attribute>
            <key>SessionPolicyStartDateTime</key>
            <value>20140101000000</value>
          </attribute>
          <attribute>
            <key>SessionPolicyEndDateTime</key>
            <value>20141231120000</value>
          </attribute>
          <attribute>
            <key>operateTime</key>
            <value>20140620182010</value>
          </attribute>
        </subscribedUsrSessionPolicy>
      </inPara>
    </pcrf1:subscribeUsrSessionPolicy>
   </soapenv:Body>
</soapenv:Envelope>

Request between Mediation Server and SPR

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns1="http://www.example.com/udr/">
  <soapenv:Body>
    <ns1:processTransaction>
      <![CDATA[<req name="insert" resonly="y">
        <ent name="UsrSessionPolicy" ns="policy"/>
        <set>
          <expr>
            <attr name="operateTime"/>
            <value val="20140620182010"/>
          </expr>
          <expr>
            <attr name="TerminalType"/>
            <value val="PhoneType1"/>
          </expr>
          <expr>
            <attr name="SessionPolicyEndDateTime"/>
            <value val="20141231120000"/>
          </expr>
          <expr>
            <attr name="PolicyCode"/>
            <value val="11012501234567890123456789011111"/>
          </expr>
          <expr>
            <attr name="SessionPolicyStartDateTime"/>
            <value val="20140101000000"/>
          </expr>
          <expr>
            <attr name="NotificationCycle"/>
            <value val="0"/>
          </expr>
        </set>
        <where>
          <expr>
            <attr name="MSISDN"/>
            <op value="="/>
            <value val="008613705162222"/>
          </expr>
        </where>
      </req>]]>
    </ns1:processTransaction>
  </soapenv:Body>
</soapenv:Envelope>

Response from SPR to Mediation

<SOAP-ENV:Envelope 
          xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
          xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" 
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
          xmlns:ns1="http://www.example.com/udr/">
   <SOAP-ENV:Body>
    <ns1:message error="0">
      <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
      <req name="insert" resonly="y">
        <res affected="1" error="0"/>
      </req>]]>
    </ns1:message>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>