POST api/AdminModule/Register_Admin

Request Information

URI Parameters

None.

Body Parameters

Admin_registration_Model
NameDescriptionTypeAdditional information
DBNo

integer

None.

AppNo

integer

None.

IsSuperUser

boolean

None.

UserID

integer

Required

AccessedBy_AssignmentID

integer

None.

AdminID

integer

None.

Admin_UserProfileID

integer

Required

IsAccessGranted

boolean

Required

IsActive

boolean

Required

IsDeleted

boolean

Required

CreatedBy

integer

Required

UpdatedBy

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "DBNo": 1,
  "AppNo": 1,
  "IsSuperUser": true,
  "UserID": 2,
  "AccessedBy_AssignmentID": 1,
  "AdminID": 1,
  "Admin_UserProfileID": 3,
  "IsAccessGranted": true,
  "IsActive": true,
  "IsDeleted": true,
  "CreatedBy": 7,
  "UpdatedBy": 8
}

application/xml, text/xml

Sample:
<Admin_registration_Model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Model.AdminModule">
  <AccessedBy_AssignmentID>1</AccessedBy_AssignmentID>
  <AdminID>1</AdminID>
  <Admin_UserProfileID>3</Admin_UserProfileID>
  <AppNo>1</AppNo>
  <CreatedBy>7</CreatedBy>
  <DBNo>1</DBNo>
  <IsAccessGranted>true</IsAccessGranted>
  <IsActive>true</IsActive>
  <IsDeleted>true</IsDeleted>
  <IsSuperUser>true</IsSuperUser>
  <UpdatedBy>8</UpdatedBy>
  <UserID>2</UserID>
</Admin_registration_Model>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result
NameDescriptionTypeAdditional information
Status

ResultStatus

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 100,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics">
  <Data />
  <Message>sample string 1</Message>
  <Status>Success</Status>
</Result>