POST api/Account/UserInfo

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

UserInfoViewModel
NameDescriptionTypeAdditional information
UserId

string

None.

Email

string

Required

Organizations

Collection of OrganizationMembershipViewModel

None.

Roles

Collection of RoleViewModel

None.

ApplicationClaims

Collection of string

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

PhoneNumber

string

None.

PhoneNumberConfirmed

boolean

None.

Disabled

boolean

None.

Deleted

boolean

None.

TwoFactorEnabled

boolean

None.

IsEmailTextFormat

boolean

None.

IsLoggedIn

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "userId": "sample string 1",
  "email": "sample string 2",
  "organizations": [
    {
      "membershipId": "sample string 1",
      "ein": "sample string 2",
      "employer_Id": "sample string 3",
      "employer": {
        "id": "sample string 1",
        "certificateNumber": "sample string 2",
        "legalName": "sample string 3",
        "ein": "sample string 4",
        "physicalAddress_Id": "sample string 5",
        "physicalAddress": {
          "streetAddress": "sample string 1",
          "streetAddress2": "sample string 2",
          "city": "sample string 3",
          "state": "sample string 4",
          "urbanization": "sample string 5",
          "zipCode": "sample string 6",
          "zip4": "sample string 7",
          "county": "sample string 8"
        }
      },
      "applicationId": "sample string 4",
      "isPointOfContact": true,
      "applicationStatus": {
        "id": 1,
        "name": "sample string 2",
        "isActive": true
      },
      "applicationStatusId": 1,
      "createdBy_Id": "sample string 6",
      "createdAt": "2024-11-24T00:39:15.0388107-05:00",
      "lastModifiedBy_Id": "sample string 8",
      "lastModifiedAt": "2024-11-24T00:39:15.0388107-05:00",
      "applicationUser_Id": "sample string 10"
    },
    {
      "membershipId": "sample string 1",
      "ein": "sample string 2",
      "employer_Id": "sample string 3",
      "employer": {
        "id": "sample string 1",
        "certificateNumber": "sample string 2",
        "legalName": "sample string 3",
        "ein": "sample string 4",
        "physicalAddress_Id": "sample string 5",
        "physicalAddress": {
          "streetAddress": "sample string 1",
          "streetAddress2": "sample string 2",
          "city": "sample string 3",
          "state": "sample string 4",
          "urbanization": "sample string 5",
          "zipCode": "sample string 6",
          "zip4": "sample string 7",
          "county": "sample string 8"
        }
      },
      "applicationId": "sample string 4",
      "isPointOfContact": true,
      "applicationStatus": {
        "id": 1,
        "name": "sample string 2",
        "isActive": true
      },
      "applicationStatusId": 1,
      "createdBy_Id": "sample string 6",
      "createdAt": "2024-11-24T00:39:15.0388107-05:00",
      "lastModifiedBy_Id": "sample string 8",
      "lastModifiedAt": "2024-11-24T00:39:15.0388107-05:00",
      "applicationUser_Id": "sample string 10"
    }
  ],
  "roles": [
    {
      "id": "sample string 1",
      "name": "sample string 2"
    },
    {
      "id": "sample string 1",
      "name": "sample string 2"
    }
  ],
  "applicationClaims": [
    "sample string 1",
    "sample string 2"
  ],
  "firstName": "sample string 3",
  "middleName": "sample string 4",
  "lastName": "sample string 5",
  "phoneNumber": "sample string 6",
  "phoneNumberConfirmed": true,
  "disabled": true,
  "deleted": true,
  "twoFactorEnabled": true,
  "isEmailTextFormat": true,
  "isLoggedIn": true
}

application/xml, text/xml

