GET api/MessageThreads/Mine/{threadId}

Retrieves single user thread

Request Information

URI Parameters

NameDescriptionTypeAdditional information
threadId

integer

Required

Body Parameters

None.

Response Information

Resource Description

MessageThread
NameDescriptionTypeAdditional information
MessageThreadId

integer

None.

AuthorId

integer

Required

Author

UserInt

None.

Title

string

Required

Max length: 255

MessageThreadReceivers

Collection of MessageThreadReceiver

None.

CreatedAt

date

None.

CreatedBy

string

Max length: 256

UpdatedAt

date

None.

UpdatedBy

string

Max length: 256

Response Formats

application/json, text/json

Sample:
{
  "messageThreadId": 1,
  "authorId": 2,
  "author": {
    "$id": "2",
    "id": 1,
    "email": "sample string 2",
    "emailConfirmed": true,
    "passwordHash": "sample string 4",
    "securityStamp": "sample string 5",
    "phoneNumber": "sample string 6",
    "phoneNumberConfirmed": true,
    "twoFactorEnabled": true,
    "lockoutEndDateUtc": "2024-05-03T02:27:27.071Z",
    "lockoutEnabled": true,
    "accessFailedCount": 10,
    "userName": "sample string 11",
    "firstName": "sample string 12",
    "lastName": "sample string 13",
    "firstLastName": "sample string 12 sample string 13",
    "lastFirstName": "sample string 13 sample string 12",
    "claims": [
      {
        "$id": "3",
        "id": 1,
        "userId": 2,
        "user": {
          "$ref": "2"
        },
        "claimType": "sample string 3",
        "claimValue": "sample string 4"
      },
      {
        "$ref": "3"
      }
    ],
    "logins": [
      {
        "$id": "4",
        "loginProvider": "sample string 1",
        "providerKey": "sample string 2",
        "userId": 3,
        "user": {
          "$ref": "2"
        }
      },
      {
        "$ref": "4"
      }
    ],
    "roles": [
      {
        "$id": "5",
        "userId": 1,
        "user": {
          "$ref": "2"
        },
        "roleId": 2,
        "role": {
          "$id": "6",
          "id": 1,
          "name": "sample string 2",
          "users": [
            {
              "$ref": "5"
            },
            {
              "$ref": "5"
            }
          ]
        }
      },
      {
        "$ref": "5"
      }
    ],
    "createdAt": "2024-05-03T02:27:27.086Z",
    "createdBy": "sample string 15",
    "updatedAt": "2024-05-03T02:27:27.086Z",
    "updatedBy": "sample string 17"
  },
  "title": "sample string 3",
  "messageThreadReceivers": [
    {
      "$id": "7",
      "messageThreadReceiverId": 1,
      "userId": 2,
      "user": {
        "$ref": "2"
      },
      "messageThreadId": 3,
      "messageThread": {
        "$ref": "1"
      },
      "createdAt": "2024-05-03T02:27:27.086Z",
      "createdBy": "sample string 5",
      "updatedAt": "2024-05-03T02:27:27.086Z",
      "updatedBy": "sample string 7"
    },
    {
      "$ref": "7"
    }
  ],
  "createdAt": "2024-05-03T02:27:27.086Z",
  "createdBy": "sample string 5",
  "updatedAt": "2024-05-03T02:27:27.086Z",
  "updatedBy": "sample string 7"
}