POST api/delete-users

Request Information

URI Parameters

None.

Body Parameters

UsersModel
NameDescriptionTypeAdditional information
UserId

integer

None.

UserName

string

None.

Email

string

None.

Phone

string

None.

RoleId

integer

None.

RoleName

string

None.

AgencyId

integer

None.

AgencyName

string

None.

TwoFactorAuthentication

boolean

None.

ManagerialRole

boolean

None.

ManagerId

Collection of integer

None.

Auditor

boolean

None.

WebAccess

boolean

None.

MobileAccess

boolean

None.

HodStatus

boolean

None.

AuditType

string

None.

ObjAuditTpyeId

integer

None.

SubAuditId

integer

None.

DepartmentId

integer

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

DeletedBy

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

StartIndex

integer

None.

GridSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserName": "sample string 1",
  "Email": "sample string 2",
  "Phone": "sample string 3",
  "RoleId": 1,
  "RoleName": "sample string 4",
  "AgencyId": 1,
  "AgencyName": "sample string 5",
  "TwoFactorAuthentication": true,
  "ManagerialRole": true,
  "ManagerId": [
    1,
    2
  ],
  "Auditor": true,
  "WebAccess": true,
  "MobileAccess": true,
  "HodStatus": true,
  "AuditType": "sample string 6",
  "ObjAuditTpyeId": 1,
  "SubAuditId": 1,
  "DepartmentId": 1,
  "CreatedBy": 1,
  "ModifiedBy": 1,
  "DeletedBy": 1,
  "CreatedDate": "2024-11-26T17:50:48.8310558+05:30",
  "ModifiedDate": "2024-11-26T17:50:48.8310558+05:30",
  "StartIndex": 1,
  "GridSize": 1
}

application/xml, text/xml

Sample:
<UsersModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.AdminModels">
  <GridSize xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.Generic">1</GridSize>
  <StartIndex xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.Generic">1</StartIndex>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.Generic">1</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.Generic">2024-11-26T17:50:48.8310558+05:30</CreatedDate>
  <DeletedBy xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.Generic">1</DeletedBy>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.Generic">1</ModifiedBy>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.Generic">2024-11-26T17:50:48.8310558+05:30</ModifiedDate>
  <AgencyId>1</AgencyId>
  <AgencyName>sample string 5</AgencyName>
  <AuditType>sample string 6</AuditType>
  <Auditor>true</Auditor>
  <DepartmentId>1</DepartmentId>
  <Email>sample string 2</Email>
  <HodStatus>true</HodStatus>
  <ManagerId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ManagerId>
  <ManagerialRole>true</ManagerialRole>
  <MobileAccess>true</MobileAccess>
  <ObjAuditTpyeId>1</ObjAuditTpyeId>
  <Phone>sample string 3</Phone>
  <RoleId>1</RoleId>
  <RoleName>sample string 4</RoleName>
  <SubAuditId>1</SubAuditId>
  <TwoFactorAuthentication>true</TwoFactorAuthentication>
  <UserId>1</UserId>
  <UserName>sample string 1</UserName>
  <WebAccess>true</WebAccess>
</UsersModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.