POST api/Account/{userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | string |
Required |
Body Parameters
AccountDetailsViewModelName | Description | Type | Additional information |
---|---|---|---|
LastPasswordChangedDate | date |
None. |
|
LockoutEndDateUtc | date |
None. |
|
EmailConfirmed | boolean |
None. |
|
UserId | string |
None. |
|
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. |
Request Formats
application/json, text/json
Sample:
{ "lastPasswordChangedDate": "2024-11-24T00:34:45.2383349-05:00", "lockoutEndDateUtc": "2024-11-24T00:34:45.2383349-05:00", "emailConfirmed": true, "userId": "sample string 2", "email": "sample string 3", "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:34:45.2383349-05:00", "lastModifiedBy_Id": "sample string 8", "lastModifiedAt": "2024-11-24T00:34:45.2383349-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:34:45.2383349-05:00", "lastModifiedBy_Id": "sample string 8", "lastModifiedAt": "2024-11-24T00:34:45.2383349-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 4", "middleName": "sample string 5", "lastName": "sample string 6", "phoneNumber": "sample string 7", "phoneNumberConfirmed": true, "disabled": true, "deleted": true, "twoFactorEnabled": true, "isEmailTextFormat": true, "isLoggedIn": true }
application/xml, text/xml
Sample:
<AccountDetailsViewModel 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 3</Email> <FirstName>sample string 4</FirstName> <IsEmailTextFormat>true</IsEmailTextFormat> <IsLoggedIn>true</IsLoggedIn> <LastName>sample string 6</LastName> <MiddleName>sample string 5</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:34:45.2383349-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:34:45.2383349-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:34:45.2383349-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:34:45.2383349-05:00</LastModifiedAt> <LastModifiedBy_Id>sample string 8</LastModifiedBy_Id> <MembershipId>sample string 1</MembershipId> </OrganizationMembershipViewModel> </Organizations> <PhoneNumber>sample string 7</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 2</UserId> <EmailConfirmed>true</EmailConfirmed> <LastPasswordChangedDate>2024-11-24T00:34:45.2383349-05:00</LastPasswordChangedDate> <LockoutEndDateUtc>2024-11-24T00:34:45.2383349-05:00</LockoutEndDateUtc> </AccountDetailsViewModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.