POST api/MedicalCenter/Register

Request Information

URI Parameters

None.

Not Require Authorization!

Body Parameters

MedicalCenterRegistrationViewModel
NameDescriptionTypeAdditional information
MedicalCenterID

integer

None.

EnName

string

Required

ArName

string

Required

EnDetailedAddress

string

Required

ArDetailedAddress

string

Required

IsActive

boolean

None.

IsVisible

boolean

None.

IsApproved

boolean

None.

CommercialRegisterDocument

string

Required

LicenseCertificateDocument

string

Required

Logo

string

Required

EmailConfirmationCode

string

None.

EnBrief

string

Required

ArBrief

string

Required

NotificationPhoneNumber

string

Required

Matching regular expression pattern: ^(\+|\d)[0-9]{5,15}$

ContactPhoneNumber

string

Required

Matching regular expression pattern: ^(\+|\d)[0-9]{5,15}$

LoginEmail

string

Required

Data type: EmailAddress

Password

string

Data type: Password

MedicalCenterCategoryID

integer

Range: inclusive between 1 and 2147483647

CityID

integer

Range: inclusive between 1 and 2147483647

AreaID

integer

None.

MedicalCenterAdminID

integer

None.

Longitude

decimal number

Required

Latitude

decimal number

Required

MedicalCenterAdminUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MedicalCenterID": 1,
  "EnName": "sample string 2",
  "ArName": "sample string 3",
  "EnDetailedAddress": "sample string 4",
  "ArDetailedAddress": "sample string 5",
  "IsActive": true,
  "IsVisible": true,
  "IsApproved": true,
  "CommercialRegisterDocument": "sample string 9",
  "LicenseCertificateDocument": "sample string 10",
  "Logo": "sample string 11",
  "EmailConfirmationCode": "sample string 12",
  "EnBrief": "sample string 13",
  "ArBrief": "sample string 14",
  "NotificationPhoneNumber": "sample string 15",
  "ContactPhoneNumber": "sample string 16",
  "LoginEmail": "sample string 17",
  "Password": "sample string 18",
  "MedicalCenterCategoryID": 19,
  "CityID": 20,
  "AreaID": 1,
  "MedicalCenterAdminID": 21,
  "Longitude": 22.1,
  "Latitude": 23.1,
  "MedicalCenterAdminUserID": 24
}

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
}