POST api/Administration/Clinic/CreateUpdate

Request Information

URI Parameters

None.

Body Parameters

ClinicCreateUpdateViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ClinicRegistrationNo

string

None.

ClinicName

string

None.

ClinicEmail

string

None.

RegistrationDate

date

None.

ClinicTypeId

globally unique identifier

None.

Latitude

string

None.

Longitude

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "c978c4ff-0360-47fd-b4d5-9e48642596fa",
  "ClinicRegistrationNo": "sample string 2",
  "ClinicName": "sample string 3",
  "ClinicEmail": "sample string 4",
  "RegistrationDate": "2024-12-28T18:09:55.2914791+00:00",
  "ClinicTypeId": "68c00f73-dd9c-4192-9706-239c6560bfae",
  "Latitude": "sample string 6",
  "Longitude": "sample string 7"
}

application/xml, text/xml

Sample:
<ClinicCreateUpdateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.MySDS.WebAPI.Areas.Administration.ViewModels">
  <ClinicEmail>sample string 4</ClinicEmail>
  <ClinicName>sample string 3</ClinicName>
  <ClinicRegistrationNo>sample string 2</ClinicRegistrationNo>
  <ClinicTypeId>68c00f73-dd9c-4192-9706-239c6560bfae</ClinicTypeId>
  <Id>c978c4ff-0360-47fd-b4d5-9e48642596fa</Id>
  <Latitude>sample string 6</Latitude>
  <Longitude>sample string 7</Longitude>
  <RegistrationDate>2024-12-28T18:09:55.2914791+00:00</RegistrationDate>
</ClinicCreateUpdateViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Id"

c978c4ff-0360-47fd-b4d5-9e48642596fa
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ClinicRegistrationNo"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ClinicName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ClinicEmail"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="RegistrationDate"

2024-12-28T18:09:55.2914791+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ClinicTypeId"

68c00f73-dd9c-4192-9706-239c6560bfae
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Latitude"

sample string 6
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Longitude"

sample string 7
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.