OnePointAPIService


Click here for a complete list of operations.

AddRecipientByAllFields

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
UserID:
Password:
EmailAddress:
FirstName:
LastName:
Address1:
Address2:
City:
State:
PostalCode:
Country:
WorkPhone:
HomePhone:
MobilePhone:
Fax:
Gender:
BirthDate:
CompanyName:
EmailContentType:
MaritalStatus:
ContactXmlData:
ListIds:
SignupDate:
SignupMethod:
SignupURL:
IPAddress:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /OnePointAPI/OnePointAPIService.asmx HTTP/1.1
Host: qa.psplhyd.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/AddRecipientByAllFields"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddRecipientByAllFields xmlns="http://tempuri.org/">
      <UserID>string</UserID>
      <Password>string</Password>
      <EmailAddress>string</EmailAddress>
      <FirstName>string</FirstName>
      <LastName>string</LastName>
      <Address1>string</Address1>
      <Address2>string</Address2>
      <City>string</City>
      <State>string</State>
      <PostalCode>string</PostalCode>
      <Country>string</Country>
      <WorkPhone>string</WorkPhone>
      <HomePhone>string</HomePhone>
      <MobilePhone>string</MobilePhone>
      <Fax>string</Fax>
      <Gender>string</Gender>
      <BirthDate>string</BirthDate>
      <CompanyName>string</CompanyName>
      <EmailContentType>string</EmailContentType>
      <MaritalStatus>string</MaritalStatus>
      <ContactXmlData>string</ContactXmlData>
      <ListIds>string</ListIds>
      <SignupDate>string</SignupDate>
      <SignupMethod>string</SignupMethod>
      <SignupURL>string</SignupURL>
      <IPAddress>string</IPAddress>
    </AddRecipientByAllFields>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AddRecipientByAllFieldsResponse xmlns="http://tempuri.org/">
      <AddRecipientByAllFieldsResult>xml</AddRecipientByAllFieldsResult>
    </AddRecipientByAllFieldsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /OnePointAPI/OnePointAPIService.asmx HTTP/1.1
Host: qa.psplhyd.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AddRecipientByAllFields xmlns="http://tempuri.org/">
      <UserID>string</UserID>
      <Password>string</Password>
      <EmailAddress>string</EmailAddress>
      <FirstName>string</FirstName>
      <LastName>string</LastName>
      <Address1>string</Address1>
      <Address2>string</Address2>
      <City>string</City>
      <State>string</State>
      <PostalCode>string</PostalCode>
      <Country>string</Country>
      <WorkPhone>string</WorkPhone>
      <HomePhone>string</HomePhone>
      <MobilePhone>string</MobilePhone>
      <Fax>string</Fax>
      <Gender>string</Gender>
      <BirthDate>string</BirthDate>
      <CompanyName>string</CompanyName>
      <EmailContentType>string</EmailContentType>
      <MaritalStatus>string</MaritalStatus>
      <ContactXmlData>string</ContactXmlData>
      <ListIds>string</ListIds>
      <SignupDate>string</SignupDate>
      <SignupMethod>string</SignupMethod>
      <SignupURL>string</SignupURL>
      <IPAddress>string</IPAddress>
    </AddRecipientByAllFields>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AddRecipientByAllFieldsResponse xmlns="http://tempuri.org/">
      <AddRecipientByAllFieldsResult>xml</AddRecipientByAllFieldsResult>
    </AddRecipientByAllFieldsResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /OnePointAPI/OnePointAPIService.asmx/AddRecipientByAllFields?UserID=string&Password=string&EmailAddress=string&FirstName=string&LastName=string&Address1=string&Address2=string&City=string&State=string&PostalCode=string&Country=string&WorkPhone=string&HomePhone=string&MobilePhone=string&Fax=string&Gender=string&BirthDate=string&CompanyName=string&EmailContentType=string&MaritalStatus=string&ContactXmlData=string&ListIds=string&SignupDate=string&SignupMethod=string&SignupURL=string&IPAddress=string HTTP/1.1
Host: qa.psplhyd.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /OnePointAPI/OnePointAPIService.asmx/AddRecipientByAllFields HTTP/1.1
Host: qa.psplhyd.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

UserID=string&Password=string&EmailAddress=string&FirstName=string&LastName=string&Address1=string&Address2=string&City=string&State=string&PostalCode=string&Country=string&WorkPhone=string&HomePhone=string&MobilePhone=string&Fax=string&Gender=string&BirthDate=string&CompanyName=string&EmailContentType=string&MaritalStatus=string&ContactXmlData=string&ListIds=string&SignupDate=string&SignupMethod=string&SignupURL=string&IPAddress=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml