addSubscriber

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:addSubscriber>
         <inPara>
            <subscriber>
              <attribute>
                <key>usrIdentifier</key>
                <value>008613705161111</value>
              </attribute>
              <attribute>
                <key>usrNotifyMSISDN</key>
                <value>008613705161111</value>
              </attribute>
              <attribute>
                <key>usrIMSI</key>
                <value>460000726001111</value>
              </attribute>
              <attribute>
                <key>usrBillingType</key>
                <value>1</value>
              </attribute>
              <attribute>
                <key>usrGrade</key>
                <value>1</value>
              </attribute>
              <attribute>
                <key>usrStatus</key>
                <value>2</value>
              </attribute>
              <attribute>
                <key>usrBillCycleDate</key>
                <value>1</value>
              </attribute>
              <attribute>
                <key>PackageType</key>
                <value>0</value>
              </attribute>
              <attribute>
                <key>operateTime</key>
                <value>20140620182010</value>
              </attribute>
            </subscriber>
         </inPara>
      </pcrf1:addSubscriber>
   </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="Subscriber"/>
          <set>
            <expr><attr name="MSISDN"/><value val="008613705161101"/></expr>
            <expr><attr name="usrNotifyMSISDN"/><value val="008613705161101"/></expr>
            <expr><attr name="IMSI"/><value val="460000722001101"/></expr>
            <expr><attr name="usrBillingType"/><value val="0"/></expr>
            <expr><attr name="Tier"/><value val="1"/></expr>
            <expr><attr name="BillingDay"/><value val="1"/></expr>
            <expr><attr name="PackageType"/><value val="0"/></expr>
            <expr><attr name="operateTime"/><value val="20140513162800"/></expr>
            <expr>
              <attr name="State"/>
              <op value="="/>
              <cdata><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
               <state>
                <version>1</version>
                <property>
                  <name>usrStatus</name>
                  <value>2</value>
                </property>
              </state>
              ]]>
             </cdata>
            </expr>
          </set>
        </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>