GET api/v1/teamdata/teamdatas/{id}

This method retrieves the details of a team data, the system returns the details only if the team data it's still active and not deleted.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The team data Id.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

TwoSms.CustomerPortalRole.API.Misc.ResponseOfTwoSms.CustomerPortalRole.API.TeamData.TeamdataApi
NameDescriptionTypeAdditional information
Error

TwoSms.CustomerPortalRole.API.Misc.Error

None.

ResponseData

TwoSms.CustomerPortalRole.API.Misc.ResponseDataOfTwoSms.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": "4eb314e6-a025-4923-8444-c5346e61ef16",
      "CreatedBy": "592bc049-84ce-4cea-952a-cb6b79ff07c5",
      "DateInsert": "2018-12-17T03:39:36.293959+00:00",
      "DateModified": "2018-12-17T03:39:36.293959+00:00",
      "Name": "sample string 4",
      "Comment": "sample string 5",
      "DateToSend": "2018-12-17T03:39:36.293959+00:00",
      "EndDate": "2018-12-17T03:39:36.293959+00:00",
      "DateToEnd": "2018-12-17T03:39:36.293959+00:00",
      "Repeat": true,
      "RepeatTime": "sample string 7",
      "SenderName": "sample string 8",
      "Occurrences": "sample string 9",
      "QuestionsList": [
        {
          "m_Item1": "sample string 1",
          "m_Item2": 2,
          "m_Item3": 3
        },
        {
          "m_Item1": "sample string 1",
          "m_Item2": 2,
          "m_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
      }
    }
  }
}