Sample:
<UserInfoViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOL.WHD.Section14c.Domain.ViewModels">
  <ApplicationClaims xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ApplicationClaims>
  <Deleted>true</Deleted>
  <Disabled>true</Disabled>
  <Email>sample string 2</Email>
  <FirstName>sample string 3</FirstName>
  <IsEmailTextFormat>true</IsEmailTextFormat>
  <IsLoggedIn>true</IsLoggedIn>
  <LastName>sample string 5</LastName>
  <MiddleName>sample string 4</MiddleName>
  <Organizations>
    <OrganizationMembershipViewModel>
      <ApplicationId>sample string 4</ApplicationId>
      <ApplicationStatus xmlns:d4p1="http://schemas.datacontract.org/2004/07/DOL.WHD.Section14c.Domain.Models.Submission">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:IsActive>true</d4p1:IsActive>
        <d4p1:Name>sample string 2</d4p1:Name>
      </ApplicationStatus>
      <ApplicationStatusId>1</ApplicationStatusId>
      <ApplicationUser_Id>sample string 10</ApplicationUser_Id>
      <CreatedAt>2024-11-24T00:39:15.0388107-05:00</CreatedAt>
      <CreatedBy_Id>sample string 6</CreatedBy_Id>
      <EIN>sample string 2</EIN>
      <Employer>
        <CertificateNumber>sample string 2</CertificateNumber>
        <EIN>sample string 4</EIN>
        <Id>sample string 1</Id>
        <LegalName>sample string 3</LegalName>
        <PhysicalAddress>
          <City>sample string 3</City>
          <County>sample string 8</County>
          <State>sample string 4</State>
          <StreetAddress>sample string 1</StreetAddress>
          <StreetAddress2>sample string 2</StreetAddress2>
          <Urbanization>sample string 5</Urbanization>
          <Zip4>sample string 7</Zip4>
          <ZipCode>sample string 6</ZipCode>
        </PhysicalAddress>
        <PhysicalAddress_Id>sample string 5</PhysicalAddress_Id>
      </Employer>
      <Employer_Id>sample string 3</Employer_Id>
      <IsPointOfContact>true</IsPointOfContact>
      <LastModifiedAt>2024-11-24T00:39:15.0388107-05:00</LastModifiedAt>
      <LastModifiedBy_Id>sample string 8</LastModifiedBy_Id>
      <MembershipId>sample string 1</MembershipId>
    </OrganizationMembershipViewModel>
    <OrganizationMembershipViewModel>
      <ApplicationId>sample string 4</ApplicationId>
      <ApplicationStatus xmlns:d4p1="http://schemas.datacontract.org/2004/07/DOL.WHD.Section14c.Domain.Models.Submission">
        <d4p1:Id>1</d4p1:Id>
        <d4p1:IsActive>true</d4p1:IsActive>
        <d4p1:Name>sample string 2</d4p1:Name>
      </ApplicationStatus>
      <ApplicationStatusId>1</ApplicationStatusId>
      <ApplicationUser_Id>sample string 10</ApplicationUser_Id>
      <CreatedAt>2024-11-24T00:39:15.0388107-05:00</CreatedAt>
      <CreatedBy_Id>sample string 6</CreatedBy_Id>
      <EIN>sample string 2</EIN>
      <Employer>
        <CertificateNumber>sample string 2</CertificateNumber>
        <EIN>sample string 4</EIN>
        <Id>sample string 1</Id>
        <LegalName>sample string 3</LegalName>
        <PhysicalAddress>
          <City>sample string 3</City>
          <County>sample string 8</County>
          <State>sample string 4</State>
          <StreetAddress>sample string 1</StreetAddress>
          <StreetAddress2>sample string 2</StreetAddress2>
          <Urbanization>sample string 5</Urbanization>
          <Zip4>sample string 7</Zip4>
          <ZipCode>sample string 6</ZipCode>
        </PhysicalAddress>
        <PhysicalAddress_Id>sample string 5</PhysicalAddress_Id>
      </Employer>
      <Employer_Id>sample string 3</Employer_Id>
      <IsPointOfContact>true</IsPointOfContact>
      <LastModifiedAt>2024-11-24T00:39:15.0388107-05:00</LastModifiedAt>
      <LastModifiedBy_Id>sample string 8</LastModifiedBy_Id>
      <MembershipId>sample string 1</MembershipId>
    </OrganizationMembershipViewModel>
  </Organizations>
  <PhoneNumber>sample string 6</PhoneNumber>
  <PhoneNumberConfirmed>true</PhoneNumberConfirmed>
  <Roles>
    <RoleViewModel>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </RoleViewModel>
    <RoleViewModel>
      <Id>sample string 1</Id>
      <Name>sample string 2</Name>
    </RoleViewModel>
  </Roles>
  <TwoFactorEnabled>true</TwoFactorEnabled>
  <UserId>sample string 1</UserId>
</UserInfoViewModel>