Report abuse


			
                                                                     
                                                                     
                                                                     
                                             
CREATE OUTBOUND/URS ACCOUNT:

http://example.com/create_user?email=test@test.com&html=1&list_id=e123&list_id=e456

Parameters:
   - email: the user's email address (REQUIRED)
   - html: flag to set the user's email preference; 1=html, 0=text (REQUIRED)
   - list_id: newsletter ecodes to subscribe the user to, you can provide
              more than 1 (OPTIONAL)

Can return the following XML structures....


===== Invalid/Missing Parameters =====

The following is returned when required parameters were not supplied or were invalid.
   - staus: 0=failed (0 will always be returned for these)
   - code: "bp" = bad parameters
   - badParameters: the parameter names there were not supplied or invalid, can be more that one
   

   0
   bp
   Missing or invalid parameters.
   
      PARAMETER_NAME_1
      PARAMETER_NAME_2
      PARAMETER_NAME_3
   



===== Outbound/URS Web Service Error =====

The following is returned when there was a problem communicating with either the Outbound or URS web services.
   - status: 0=failed (0 will always be returned for these)
   - code: "wse" = web service error
   - webservice: the web service that caused the error; Outbound|URS
   - message: the error message if available


   0
   wse
   Outbound|URS
   SOME ERROR MESSAGE



===== Outbound/URS Web Service Transaction Status =====

The following XML structure gives the status of the calls to the URS and Outbound web services.
   For URS service call:
      - status: 0=failed, 1=succeeded
      - code: "ursf" = email address update failed
              "urss" = email address update was successful
      - error: provides errors received from URS while updating the email address;
               this node will not be provided if the status=1, can be more than one
      - regId: the URS registration id; will not be provided if status=0
   For Outbound service call:
      - status: 0=failed, 1=succeeded
      - code: "obf" = could not create account in Outbound system
              "obs" = Outbound account was created
      - message: brief message, just says whether the account was created or not


   
      0|1
      ursf|urss
      
         NAME OF PARAMETER THAT CAUSED THE ERROR
         THE ERROR
      
      USER'S URS REGISTRATION ID
   
   
      0|1
      obf|obs
      BRIEF MESSAGE
      



===================================================================================
===================================================================================
===================================================================================
===================================================================================
===================================================================================


UPDATE EMAIL ADDRESS IN OUTBOUND/URS:

http://example.com/update_user?email=test@test.com®Id=123456789

Parameters:
   - email: the user's email address
   - regId: the user's URS registration id
   
NOTE!!!!! When the user's email address is updated in URS it is not updated in the Outbound database
          until URS has confirmed the new email address. So, until a user's confirms the new eamil address
          with URS they will continue to get mail to their old email address.

Can return the following XML structures....


===== Invalid/Missing Parameters =====

The following is returned when required parameters were not supplied or were invalid.
   - staus: 0=failed (0 will always be returned for these)
   - code: "bp" = bad parameters
   - badParameters: the parameter names there were not supplied or invalid, can be more that one
   

   0
   bp
   Missing or invalid parameters.
   
      PARAMETER_NAME_1
      PARAMETER_NAME_2
      PARAMETER_NAME_3
   



===== URS Web Service Error =====

The following is returned when there was a problem communicating with the URS web service.
   - status: 0=failed (0 will always be returned for these)
   - code: "wse" = web service error
   - webservice: the web service that caused the error; URS
   - message: the error message if available


   0
   wse
   URS
   SOME ERROR MESSAGE



===== URS Web Service Transaction Status =====

The following XML structure gives the status of the call to the URS web service.
   - status: 0=failed, 1=succeeded
   - code: "ursf" = email address update failed
           "urss" = email address update was successful
   - error: provides errors received from URS while updating the email address;
            this node will not be provided if the status=1, can be more than one
   - regId: the URS registration id; will not be provided if status=0


   0|1
   ursf|urss
   
      NAME OF PARAMETER THAT CAUSED THE ERROR
      THE ERROR
   
   USER'S URS REGISTRATION ID