GET api/ContactPreferences/{cid}/{qid}/{oid}/{fid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cid | string |
Required |
|
| qid | string |
Required |
|
| oid | string |
Required |
|
| fid | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Contact| Name | Description | Type | Additional information |
|---|---|---|---|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| string |
None. |
||
| ContactId | string |
None. |
|
| donotsendmm | boolean |
None. |
|
| donotemail | boolean |
None. |
|
| donotphone | boolean |
None. |
|
| ContactType | integer |
None. |
|
| allowcontact | boolean |
None. |
|
| address1_line1 | string |
None. |
|
| address1_postalcode | string |
None. |
|
| address1_country | string |
None. |
|
| address1_county | string |
None. |
|
| address1_city | string |
None. |
|
| address1_line3 | string |
None. |
|
| address1_line2 | string |
None. |
|
| telephone1 | string |
None. |
|
| telephone2 | string |
None. |
|
| mobilephone | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"Email": "sample string 3",
"ContactId": "sample string 4",
"donotsendmm": true,
"donotemail": true,
"donotphone": true,
"ContactType": 8,
"allowcontact": true,
"address1_line1": "sample string 10",
"address1_postalcode": "sample string 11",
"address1_country": "sample string 12",
"address1_county": "sample string 13",
"address1_city": "sample string 14",
"address1_line3": "sample string 15",
"address1_line2": "sample string 16",
"telephone1": "sample string 17",
"telephone2": "sample string 18",
"mobilephone": "sample string 19"
}
application/xml, text/xml
Sample:
<Contact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrismAPI.Models"> <ContactId>sample string 4</ContactId> <ContactType>8</ContactType> <Email>sample string 3</Email> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <address1_city>sample string 14</address1_city> <address1_country>sample string 12</address1_country> <address1_county>sample string 13</address1_county> <address1_line1>sample string 10</address1_line1> <address1_line2>sample string 16</address1_line2> <address1_line3>sample string 15</address1_line3> <address1_postalcode>sample string 11</address1_postalcode> <allowcontact>true</allowcontact> <donotemail>true</donotemail> <donotphone>true</donotphone> <donotsendmm>true</donotsendmm> <mobilephone>sample string 19</mobilephone> <telephone1>sample string 17</telephone1> <telephone2>sample string 18</telephone2> </Contact>