GET api/v1/teamdata/externaldatas/{contactId}/{teamdataId}

This method retrieves details of an external dataset. The dataset will give details only if the user that created the dataset, has given the permission to view the results of the external answer. If the user has no permission access the external answer set, the Error code "22" will occur. Error Reason "Access Denied. Administrative privileges may be required".

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

The Id of the contact.

integer

Required

teamdataId

The unique Id of the team data.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

TwoSms.CustomerPortalRole.API.Misc.ResponseOfTwoSms.CustomerPortalRole.Models.TeamData.TeamDataExternal
NameDescriptionTypeAdditional information
Error

TwoSms.CustomerPortalRole.API.Misc.Error

None.

ResponseData

TwoSms.CustomerPortalRole.API.Misc.ResponseDataOfTwoSms.CustomerPortalRole.Models.TeamData.TeamDataExternal

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'ParentAccount' with type 'TwoSms.Platform.Database.CustomerPortal.Tables.Accounts.Account'. Path 'ResponseData.Detail.Accounts'.

text/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'ParentAccount' with type 'TwoSms.Platform.Database.CustomerPortal.Tables.Accounts.Account'. Path 'ResponseData.Detail.Accounts'.