POST api/MedicalCenmter/SubAdmin/Add

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

MedicalCenterSubAdminViewModel
NameDescriptionTypeAdditional information
AdminID

integer

None.

FullName

string

Required

UserID

integer

None.

MedicalCenterID

integer

Range: inclusive between 1 and 2147483647

IsActive

boolean

None.

Email

string

Required

Data type: EmailAddress

Password

string

Required

Data type: Password

Notes

string

None.

Role

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AdminID": 1,
  "FullName": "sample string 2",
  "UserID": 3,
  "MedicalCenterID": 4,
  "IsActive": true,
  "Email": "sample string 6",
  "Password": "sample string 7",
  "Notes": "sample string 8",
  "Role": "sample string 9"
}

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Status

integer

None.

Response

Object

None.

Errors

Object

None.

Authorized

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Response": {},
  "Errors": {},
  "Authorized": true
}