POST api/Admin/GetDepartmentByUser

Request Information

URI Parameters

None.

Body Parameters

GetAllDepartmentByUser
NameDescriptionTypeAdditional information
UserId

integer

Required

HospitalId

integer

Required

Offset

integer

None.

Fetch

integer

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "HospitalId": 2,
  "Offset": 3,
  "Fetch": 4,
  "Name": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Json
NameDescriptionTypeAdditional information
status

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "message": "sample string 2",
  "data": {
    "$id": "2"
  }
}