POST api/Medical/SaveOperatingUnit
Request Information
URI Parameters
None.
Body Parameters
MED_OperatingUnitModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BusinessName | string |
None. |
|
| IsYourProperty | boolean |
None. |
|
| IsOperatingUnitOwnerExists | boolean |
None. |
|
| PropertyUserProfileID | integer |
None. |
|
| PropertyTempUserProfileID | integer |
None. |
|
| BusinessRelationTypeID | integer |
None. |
|
| BusinessRelationType | string |
None. |
|
| CountryIDOwner | integer |
None. |
|
| ProvinceIDOwner | integer |
None. |
|
| CityIDOwner | integer |
None. |
|
| CountyIDOwner | integer |
None. |
|
| TownIDOwner | integer |
None. |
|
| CountryNameTextOwner | string |
None. |
|
| ProvinceOwner | string |
None. |
|
| CityOwner | string |
None. |
|
| TownOwner | string |
None. |
|
| Address1Owner | string |
None. |
|
| CompleteAddressOwner | string |
None. |
|
| ApartmentOwner | string |
None. |
|
| CountyDistOwner | string |
None. |
|
| ZipCodeOwner | string |
None. |
|
| FirstNameOwner | string |
None. |
|
| MiddleNameOwner | string |
None. |
|
| LastNameOwner | string |
None. |
|
| CellNumberOwner | string |
None. |
|
| EmailOwner | string |
None. |
|
| NationalityNumberOwner | string |
None. |
|
| Src | string |
None. |
|
| DBNo | integer |
None. |
|
| AppNo | integer |
None. |
|
| Phone | string |
None. |
|
| OperatingUnitCellNumber | string |
None. |
|
| Fax | string |
None. |
|
| string |
None. |
||
| CountryID | integer |
None. |
|
| ProvinceID | integer |
None. |
|
| CityID | integer |
None. |
|
| CountyID | integer |
None. |
|
| TownID | integer |
None. |
|
| CountryNameText | string |
None. |
|
| Province | string |
None. |
|
| City | string |
None. |
|
| Town | string |
None. |
|
| Address1 | string |
None. |
|
| Apartment | string |
None. |
|
| CountyDist | string |
None. |
|
| ZipCode | string |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedBy | integer |
None. |
|
| OperatingUnitID | integer |
None. |
|
| ProfessionCode | string |
None. |
|
| OfficeID | integer |
None. |
|
| SpecializationID | integer |
None. |
|
| ProfessionSpecialization | string |
None. |
|
| OperatingunitName | string |
None. |
|
| Website | string |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedDate | date |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BusinessName": "sample string 1",
"IsYourProperty": true,
"IsOperatingUnitOwnerExists": true,
"PropertyUserProfileID": 1,
"PropertyTempUserProfileID": 1,
"BusinessRelationTypeID": 1,
"BusinessRelationType": "sample string 2",
"CountryIDOwner": 1,
"ProvinceIDOwner": 1,
"CityIDOwner": 1,
"CountyIDOwner": 1,
"TownIDOwner": 1,
"CountryNameTextOwner": "sample string 3",
"ProvinceOwner": "sample string 4",
"CityOwner": "sample string 5",
"TownOwner": "sample string 6",
"Address1Owner": "sample string 7",
"CompleteAddressOwner": "sample string 8",
"ApartmentOwner": "sample string 9",
"CountyDistOwner": "sample string 10",
"ZipCodeOwner": "sample string 11",
"FirstNameOwner": "sample string 12",
"MiddleNameOwner": "sample string 13",
"LastNameOwner": "sample string 14",
"CellNumberOwner": "sample string 15",
"EmailOwner": "sample string 16",
"NationalityNumberOwner": "sample string 17",
"Src": "sample string 18",
"DBNo": 1,
"AppNo": 1,
"Phone": "sample string 19",
"OperatingUnitCellNumber": "sample string 20",
"Fax": "sample string 21",
"Email": "sample string 22",
"CountryID": 1,
"ProvinceID": 1,
"CityID": 1,
"CountyID": 1,
"TownID": 1,
"CountryNameText": "sample string 23",
"Province": "sample string 24",
"City": "sample string 25",
"Town": "sample string 26",
"Address1": "sample string 27",
"Apartment": "sample string 28",
"CountyDist": "sample string 29",
"ZipCode": "sample string 30",
"CreatedBy": 1,
"UpdatedBy": 1,
"OperatingUnitID": 1,
"ProfessionCode": "sample string 31",
"OfficeID": 1,
"SpecializationID": 1,
"ProfessionSpecialization": "sample string 32",
"OperatingunitName": "sample string 33",
"Website": "sample string 34",
"IsActive": true,
"IsDeleted": true,
"CreatedDate": "2026-04-06T21:32:14.4959012-05:00",
"UpdatedDate": "2026-04-06T21:32:14.4959012-05:00",
"Notes": "sample string 35"
}
application/xml, text/xml
Sample:
<MED_OperatingUnitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Model"> <Address1>sample string 27</Address1> <Address1Owner>sample string 7</Address1Owner> <Apartment>sample string 28</Apartment> <ApartmentOwner>sample string 9</ApartmentOwner> <AppNo>1</AppNo> <BusinessName>sample string 1</BusinessName> <BusinessRelationType>sample string 2</BusinessRelationType> <BusinessRelationTypeID>1</BusinessRelationTypeID> <CellNumberOwner>sample string 15</CellNumberOwner> <City>sample string 25</City> <CityID>1</CityID> <CityIDOwner>1</CityIDOwner> <CityOwner>sample string 5</CityOwner> <CompleteAddressOwner>sample string 8</CompleteAddressOwner> <CountryID>1</CountryID> <CountryIDOwner>1</CountryIDOwner> <CountryNameText>sample string 23</CountryNameText> <CountryNameTextOwner>sample string 3</CountryNameTextOwner> <CountyDist>sample string 29</CountyDist> <CountyDistOwner>sample string 10</CountyDistOwner> <CountyID>1</CountyID> <CountyIDOwner>1</CountyIDOwner> <CreatedBy>1</CreatedBy> <CreatedDate>2026-04-06T21:32:14.4959012-05:00</CreatedDate> <DBNo>1</DBNo> <Email>sample string 22</Email> <EmailOwner>sample string 16</EmailOwner> <Fax>sample string 21</Fax> <FirstNameOwner>sample string 12</FirstNameOwner> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <IsOperatingUnitOwnerExists>true</IsOperatingUnitOwnerExists> <IsYourProperty>true</IsYourProperty> <LastNameOwner>sample string 14</LastNameOwner> <MiddleNameOwner>sample string 13</MiddleNameOwner> <NationalityNumberOwner>sample string 17</NationalityNumberOwner> <Notes>sample string 35</Notes> <OfficeID>1</OfficeID> <OperatingUnitCellNumber>sample string 20</OperatingUnitCellNumber> <OperatingUnitID>1</OperatingUnitID> <OperatingunitName>sample string 33</OperatingunitName> <Phone>sample string 19</Phone> <ProfessionCode>sample string 31</ProfessionCode> <ProfessionSpecialization>sample string 32</ProfessionSpecialization> <PropertyTempUserProfileID>1</PropertyTempUserProfileID> <PropertyUserProfileID>1</PropertyUserProfileID> <Province>sample string 24</Province> <ProvinceID>1</ProvinceID> <ProvinceIDOwner>1</ProvinceIDOwner> <ProvinceOwner>sample string 4</ProvinceOwner> <SpecializationID>1</SpecializationID> <Src>sample string 18</Src> <Town>sample string 26</Town> <TownID>1</TownID> <TownIDOwner>1</TownIDOwner> <TownOwner>sample string 6</TownOwner> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2026-04-06T21:32:14.4959012-05:00</UpdatedDate> <Website>sample string 34</Website> <ZipCode>sample string 30</ZipCode> <ZipCodeOwner>sample string 11</ZipCodeOwner> </MED_OperatingUnitModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ResultStatus |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics"> <Data /> <Message>sample string 1</Message> <Status>Success</Status> </Result>