POST api/MedicalCenterProfile/Edit

Request Information

URI Parameters

None.

Requires Authorization!

Body Parameters

MedicalCenterEditProfileViewModel
NameDescriptionTypeAdditional information
MedicalCenterID

integer

None.

EnName

string

Required

Matching regular expression pattern: [a-zA-Z\s]{1,}

ArName

string

Required

Matching regular expression pattern: [\u0621-\u064A\u0660-\u0669 ]+$

Longitude

decimal number

Range: inclusive between 1 and 2147483647

Latitude

decimal number

Range: inclusive between 1 and 2147483647

EnDetailedAddress

string

Required

ArDetailedAddress

string

Required

Logo

string

None.

EnBrief

string

Required

ArBrief

string

Required

NotificationPhoneNumber

string

Required

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

MedicalCenterCategoryID

integer

Range: inclusive between 1 and 2147483647

CityID

integer

Range: inclusive between 1 and 2147483647

AreaID

integer

None.

ContactEmail

string

Data type: EmailAddress

isvisible

boolean

None.

NotificationEmail

string

Required

Data type: EmailAddress

WebsiteURL

string

Data type: Url

countryId

integer

None.

ContactPhoneNumbers

Collection of string

Required

Request Formats

application/json, text/json

Sample:
{
  "MedicalCenterID": 1,
  "EnName": "sample string 2",
  "ArName": "sample string 3",
  "Longitude": 4.1,
  "Latitude": 5.1,
  "EnDetailedAddress": "sample string 6",
  "ArDetailedAddress": "sample string 7",
  "Logo": "sample string 8",
  "EnBrief": "sample string 9",
  "ArBrief": "sample string 10",
  "NotificationPhoneNumber": "sample string 11",
  "MedicalCenterCategoryID": 12,
  "CityID": 13,
  "AreaID": 1,
  "ContactEmail": "sample string 14",
  "isvisible": true,
  "NotificationEmail": "sample string 16",
  "WebsiteURL": "sample string 17",
  "countryId": 18,
  "ContactPhoneNumbers": [
    "sample string 1",
    "sample string 2"
  ]
}

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
}