POST api/UserAccount/VerifyCode

Request Information

URI Parameters

None.

Body Parameters

UserAccount
NameDescriptionTypeAdditional information
IsActive

boolean

None.

CompanyId

integer

None.

ID

integer

None.

OrganizationId

integer

None.

UserGroupId

integer

None.

UserRoleId

integer

None.

BranchesId

integer

None.

SupplierCustomerId

integer

None.

EntryUserId

integer

None.

ModifyUserId

integer

None.

AuthenticationCode

integer

None.

FirstName

string

None.

LastName

string

None.

Password

string

None.

UserName

string

None.

EntryDate

date

None.

ModifyDate

date

None.

AuthenticationEnabledForUser

integer

None.

UserTypeId

integer

None.

CellNo

string

None.

IsHeadOffice

boolean

None.

OrgName

string

None.

CompName

string

None.

PictureURL

string

None.

RoleName

string

None.

CompAddress

string

None.

LicenseKey

string

None.

SystemDate

date

None.

PartyGlAccountId

integer

None.

CompLogoImage

Collection of byte

None.

CompType

string

None.

UserAccountAllocationsList

Collection of UserAccountAllocation

None.

Request Formats

application/json, text/json

Sample:
{
  "IsActive": true,
  "CompanyId": 2,
  "ID": 3,
  "OrganizationId": 4,
  "UserGroupId": 5,
  "UserRoleId": 6,
  "BranchesId": 7,
  "SupplierCustomerId": 8,
  "EntryUserId": 9,
  "ModifyUserId": 10,
  "AuthenticationCode": 11,
  "FirstName": "sample string 12",
  "LastName": "sample string 13",
  "Password": "sample string 14",
  "UserName": "sample string 15",
  "EntryDate": "2025-10-29T13:17:27.9943122+05:00",
  "ModifyDate": "2025-10-29T13:17:27.9943122+05:00",
  "AuthenticationEnabledForUser": 18,
  "UserTypeId": 19,
  "CellNo": "sample string 20",
  "IsHeadOffice": true,
  "OrgName": "sample string 22",
  "CompName": "sample string 23",
  "PictureURL": "sample string 24",
  "RoleName": "sample string 25",
  "CompAddress": "sample string 26",
  "LicenseKey": "sample string 27",
  "SystemDate": "2025-10-29T13:17:27.9943122+05:00",
  "PartyGlAccountId": 29,
  "CompLogoImage": "QEA=",
  "CompType": "sample string 30",
  "UserAccountAllocationsList": [
    {
      "EntryDate": "2025-10-29T13:17:27.9943122+05:00",
      "ModifyDate": "2025-10-29T13:17:27.9943122+05:00",
      "BranchId": 3,
      "CompanyId": 4,
      "EntryUserId": 5,
      "Id": 6,
      "IsActive": 7,
      "ModifyUserId": 8,
      "OrganizationId": 9,
      "UserAccountId": 10,
      "IsCompany": true,
      "IsReport": true,
      "CompName": "sample string 13",
      "BranchName": "sample string 14",
      "ScreenName": "sample string 15"
    },
    {
      "EntryDate": "2025-10-29T13:17:27.9943122+05:00",
      "ModifyDate": "2025-10-29T13:17:27.9943122+05:00",
      "BranchId": 3,
      "CompanyId": 4,
      "EntryUserId": 5,
      "Id": 6,
      "IsActive": 7,
      "ModifyUserId": 8,
      "OrganizationId": 9,
      "UserAccountId": 10,
      "IsCompany": true,
      "IsReport": true,
      "CompName": "sample string 13",
      "BranchName": "sample string 14",
      "ScreenName": "sample string 15"
    }
  ]
}

application/xml, text/xml

Sample:
<UserAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model">
  <AuthenticationCode>11</AuthenticationCode>
  <AuthenticationEnabledForUser>18</AuthenticationEnabledForUser>
  <BranchesId>7</BranchesId>
  <CellNo>sample string 20</CellNo>
  <CompAddress>sample string 26</CompAddress>
  <CompLogoImage>QEA=</CompLogoImage>
  <CompName>sample string 23</CompName>
  <CompType>sample string 30</CompType>
  <CompanyId>2</CompanyId>
  <EntryDate>2025-10-29T13:17:27.9943122+05:00</EntryDate>
  <EntryUserId>9</EntryUserId>
  <FirstName>sample string 12</FirstName>
  <ID>3</ID>
  <IsActive>true</IsActive>
  <IsHeadOffice>true</IsHeadOffice>
  <LastName>sample string 13</LastName>
  <LicenseKey>sample string 27</LicenseKey>
  <ModifyDate>2025-10-29T13:17:27.9943122+05:00</ModifyDate>
  <ModifyUserId>10</ModifyUserId>
  <OrgName>sample string 22</OrgName>
  <OrganizationId>4</OrganizationId>
  <PartyGlAccountId>29</PartyGlAccountId>
  <Password>sample string 14</Password>
  <PictureURL>sample string 24</PictureURL>
  <RoleName>sample string 25</RoleName>
  <SupplierCustomerId>8</SupplierCustomerId>
  <SystemDate>2025-10-29T13:17:27.9943122+05:00</SystemDate>
  <UserAccountAllocationsList>
    <UserAccountAllocation>
      <BranchId>3</BranchId>
      <BranchName>sample string 14</BranchName>
      <CompName>sample string 13</CompName>
      <CompanyId>4</CompanyId>
      <EntryDate>2025-10-29T13:17:27.9943122+05:00</EntryDate>
      <EntryUserId>5</EntryUserId>
      <Id>6</Id>
      <IsActive>7</IsActive>
      <IsCompany>true</IsCompany>
      <IsReport>true</IsReport>
      <ModifyDate>2025-10-29T13:17:27.9943122+05:00</ModifyDate>
      <ModifyUserId>8</ModifyUserId>
      <OrganizationId>9</OrganizationId>
      <ScreenName>sample string 15</ScreenName>
      <UserAccountId>10</UserAccountId>
    </UserAccountAllocation>
    <UserAccountAllocation>
      <BranchId>3</BranchId>
      <BranchName>sample string 14</BranchName>
      <CompName>sample string 13</CompName>
      <CompanyId>4</CompanyId>
      <EntryDate>2025-10-29T13:17:27.9943122+05:00</EntryDate>
      <EntryUserId>5</EntryUserId>
      <Id>6</Id>
      <IsActive>7</IsActive>
      <IsCompany>true</IsCompany>
      <IsReport>true</IsReport>
      <ModifyDate>2025-10-29T13:17:27.9943122+05:00</ModifyDate>
      <ModifyUserId>8</ModifyUserId>
      <OrganizationId>9</OrganizationId>
      <ScreenName>sample string 15</ScreenName>
      <UserAccountId>10</UserAccountId>
    </UserAccountAllocation>
  </UserAccountAllocationsList>
  <UserGroupId>5</UserGroupId>
  <UserName>sample string 15</UserName>
  <UserRoleId>6</UserRoleId>
  <UserTypeId>19</UserTypeId>
</UserAccount>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserAccount'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.