Retrieve a contact from a survey by contactId.
Name | Description | Type | Additional information |
---|---|---|---|
surveyId
The id of a survey.
Type
integer
Additional info
Required
|
|||
surveyId |
The id of a survey. |
integer |
Required |
contactId
The id of a contact linked to this survey.
Type
integer
Additional info
Required
|
|||
contactId |
The id of a contact linked to this survey. |
integer |
Required |
Payload containing the SurveyContact for the requested contactId.
Name | Description | Type | Additional information |
---|---|---|---|
Meta
The metadata such as paging parameters, status code, timestamp,... which are related to this request.
Type
MetaData
|
|||
Meta |
The metadata such as paging parameters, status code, timestamp,... which are related to this request. |
MetaData | |
Data |
The actual data returned by the request. |
SurveyContact | |
Links |
HATEOAS related to this object. It wil contain relevant url's such as previous and next page for paged results, create/update/delete action. These url's can be used in your application for the next steps in your application logic. |
Hateoas |
{ "Meta": { "Status": 1, "TotalRowCount": 1, "Limit": 1, "Offset": 1, "TotalPageCount": 1, "StartRec": 1, "StopRec": 1, "Timestamp": "2024-12-21T17:19:56.4401834Z", "IsFiltered": true }, "Data": { "PreviewUrl": "sample string 1", "LiveUrl": "sample string 2", "MailPreviewUrl": "sample string 3", "OptoutSourceId": 64, "ReportUrl": "sample string 4", "PanelistStatusId": 6, "ContactStatusId": 7, "DateAdded": "2024-12-21T17:19:56.4411836Z", "DateInvited": "2024-12-21T17:19:56.4411836Z", "DateSawMail": "2024-12-21T17:19:56.4411836Z", "DateClickedThrough": "2024-12-21T17:19:56.4411836Z", "DateReminded": "2024-12-21T17:19:56.4411836Z", "DateRemindedPartial": "2024-12-21T17:19:56.4411836Z", "DateResponded": "2024-12-21T17:19:56.4411836Z", "Password": "sample string 8", "DateSentThankYouMail": "2024-12-21T17:19:56.4411836Z", "DateToBeInvited": "2024-12-21T17:19:56.4411836Z", "DateSecondReminder": "2024-12-21T17:19:56.4411836Z", "DateToExpire": "2024-12-21T17:19:56.4411836Z", "DateLastModified": "2024-12-21T17:19:56.4411836Z", "Surveys": [ { "SurveyId": 2, "Title": "sample string 3", "PanelistStatusId": 4, "DateAdded": "2024-12-21T17:19:56.4411836Z", "PanelistReportUrl": "sample string 5" }, { "SurveyId": 2, "Title": "sample string 3", "PanelistStatusId": 4, "DateAdded": "2024-12-21T17:19:56.4411836Z", "PanelistReportUrl": "sample string 5" } ], "Groups": [ { "GroupId": 2, "Name": "sample string 3" }, { "GroupId": 2, "Name": "sample string 3" } ], "LangCode": "en", "ContactId": 10, "FirstName": "John", "LastName": "Doe", "Email": "john.doe@mail.com", "CustomField1": "sample string 11", "CustomField2": "sample string 12", "CustomField3": "sample string 13", "CustomField4": "sample string 14", "CustomField5": "sample string 15", "CustomField6": "sample string 16", "CustomField7": "sample string 17", "CustomField8": "sample string 18", "CustomField9": "sample string 19", "CustomField10": "sample string 20", "CustomField11": "sample string 21", "CustomField12": "sample string 22", "CustomField13": "sample string 23", "CustomField14": "sample string 24", "CustomField15": "sample string 25", "CustomField16": "sample string 26", "CustomField17": "sample string 27", "CustomField18": "sample string 28", "CustomField19": "sample string 29", "CustomField20": "sample string 30", "Street": "Main Street", "HouseNumber": "123", "Suite": "B", "PostalCode": "98765-4321", "City": "Anytown", "State": "CA", "Province": "Orange County", "Phone": "+1-202-555-0117", "CountryId": "US", "Gender": "M", "DateOfBirth": "2024-12-21T17:19:56.4421777Z", "IsBounced": true, "IsOptedOut": true } }
<Payload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <Data z:Id="i2"> <Groups> <GroupReference> <GroupId>2</GroupId> <Name>sample string 3</Name> </GroupReference> <GroupReference> <GroupId>2</GroupId> <Name>sample string 3</Name> </GroupReference> </Groups> <LangCode>en</LangCode> <Surveys> <SurveyReference z:Id="i3"> <DateAdded>2024-12-21T17:19:56.4411836+00:00</DateAdded> <PanelistReportUrl>sample string 5</PanelistReportUrl> <PanelistStatusId>4</PanelistStatusId> <SurveyId>2</SurveyId> <Title>sample string 3</Title> </SurveyReference> <SurveyReference z:Ref="i3" /> </Surveys> <ContactId>10</ContactId> <FirstName>John</FirstName> <LastName>Doe</LastName> <Email>john.doe@mail.com</Email> <CustomField1>sample string 11</CustomField1> <CustomField2>sample string 12</CustomField2> <CustomField3>sample string 13</CustomField3> <CustomField4>sample string 14</CustomField4> <CustomField5>sample string 15</CustomField5> <CustomField6>sample string 16</CustomField6> <CustomField7>sample string 17</CustomField7> <CustomField8>sample string 18</CustomField8> <CustomField9>sample string 19</CustomField9> <CustomField10>sample string 20</CustomField10> <CustomField11>sample string 21</CustomField11> <CustomField12>sample string 22</CustomField12> <CustomField13>sample string 23</CustomField13> <CustomField14>sample string 24</CustomField14> <CustomField15>sample string 25</CustomField15> <CustomField16>sample string 26</CustomField16> <CustomField17>sample string 27</CustomField17> <CustomField18>sample string 28</CustomField18> <CustomField19>sample string 29</CustomField19> <CustomField20>sample string 30</CustomField20> <Street>Main Street</Street> <HouseNumber>123</HouseNumber> <Suite>B</Suite> <PostalCode>98765-4321</PostalCode> <City>Anytown</City> <State>CA</State> <Province>Orange County</Province> <Phone>+1-202-555-0117</Phone> <CountryId>US</CountryId> <Gender>M</Gender> <DateOfBirth>2024-12-21T17:19:56.4421777+00:00</DateOfBirth> <IsBounced>true</IsBounced> <IsOptedOut>true</IsOptedOut> <ContactStatusId>7</ContactStatusId> <DateAdded>2024-12-21T17:19:56.4411836+00:00</DateAdded> <DateClickedThrough>2024-12-21T17:19:56.4411836+00:00</DateClickedThrough> <DateInvited>2024-12-21T17:19:56.4411836+00:00</DateInvited> <DateLastModified>2024-12-21T17:19:56.4411836+00:00</DateLastModified> <DateReminded>2024-12-21T17:19:56.4411836+00:00</DateReminded> <DateRemindedPartial>2024-12-21T17:19:56.4411836+00:00</DateRemindedPartial> <DateResponded>2024-12-21T17:19:56.4411836+00:00</DateResponded> <DateSawMail>2024-12-21T17:19:56.4411836+00:00</DateSawMail> <DateSecondReminder>2024-12-21T17:19:56.4411836+00:00</DateSecondReminder> <DateSentThankYouMail>2024-12-21T17:19:56.4411836+00:00</DateSentThankYouMail> <DateToBeInvited>2024-12-21T17:19:56.4411836+00:00</DateToBeInvited> <DateToExpire>2024-12-21T17:19:56.4411836+00:00</DateToExpire> <PanelistStatusId>6</PanelistStatusId> <Password>sample string 8</Password> <LiveUrl>sample string 2</LiveUrl> <MailPreviewUrl>sample string 3</MailPreviewUrl> <OptoutSourceId>64</OptoutSourceId> <PreviewUrl>sample string 1</PreviewUrl> <ReportUrl>sample string 4</ReportUrl> </Data> <Meta> <IsFiltered>true</IsFiltered> <Limit>1</Limit> <Offset>1</Offset> <StartRec>1</StartRec> <Status>1</Status> <StopRec>1</StopRec> <Timestamp>2024-12-21T17:19:56.4401834+00:00</Timestamp> <TotalPageCount>1</TotalPageCount> <TotalRowCount>1</TotalRowCount> </Meta> </Payload>