PUT api/account
Request Information
URI Parameters
None.
Body Parameters
UserRegisterViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| DesignationId | integer |
None. |
|
| UserName | string |
Required String length: inclusive between 0 and 50 |
|
| string |
Required Data type: EmailAddress Matching regular expression pattern: ^[a-zA-Z0-9_\.-]+@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,6}$ String length: inclusive between 0 and 50 |
||
| Password | string |
Required Max length: 18 Min length: 6 |
|
| MobileNo | string |
String length: inclusive between 0 and 10 |
|
| AlternateNo | string |
String length: inclusive between 0 and 10 |
|
| UploadImagePath | string |
String length: inclusive between 0 and 200 |
|
| EmergencyContactPerson | string |
String length: inclusive between 0 and 50 |
|
| EmergencyContactNo | string |
String length: inclusive between 0 and 50 |
|
| CountryId | integer |
None. |
|
| StateId | integer |
None. |
|
| DistrictId | integer |
None. |
|
| CityId | integer |
None. |
|
| Address | string |
String length: inclusive between 0 and 100 |
|
| ZipCode | string |
String length: inclusive between 0 and 6 |
|
| IsActive | boolean |
None. |
|
| IsAdmin | boolean |
None. |
|
| StateName | string |
String length: inclusive between 0 and 100 |
|
| DistrictName | string |
String length: inclusive between 0 and 50 |
|
| CityName | string |
String length: inclusive between 0 and 50 |
|
| objPageMasterViewModel | Collection of PageMasterViewModel |
None. |
|
| objAttachmentsViewModel | AttachmentsViewModel |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
Request Formats
application/json, text/json
{
"Id": 1,
"DesignationId": 2,
"UserName": "sample string 3",
"Email": "sample string 4",
"Password": "sample string 5",
"MobileNo": "sample string 6",
"AlternateNo": "sample string 7",
"UploadImagePath": "sample string 8",
"EmergencyContactPerson": "sample string 9",
"EmergencyContactNo": "sample string 10",
"CountryId": 1,
"StateId": 1,
"DistrictId": 1,
"CityId": 1,
"Address": "sample string 11",
"ZipCode": "sample string 12",
"IsActive": true,
"IsAdmin": true,
"StateName": "sample string 15",
"DistrictName": "sample string 16",
"CityName": "sample string 17",
"objPageMasterViewModel": [
{
"Id": 1,
"SystemName": "sample string 2",
"DisplayName": "sample string 3",
"Description": "sample string 4",
"PageURL": "sample string 5",
"ParentId": 1,
"MenuCss": "sample string 6",
"OrderBy": 7.1,
"ShowInMenu": true,
"IsActive": true,
"objPagePermissionViewModel": {
"Id": 1,
"UserId": 2,
"PageMasterId": 3,
"IsView": true,
"IsAdd": true,
"IsUpdate": true,
"IsDelete": true,
"CreatedDate": "2025-12-10T10:42:36.8097725-08:00",
"CreatedBy": 9,
"ModifiedDate": "2025-12-10T10:42:36.8097725-08:00",
"ModifiedBy": 1
},
"CreatedDate": "2025-12-10T10:42:36.8097725-08:00",
"CreatedBy": 11,
"ModifiedDate": "2025-12-10T10:42:36.8097725-08:00",
"ModifiedBy": 1
},
{
"Id": 1,
"SystemName": "sample string 2",
"DisplayName": "sample string 3",
"Description": "sample string 4",
"PageURL": "sample string 5",
"ParentId": 1,
"MenuCss": "sample string 6",
"OrderBy": 7.1,
"ShowInMenu": true,
"IsActive": true,
"objPagePermissionViewModel": {
"Id": 1,
"UserId": 2,
"PageMasterId": 3,
"IsView": true,
"IsAdd": true,
"IsUpdate": true,
"IsDelete": true,
"CreatedDate": "2025-12-10T10:42:36.8097725-08:00",
"CreatedBy": 9,
"ModifiedDate": "2025-12-10T10:42:36.8097725-08:00",
"ModifiedBy": 1
},
"CreatedDate": "2025-12-10T10:42:36.8097725-08:00",
"CreatedBy": 11,
"ModifiedDate": "2025-12-10T10:42:36.8097725-08:00",
"ModifiedBy": 1
}
],
"objAttachmentsViewModel": {
"Id": 1,
"EntityType": 2,
"EntityId": 3,
"Title": "sample string 4",
"AttachmentUniqueId": "sample string 5",
"Description": "sample string 6",
"Tag": "sample string 7",
"FileName": "sample string 8",
"FileExt": "sample string 9",
"MediaType": "sample string 10",
"MediaString": "sample string 11",
"IsTempAttachment": true,
"AbsoluteURL": "prmsapi.rachitsoftsol.com//PermanentAttachments/sample string 5/sample string 8",
"SubCategoryName": "sample string 14",
"CreatedDate": "2025-12-10T10:42:36.8097725-08:00",
"CreatedBy": 16,
"ModifiedDate": "2025-12-10T10:42:36.8097725-08:00",
"ModifiedBy": 1
},
"CreatedDate": "2025-12-10T10:42:36.8097725-08:00",
"CreatedBy": 19,
"ModifiedDate": "2025-12-10T10:42:36.8097725-08:00",
"ModifiedBy": 1
}
application/xml, text/xml
<UserRegisterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMS.ViewModel">
<CreatedBy>19</CreatedBy>
<CreatedDate>2025-12-10T10:42:36.8097725-08:00</CreatedDate>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-10T10:42:36.8097725-08:00</ModifiedDate>
<Address>sample string 11</Address>
<AlternateNo>sample string 7</AlternateNo>
<CityId>1</CityId>
<CityName>sample string 17</CityName>
<CountryId>1</CountryId>
<DesignationId>2</DesignationId>
<DistrictId>1</DistrictId>
<DistrictName>sample string 16</DistrictName>
<Email>sample string 4</Email>
<EmergencyContactNo>sample string 10</EmergencyContactNo>
<EmergencyContactPerson>sample string 9</EmergencyContactPerson>
<Id>1</Id>
<IsActive>true</IsActive>
<IsAdmin>true</IsAdmin>
<MobileNo>sample string 6</MobileNo>
<Password>sample string 5</Password>
<StateId>1</StateId>
<StateName>sample string 15</StateName>
<UploadImagePath>sample string 8</UploadImagePath>
<UserName>sample string 3</UserName>
<ZipCode>sample string 12</ZipCode>
<objAttachmentsViewModel>
<CreatedBy>16</CreatedBy>
<CreatedDate>2025-12-10T10:42:36.8097725-08:00</CreatedDate>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-10T10:42:36.8097725-08:00</ModifiedDate>
<AbsoluteURL>prmsapi.rachitsoftsol.com//PermanentAttachments/sample string 5/sample string 8</AbsoluteURL>
<AttachmentUniqueId>sample string 5</AttachmentUniqueId>
<Description>sample string 6</Description>
<EntityId>3</EntityId>
<EntityType>2</EntityType>
<FileExt>sample string 9</FileExt>
<FileName>sample string 8</FileName>
<Id>1</Id>
<IsTempAttachment>true</IsTempAttachment>
<MediaString>sample string 11</MediaString>
<MediaType>sample string 10</MediaType>
<SubCategoryName>sample string 14</SubCategoryName>
<Tag>sample string 7</Tag>
<Title>sample string 4</Title>
</objAttachmentsViewModel>
<objPageMasterViewModel>
<PageMasterViewModel>
<CreatedBy>11</CreatedBy>
<CreatedDate>2025-12-10T10:42:36.8097725-08:00</CreatedDate>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-10T10:42:36.8097725-08:00</ModifiedDate>
<Description>sample string 4</Description>
<DisplayName>sample string 3</DisplayName>
<Id>1</Id>
<IsActive>true</IsActive>
<MenuCss>sample string 6</MenuCss>
<OrderBy>7.1</OrderBy>
<PageURL>sample string 5</PageURL>
<ParentId>1</ParentId>
<ShowInMenu>true</ShowInMenu>
<SystemName>sample string 2</SystemName>
<objPagePermissionViewModel>
<CreatedBy>9</CreatedBy>
<CreatedDate>2025-12-10T10:42:36.8097725-08:00</CreatedDate>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-10T10:42:36.8097725-08:00</ModifiedDate>
<Id>1</Id>
<IsAdd>true</IsAdd>
<IsDelete>true</IsDelete>
<IsUpdate>true</IsUpdate>
<IsView>true</IsView>
<PageMasterId>3</PageMasterId>
<UserId>2</UserId>
</objPagePermissionViewModel>
</PageMasterViewModel>
<PageMasterViewModel>
<CreatedBy>11</CreatedBy>
<CreatedDate>2025-12-10T10:42:36.8097725-08:00</CreatedDate>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-10T10:42:36.8097725-08:00</ModifiedDate>
<Description>sample string 4</Description>
<DisplayName>sample string 3</DisplayName>
<Id>1</Id>
<IsActive>true</IsActive>
<MenuCss>sample string 6</MenuCss>
<OrderBy>7.1</OrderBy>
<PageURL>sample string 5</PageURL>
<ParentId>1</ParentId>
<ShowInMenu>true</ShowInMenu>
<SystemName>sample string 2</SystemName>
<objPagePermissionViewModel>
<CreatedBy>9</CreatedBy>
<CreatedDate>2025-12-10T10:42:36.8097725-08:00</CreatedDate>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-10T10:42:36.8097725-08:00</ModifiedDate>
<Id>1</Id>
<IsAdd>true</IsAdd>
<IsDelete>true</IsDelete>
<IsUpdate>true</IsUpdate>
<IsView>true</IsView>
<PageMasterId>3</PageMasterId>
<UserId>2</UserId>
</objPagePermissionViewModel>
</PageMasterViewModel>
</objPageMasterViewModel>
</UserRegisterViewModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |