GET api/v1/teamdata/accesslists/{contactId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

TwoSms.CustomerPortalRole.API.Misc.ResponseOfSystem.Collections.Generic.ListOfTwoSms.CustomerPortalRole.API.TeamData.TeamDataAccess
NameDescriptionTypeAdditional information
Error

TwoSms.CustomerPortalRole.API.Misc.Error

None.

ResponseData

TwoSms.CustomerPortalRole.API.Misc.ResponseDataOfSystem.Collections.Generic.ListOfTwoSms.CustomerPortalRole.API.TeamData.TeamDataAccess

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": "50b3de8f-7ba1-4ff1-9f39-fd6023257caf",
        "TeamDataSetID": "af17c957-51d5-4e17-a856-a878ca58c73d",
        "PersonNumberID": 3,
        "AccessType": 0,
        "ContactType": 0,
        "DateInsert": "2018-12-17T03:44:18.7341911+00:00",
        "DateModified": "2018-12-17T03:44:18.7341911+00:00"
      },
      {
        "ID": "50b3de8f-7ba1-4ff1-9f39-fd6023257caf",
        "TeamDataSetID": "af17c957-51d5-4e17-a856-a878ca58c73d",
        "PersonNumberID": 3,
        "AccessType": 0,
        "ContactType": 0,
        "DateInsert": "2018-12-17T03:44:18.7341911+00:00",
        "DateModified": "2018-12-17T03:44:18.7341911+00:00"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseOfListOfTeamDataAccess xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Error>
    <ErrorCode>sample string 1</ErrorCode>
    <ErrorReason>sample string 2</ErrorReason>
  </Error>
  <ResponseData>
    <Result>sample string 1</Result>
    <Identification>
      <UserId>sample string 1</UserId>
    </Identification>
    <Detail>
      <TeamDataAccess>
        <ID>50b3de8f-7ba1-4ff1-9f39-fd6023257caf</ID>
        <TeamDataSetID>af17c957-51d5-4e17-a856-a878ca58c73d</TeamDataSetID>
        <PersonNumberID>3</PersonNumberID>
        <AccessType>NONE</AccessType>
        <ContactType>BOTH</ContactType>
        <DateInsert>2018-12-17T03:44:18.7341911+00:00</DateInsert>
        <DateModified>2018-12-17T03:44:18.7341911+00:00</DateModified>
      </TeamDataAccess>
      <TeamDataAccess>
        <ID>50b3de8f-7ba1-4ff1-9f39-fd6023257caf</ID>
        <TeamDataSetID>af17c957-51d5-4e17-a856-a878ca58c73d</TeamDataSetID>
        <PersonNumberID>3</PersonNumberID>
        <AccessType>NONE</AccessType>
        <ContactType>BOTH</ContactType>
        <DateInsert>2018-12-17T03:44:18.7341911+00:00</DateInsert>
        <DateModified>2018-12-17T03:44:18.7341911+00:00</DateModified>
      </TeamDataAccess>
    </Detail>
  </ResponseData>
</ResponseOfListOfTeamDataAccess>