POST api/ProductLine/CustomizeBook
Request Information
URI Parameters
None.
Body Parameters
BookDetailsModelName | Description | Type | Additional information |
---|---|---|---|
ParentEntityKey | string |
None. |
|
ProductLineId | integer |
None. |
|
PriceTypeId | integer |
None. |
|
Branches | Collection of BranchModel |
None. |
|
DeletedBranchKeys | Collection of string |
None. |
|
IsPrivateClinic | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ParentEntityKey": "sample string 1", "ProductLineId": 2, "PriceTypeId": 3, "Branches": [ { "BranchKey": "sample string 2", "NameEnglish": "sample string 3", "NameArabic": "sample string 4", "TaxIdNumber": "sample string 5", "CRNumber": "sample string 6", "AreaId": 1, "SpecialityGroups": [ { "SpecialityGroupId": 1, "NumberOfRooms": 1, "FeesModel": { "Value": 1.0, "IsPercentage": true, "PaymentAttributeTypeId": 1, "PaymentAttributeType": "sample string 2", "AllowedPaymentPlans": [ "sample string 1", "sample string 2" ] }, "RoomKey": "sample string 2" }, { "SpecialityGroupId": 1, "NumberOfRooms": 1, "FeesModel": { "Value": 1.0, "IsPercentage": true, "PaymentAttributeTypeId": 1, "PaymentAttributeType": "sample string 2", "AllowedPaymentPlans": [ "sample string 1", "sample string 2" ] }, "RoomKey": "sample string 2" } ], "BookingTypeId": 1, "ParentModel": { "EntityKey": "sample string 1", "NameEnglish": "sample string 2", "NameArabic": "sample string 3", "TaxIdNumber": "sample string 4", "CRNumber": "sample string 5", "EntityTypeId": 6, "PrefixTitleId": 1, "ParentEntityKey": "sample string 7", "ImageModel": { "ImageExtension": "sample string 1", "ImageBase64String": "sample string 2", "DescriptionEnglish": "sample string 3", "DescriptionArabic": "sample string 4", "FilePath": "sample string 5", "ThumbnailPath": "sample string 6" }, "StatusId": 1, "AreaId": 1, "BookingTypeId": 1, "Logo": "sample string 8", "PhoneNumber": "sample string 9", "MessagesPhoneNumber": "sample string 10", "CountryIsoCode": "sample string 11", "HideServicesPrices": true, "EntityAddressModel": { "EntityAddressKey": "sample string 1", "AddressEnglish": "sample string 2", "AddressArabic": "sample string 3", "AddressEn": "sample string 4", "AddressAr": "sample string 5", "ShortAddressEnglish": "sample string 6", "ShortAddressArabic": "sample string 7", "AreaId": 1, "AreaKey": "sample string 8", "CityKey": "sample string 9", "StreetNameArabic": "sample string 10", "StreetNameEnglish": "sample string 11", "BuildingNumberEnglish": "sample string 12", "BuildingNumberArabic": "sample string 13", "FloorNumberEnglish": "sample string 14", "FloorNumberArabic": "sample string 15", "Apartment": "sample string 16", "LabelEnglish": "sample string 17", "LabelArabic": "sample string 18", "Latitude": 1.0, "Longitude": 1.0 } }, "PhoneNumber": "sample string 8", "MessagesPhoneNumber": "sample string 9", "EntityAddressModel": { "EntityAddressKey": "sample string 1", "AddressEnglish": "sample string 2", "AddressArabic": "sample string 3", "AddressEn": "sample string 4", "AddressAr": "sample string 5", "ShortAddressEnglish": "sample string 6", "ShortAddressArabic": "sample string 7", "AreaId": 1, "AreaKey": "sample string 8", "CityKey": "sample string 9", "StreetNameArabic": "sample string 10", "StreetNameEnglish": "sample string 11", "BuildingNumberEnglish": "sample string 12", "BuildingNumberArabic": "sample string 13", "FloorNumberEnglish": "sample string 14", "FloorNumberArabic": "sample string 15", "Apartment": "sample string 16", "LabelEnglish": "sample string 17", "LabelArabic": "sample string 18", "Latitude": 1.0, "Longitude": 1.0 }, "CountryIsoCode": "sample string 10", "DefaultRoomKey": "sample string 11" }, { "BranchKey": "sample string 2", "NameEnglish": "sample string 3", "NameArabic": "sample string 4", "TaxIdNumber": "sample string 5", "CRNumber": "sample string 6", "AreaId": 1, "SpecialityGroups": [ { "SpecialityGroupId": 1, "NumberOfRooms": 1, "FeesModel": { "Value": 1.0, "IsPercentage": true, "PaymentAttributeTypeId": 1, "PaymentAttributeType": "sample string 2", "AllowedPaymentPlans": [ "sample string 1", "sample string 2" ] }, "RoomKey": "sample string 2" }, { "SpecialityGroupId": 1, "NumberOfRooms": 1, "FeesModel": { "Value": 1.0, "IsPercentage": true, "PaymentAttributeTypeId": 1, "PaymentAttributeType": "sample string 2", "AllowedPaymentPlans": [ "sample string 1", "sample string 2" ] }, "RoomKey": "sample string 2" } ], "BookingTypeId": 1, "ParentModel": { "EntityKey": "sample string 1", "NameEnglish": "sample string 2", "NameArabic": "sample string 3", "TaxIdNumber": "sample string 4", "CRNumber": "sample string 5", "EntityTypeId": 6, "PrefixTitleId": 1, "ParentEntityKey": "sample string 7", "ImageModel": { "ImageExtension": "sample string 1", "ImageBase64String": "sample string 2", "DescriptionEnglish": "sample string 3", "DescriptionArabic": "sample string 4", "FilePath": "sample string 5", "ThumbnailPath": "sample string 6" }, "StatusId": 1, "AreaId": 1, "BookingTypeId": 1, "Logo": "sample string 8", "PhoneNumber": "sample string 9", "MessagesPhoneNumber": "sample string 10", "CountryIsoCode": "sample string 11", "HideServicesPrices": true, "EntityAddressModel": { "EntityAddressKey": "sample string 1", "AddressEnglish": "sample string 2", "AddressArabic": "sample string 3", "AddressEn": "sample string 4", "AddressAr": "sample string 5", "ShortAddressEnglish": "sample string 6", "ShortAddressArabic": "sample string 7", "AreaId": 1, "AreaKey": "sample string 8", "CityKey": "sample string 9", "StreetNameArabic": "sample string 10", "StreetNameEnglish": "sample string 11", "BuildingNumberEnglish": "sample string 12", "BuildingNumberArabic": "sample string 13", "FloorNumberEnglish": "sample string 14", "FloorNumberArabic": "sample string 15", "Apartment": "sample string 16", "LabelEnglish": "sample string 17", "LabelArabic": "sample string 18", "Latitude": 1.0, "Longitude": 1.0 } }, "PhoneNumber": "sample string 8", "MessagesPhoneNumber": "sample string 9", "EntityAddressModel": { "EntityAddressKey": "sample string 1", "AddressEnglish": "sample string 2", "AddressArabic": "sample string 3", "AddressEn": "sample string 4", "AddressAr": "sample string 5", "ShortAddressEnglish": "sample string 6", "ShortAddressArabic": "sample string 7", "AreaId": 1, "AreaKey": "sample string 8", "CityKey": "sample string 9", "StreetNameArabic": "sample string 10", "StreetNameEnglish": "sample string 11", "BuildingNumberEnglish": "sample string 12", "BuildingNumberArabic": "sample string 13", "FloorNumberEnglish": "sample string 14", "FloorNumberArabic": "sample string 15", "Apartment": "sample string 16", "LabelEnglish": "sample string 17", "LabelArabic": "sample string 18", "Latitude": 1.0, "Longitude": 1.0 }, "CountryIsoCode": "sample string 10", "DefaultRoomKey": "sample string 11" } ], "DeletedBranchKeys": [ "sample string 1", "sample string 2" ], "IsPrivateClinic": true }
application/xml, text/xml
Sample:
<BookDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountManagement.Models"> <Branches> <BranchModel> <AddressId>1</AddressId> <AreaId>1</AreaId> <BookingTypeId>1</BookingTypeId> <BranchId>1</BranchId> <BranchKey>sample string 2</BranchKey> <CRNumber>sample string 6</CRNumber> <CountryIsoCode>sample string 10</CountryIsoCode> <DefaultRoomKey>sample string 11</DefaultRoomKey> <EntityAddressModel> <AddressAr>sample string 5</AddressAr> <AddressArabic>sample string 3</AddressArabic> <AddressEn>sample string 4</AddressEn> <AddressEnglish>sample string 2</AddressEnglish> <Apartment>sample string 16</Apartment> <AreaId>1</AreaId> <AreaKey>sample string 8</AreaKey> <BuildingNumberArabic>sample string 13</BuildingNumberArabic> <BuildingNumberEnglish>sample string 12</BuildingNumberEnglish> <CityKey>sample string 9</CityKey> <EntityAddressKey>sample string 1</EntityAddressKey> <FloorNumberArabic>sample string 15</FloorNumberArabic> <FloorNumberEnglish>sample string 14</FloorNumberEnglish> <LabelArabic>sample string 18</LabelArabic> <LabelEnglish>sample string 17</LabelEnglish> <Latitude>1</Latitude> <Longitude>1</Longitude> <ShortAddressArabic>sample string 7</ShortAddressArabic> <ShortAddressEnglish>sample string 6</ShortAddressEnglish> <StreetNameArabic>sample string 10</StreetNameArabic> <StreetNameEnglish>sample string 11</StreetNameEnglish> </EntityAddressModel> <IsNew>true</IsNew> <MessagesPhoneNumber>sample string 9</MessagesPhoneNumber> <NameArabic>sample string 4</NameArabic> <NameEnglish>sample string 3</NameEnglish> <ParentModel> <AddressId>1</AddressId> <AreaId>1</AreaId> <BookingTypeId>1</BookingTypeId> <CRNumber>sample string 5</CRNumber> <CountryIsoCode>sample string 11</CountryIsoCode> <EntityAddressModel> <AddressAr>sample string 5</AddressAr> <AddressArabic>sample string 3</AddressArabic> <AddressEn>sample string 4</AddressEn> <AddressEnglish>sample string 2</AddressEnglish> <Apartment>sample string 16</Apartment> <AreaId>1</AreaId> <AreaKey>sample string 8</AreaKey> <BuildingNumberArabic>sample string 13</BuildingNumberArabic> <BuildingNumberEnglish>sample string 12</BuildingNumberEnglish> <CityKey>sample string 9</CityKey> <EntityAddressKey>sample string 1</EntityAddressKey> <FloorNumberArabic>sample string 15</FloorNumberArabic> <FloorNumberEnglish>sample string 14</FloorNumberEnglish> <LabelArabic>sample string 18</LabelArabic> <LabelEnglish>sample string 17</LabelEnglish> <Latitude>1</Latitude> <Longitude>1</Longitude> <ShortAddressArabic>sample string 7</ShortAddressArabic> <ShortAddressEnglish>sample string 6</ShortAddressEnglish> <StreetNameArabic>sample string 10</StreetNameArabic> <StreetNameEnglish>sample string 11</StreetNameEnglish> </EntityAddressModel> <EntityKey>sample string 1</EntityKey> <EntityTypeId>6</EntityTypeId> <HideServicesPrices>true</HideServicesPrices> <ImageModel> <DescriptionArabic>sample string 4</DescriptionArabic> <DescriptionEnglish>sample string 3</DescriptionEnglish> <FilePath>sample string 5</FilePath> <ImageBase64String>sample string 2</ImageBase64String> <ImageExtension>sample string 1</ImageExtension> <ThumbnailPath>sample string 6</ThumbnailPath> </ImageModel> <Logo>sample string 8</Logo> <MessagesPhoneNumber>sample string 10</MessagesPhoneNumber> <NameArabic>sample string 3</NameArabic> <NameEnglish>sample string 2</NameEnglish> <ParentEntityKey>sample string 7</ParentEntityKey> <PhoneNumber>sample string 9</PhoneNumber> <PrefixTitleId>1</PrefixTitleId> <SpecialtyGroupId>1</SpecialtyGroupId> <StatusId>1</StatusId> <TaxIdNumber>sample string 4</TaxIdNumber> </ParentModel> <PhoneNumber>sample string 8</PhoneNumber> <SpecialityGroups> <SpecialityGroupModel> <FeesModel> <AllowedPaymentPlans xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </AllowedPaymentPlans> <IsPercentage>true</IsPercentage> <PaymentAttributeType>sample string 2</PaymentAttributeType> <PaymentAttributeTypeId>1</PaymentAttributeTypeId> <Value>1</Value> </FeesModel> <Name>sample string 3</Name> <NumberOfRooms>1</NumberOfRooms> <RoomKey>sample string 2</RoomKey> <SpecialityGroupId>1</SpecialityGroupId> </SpecialityGroupModel> <SpecialityGroupModel> <FeesModel> <AllowedPaymentPlans xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </AllowedPaymentPlans> <IsPercentage>true</IsPercentage> <PaymentAttributeType>sample string 2</PaymentAttributeType> <PaymentAttributeTypeId>1</PaymentAttributeTypeId> <Value>1</Value> </FeesModel> <Name>sample string 3</Name> <NumberOfRooms>1</NumberOfRooms> <RoomKey>sample string 2</RoomKey> <SpecialityGroupId>1</SpecialityGroupId> </SpecialityGroupModel> </SpecialityGroups> <TaxIdNumber>sample string 5</TaxIdNumber> </BranchModel> <BranchModel> <AddressId>1</AddressId> <AreaId>1</AreaId> <BookingTypeId>1</BookingTypeId> <BranchId>1</BranchId> <BranchKey>sample string 2</BranchKey> <CRNumber>sample string 6</CRNumber> <CountryIsoCode>sample string 10</CountryIsoCode> <DefaultRoomKey>sample string 11</DefaultRoomKey> <EntityAddressModel> <AddressAr>sample string 5</AddressAr> <AddressArabic>sample string 3</AddressArabic> <AddressEn>sample string 4</AddressEn> <AddressEnglish>sample string 2</AddressEnglish> <Apartment>sample string 16</Apartment> <AreaId>1</AreaId> <AreaKey>sample string 8</AreaKey> <BuildingNumberArabic>sample string 13</BuildingNumberArabic> <BuildingNumberEnglish>sample string 12</BuildingNumberEnglish> <CityKey>sample string 9</CityKey> <EntityAddressKey>sample string 1</EntityAddressKey> <FloorNumberArabic>sample string 15</FloorNumberArabic> <FloorNumberEnglish>sample string 14</FloorNumberEnglish> <LabelArabic>sample string 18</LabelArabic> <LabelEnglish>sample string 17</LabelEnglish> <Latitude>1</Latitude> <Longitude>1</Longitude> <ShortAddressArabic>sample string 7</ShortAddressArabic> <ShortAddressEnglish>sample string 6</ShortAddressEnglish> <StreetNameArabic>sample string 10</StreetNameArabic> <StreetNameEnglish>sample string 11</StreetNameEnglish> </EntityAddressModel> <IsNew>true</IsNew> <MessagesPhoneNumber>sample string 9</MessagesPhoneNumber> <NameArabic>sample string 4</NameArabic> <NameEnglish>sample string 3</NameEnglish> <ParentModel> <AddressId>1</AddressId> <AreaId>1</AreaId> <BookingTypeId>1</BookingTypeId> <CRNumber>sample string 5</CRNumber> <CountryIsoCode>sample string 11</CountryIsoCode> <EntityAddressModel> <AddressAr>sample string 5</AddressAr> <AddressArabic>sample string 3</AddressArabic> <AddressEn>sample string 4</AddressEn> <AddressEnglish>sample string 2</AddressEnglish> <Apartment>sample string 16</Apartment> <AreaId>1</AreaId> <AreaKey>sample string 8</AreaKey> <BuildingNumberArabic>sample string 13</BuildingNumberArabic> <BuildingNumberEnglish>sample string 12</BuildingNumberEnglish> <CityKey>sample string 9</CityKey> <EntityAddressKey>sample string 1</EntityAddressKey> <FloorNumberArabic>sample string 15</FloorNumberArabic> <FloorNumberEnglish>sample string 14</FloorNumberEnglish> <LabelArabic>sample string 18</LabelArabic> <LabelEnglish>sample string 17</LabelEnglish> <Latitude>1</Latitude> <Longitude>1</Longitude> <ShortAddressArabic>sample string 7</ShortAddressArabic> <ShortAddressEnglish>sample string 6</ShortAddressEnglish> <StreetNameArabic>sample string 10</StreetNameArabic> <StreetNameEnglish>sample string 11</StreetNameEnglish> </EntityAddressModel> <EntityKey>sample string 1</EntityKey> <EntityTypeId>6</EntityTypeId> <HideServicesPrices>true</HideServicesPrices> <ImageModel> <DescriptionArabic>sample string 4</DescriptionArabic> <DescriptionEnglish>sample string 3</DescriptionEnglish> <FilePath>sample string 5</FilePath> <ImageBase64String>sample string 2</ImageBase64String> <ImageExtension>sample string 1</ImageExtension> <ThumbnailPath>sample string 6</ThumbnailPath> </ImageModel> <Logo>sample string 8</Logo> <MessagesPhoneNumber>sample string 10</MessagesPhoneNumber> <NameArabic>sample string 3</NameArabic> <NameEnglish>sample string 2</NameEnglish> <ParentEntityKey>sample string 7</ParentEntityKey> <PhoneNumber>sample string 9</PhoneNumber> <PrefixTitleId>1</PrefixTitleId> <SpecialtyGroupId>1</SpecialtyGroupId> <StatusId>1</StatusId> <TaxIdNumber>sample string 4</TaxIdNumber> </ParentModel> <PhoneNumber>sample string 8</PhoneNumber> <SpecialityGroups> <SpecialityGroupModel> <FeesModel> <AllowedPaymentPlans xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </AllowedPaymentPlans> <IsPercentage>true</IsPercentage> <PaymentAttributeType>sample string 2</PaymentAttributeType> <PaymentAttributeTypeId>1</PaymentAttributeTypeId> <Value>1</Value> </FeesModel> <Name>sample string 3</Name> <NumberOfRooms>1</NumberOfRooms> <RoomKey>sample string 2</RoomKey> <SpecialityGroupId>1</SpecialityGroupId> </SpecialityGroupModel> <SpecialityGroupModel> <FeesModel> <AllowedPaymentPlans xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d7p1:string>sample string 1</d7p1:string> <d7p1:string>sample string 2</d7p1:string> </AllowedPaymentPlans> <IsPercentage>true</IsPercentage> <PaymentAttributeType>sample string 2</PaymentAttributeType> <PaymentAttributeTypeId>1</PaymentAttributeTypeId> <Value>1</Value> </FeesModel> <Name>sample string 3</Name> <NumberOfRooms>1</NumberOfRooms> <RoomKey>sample string 2</RoomKey> <SpecialityGroupId>1</SpecialityGroupId> </SpecialityGroupModel> </SpecialityGroups> <TaxIdNumber>sample string 5</TaxIdNumber> </BranchModel> </Branches> <DeletedBranchKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DeletedBranchKeys> <IsPrivateClinic>true</IsPrivateClinic> <ParentEntityKey>sample string 1</ParentEntityKey> <PriceTypeId>3</PriceTypeId> <ProductLineId>2</ProductLineId> </BookDetailsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |