GET v1/Contacts/{contactID}/Websites
Get the websites for a contact
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| contactID |
Id of the contact |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
List of websites
Collection of WebsiteDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| WebsiteID |
Id of the website |
integer |
None. |
| EntityID |
Id of the entity |
integer |
None. |
| ContactInfoTypeID |
Id of the contact info type |
integer |
None. |
| WebsiteUrl |
URL of the website |
string |
None. |
| IsPrimary |
Signifies whether the website is primary |
boolean |
None. |
| ContactInfoName |
Name of the contact info |
string |
None. |
| ContactInfoCategory |
Category of the contact info |
string |
None. |
| InternalCode |
Internal code |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"WebsiteID": 1,
"EntityID": 2,
"ContactInfoTypeID": 3,
"WebsiteUrl": "sample string 4",
"IsPrimary": true,
"ContactInfoName": "sample string 6",
"ContactInfoCategory": "sample string 7",
"InternalCode": "sample string 8"
},
{
"WebsiteID": 1,
"EntityID": 2,
"ContactInfoTypeID": 3,
"WebsiteUrl": "sample string 4",
"IsPrimary": true,
"ContactInfoName": "sample string 6",
"ContactInfoCategory": "sample string 7",
"InternalCode": "sample string 8"
}
]
application/xml, text/xml
Sample:
<ArrayOfWebsiteDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Contacts">
<WebsiteDTO>
<ContactInfoCategory>sample string 7</ContactInfoCategory>
<ContactInfoName>sample string 6</ContactInfoName>
<ContactInfoTypeID>3</ContactInfoTypeID>
<EntityID>2</EntityID>
<InternalCode>sample string 8</InternalCode>
<IsPrimary>true</IsPrimary>
<WebsiteID>1</WebsiteID>
<WebsiteUrl>sample string 4</WebsiteUrl>
</WebsiteDTO>
<WebsiteDTO>
<ContactInfoCategory>sample string 7</ContactInfoCategory>
<ContactInfoName>sample string 6</ContactInfoName>
<ContactInfoTypeID>3</ContactInfoTypeID>
<EntityID>2</EntityID>
<InternalCode>sample string 8</InternalCode>
<IsPrimary>true</IsPrimary>
<WebsiteID>1</WebsiteID>
<WebsiteUrl>sample string 4</WebsiteUrl>
</WebsiteDTO>
</ArrayOfWebsiteDTO>