This method adds new a contact to the address book of the calling SDX user.
| Parameter | Type | Requirements | Description |
|---|---|---|---|
| Username | xsd:string | mandatory - cannot be null or empty | Login Credentials. |
| password | xsd:string | mandatory - cannot be null or empty | Login Credentials. |
| pwordEncoded | xsd:boolean | optional - can be null (indicates false) | Indicates if the password parameter is MD5 hash and base64 encoded. |
| contactDetails | ContactDetails | mandatory - cannot be null or empty | The object that defines the contact to add to the user’s address book. |
Response Type: String
Successful response will show the following when a new contact is added.
OK: Contacted Added
| Field | Type | Description |
|---|---|---|
| Address | xsd:string | Optional |
| City | xsd:string | Optional |
| Company | xsd:string | Optional |
| xsd:string | Mandatory | |
| Email2 | xsd:string | Optional |
| Email3 | xsd:string | Optional |
| Email4 | xsd:string | Optional |
| Fax | xsd:string | Optional |
| FirstName | xsd:string | Mandatory |
| HomePhone | xsd:string | Optional |
| Id | xsd:string | Optional |
| LastName | xsd:string | Mandatory |
| Mobile | xsd:string | Optional |
| PostZipCode | xsd:string | Optional |
| Title | xsd:string | Optional |
| WorkPhone | xsd:string | Optional |