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": "69e238cb-17d3-4582-ae21-1b673ce3336d",
        "TeamDataSetID": "9247e7f2-cf57-4433-a823-64d9311e2592",
        "PersonNumberID": 3,
        "AccessType": 0,
        "ContactType": 0,
        "DateInsert": "2018-10-23T02:46:34.5169925+01:00",
        "DateModified": "2018-10-23T02:46:34.5169925+01:00"
      },
      {
        "ID": "69e238cb-17d3-4582-ae21-1b673ce3336d",
        "TeamDataSetID": "9247e7f2-cf57-4433-a823-64d9311e2592",
        "PersonNumberID": 3,
        "AccessType": 0,
        "ContactType": 0,
        "DateInsert": "2018-10-23T02:46:34.5169925+01:00",
        "DateModified": "2018-10-23T02:46:34.5169925+01: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>69e238cb-17d3-4582-ae21-1b673ce3336d</ID>
        <TeamDataSetID>9247e7f2-cf57-4433-a823-64d9311e2592</TeamDataSetID>
        <PersonNumberID>3</PersonNumberID>
        <AccessType>NONE</AccessType>
        <ContactType>BOTH</ContactType>
        <DateInsert>2018-10-23T02:46:34.5169925+01:00</DateInsert>
        <DateModified>2018-10-23T02:46:34.5169925+01:00</DateModified>
      </TeamDataAccess>
      <TeamDataAccess>
        <ID>69e238cb-17d3-4582-ae21-1b673ce3336d</ID>
        <TeamDataSetID>9247e7f2-cf57-4433-a823-64d9311e2592</TeamDataSetID>
        <PersonNumberID>3</PersonNumberID>
        <AccessType>NONE</AccessType>
        <ContactType>BOTH</ContactType>
        <DateInsert>2018-10-23T02:46:34.5169925+01:00</DateInsert>
        <DateModified>2018-10-23T02:46:34.5169925+01:00</DateModified>
      </TeamDataAccess>
    </Detail>
  </ResponseData>
</ResponseOfListOfTeamDataAccess>