GET api/v1/teamdata/teamdatas?teamdatas={teamdatas}
This method retrieves all the TeamDatas that have been setup for the account.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| teamdatas | string |
Required |
Body Parameters
None.
Response Information
Resource Description
TwoSms.CustomerPortalRole.API.Misc.ResponseOfSystem.Collections.Generic.ListOfTwoSms.CustomerPortalRole.API.TeamData.TeamdataApi| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | TwoSms.CustomerPortalRole.API.Misc.Error |
None. |
|
| ResponseData | TwoSms.CustomerPortalRole.API.Misc.ResponseDataOfSystem.Collections.Generic.ListOfTwoSms.CustomerPortalRole.API.TeamData.TeamdataApi |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": {
"ErrorCode": "sample string 1",
"ErrorReason": "sample string 2"
},
"ResponseData": {
"Identification": {
"UserId": "sample string 1"
},
"Result": "sample string 1",
"Detail": [
{
"Id": "2b0adaa0-e6ea-4077-9526-6a76ce2be7ad",
"CreatedBy": "2b8ecdb3-df9c-4787-9f0c-73833503ceda",
"DateInsert": "2025-11-13T03:06:36.026068+00:00",
"DateModified": "2025-11-13T03:06:36.026068+00:00",
"Name": "sample string 4",
"Comment": "sample string 5",
"DateToSend": "2025-11-13T03:06:36.026068+00:00",
"EndDate": "2025-11-13T03:06:36.026068+00:00",
"DateToEnd": "2025-11-13T03:06:36.027071+00:00",
"Repeat": true,
"RepeatTime": "sample string 7",
"SenderName": "sample string 8",
"Occurrences": "sample string 9",
"QuestionsList": [
{
"Item1": "sample string 1",
"Item2": 2,
"Item3": 3
},
{
"Item1": "sample string 1",
"Item2": 2,
"Item3": 3
}
],
"TeamDataContacts": {
"Contacts": {
"1": {
"NONE": 0
},
"2": {
"NONE": 0
}
},
"NewContacts": {
"1": {
"NONE": 0
},
"2": {
"NONE": 0
}
},
"Groups": {
"sample string 1": {
"NONE": 0
},
"sample string 2": {
"NONE": 0
}
}
},
"TeamDataNotifications": {
"Notification": true,
"Sms": true,
"Email": true,
"ExpireSMS": true,
"ExpireEmail": true,
"NonRespondentsSMS": true,
"NonRespondentsEmail": true
}
},
{
"Id": "2b0adaa0-e6ea-4077-9526-6a76ce2be7ad",
"CreatedBy": "2b8ecdb3-df9c-4787-9f0c-73833503ceda",
"DateInsert": "2025-11-13T03:06:36.026068+00:00",
"DateModified": "2025-11-13T03:06:36.026068+00:00",
"Name": "sample string 4",
"Comment": "sample string 5",
"DateToSend": "2025-11-13T03:06:36.026068+00:00",
"EndDate": "2025-11-13T03:06:36.026068+00:00",
"DateToEnd": "2025-11-13T03:06:36.027071+00:00",
"Repeat": true,
"RepeatTime": "sample string 7",
"SenderName": "sample string 8",
"Occurrences": "sample string 9",
"QuestionsList": [
{
"Item1": "sample string 1",
"Item2": 2,
"Item3": 3
},
{
"Item1": "sample string 1",
"Item2": 2,
"Item3": 3
}
],
"TeamDataContacts": {
"Contacts": {
"1": {
"NONE": 0
},
"2": {
"NONE": 0
}
},
"NewContacts": {
"1": {
"NONE": 0
},
"2": {
"NONE": 0
}
},
"Groups": {
"sample string 1": {
"NONE": 0
},
"sample string 2": {
"NONE": 0
}
}
},
"TeamDataNotifications": {
"Notification": true,
"Sms": true,
"Email": true,
"ExpireSMS": true,
"ExpireEmail": true,
"NonRespondentsSMS": true,
"NonRespondentsEmail": true
}
}
]
}
}