POST api/applicant/RestaurantApplication/SaveRestaurantEstablishmentDetails
Request Information
URI Parameters
None.
Body Parameters
RestaurantEstablishmentPostDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| AppEstablishmentID | integer |
None. |
|
| ApplicationID | string |
Required |
|
| SectionID | integer |
Required |
|
| EstablishmentName | string |
Required String length: inclusive between 0 and 500 |
|
| OwnershipType | string |
Required String length: inclusive between 0 and 50 |
|
| EstablishmentFullPostalAddress | string |
Required |
|
| EstablishmentDistrictID | integer |
Required |
|
| DistanceFromNearestShoppingCenterInKm | string |
Required String length: inclusive between 0 and 10 |
|
| EstablishmentContactNumber | string |
Required Matching regular expression pattern: ^[0-9]{10}$ |
|
| EstablishmentEmail | string |
Required String length: inclusive between 0 and 100 |
|
| EstablishmentWebsite | string |
String length: inclusive between 0 and 100 |
|
| WeatherOwnBuildingOrRented | boolean |
Required |
|
| LicenseFromExciseDepartment | boolean |
Required |
|
| TrainedStaffFromRecognizedInstitute | boolean |
Required |
|
| LicenseNumber | string |
Required String length: inclusive between 0 and 50 |
|
| LicenseDate | date |
Required |
|
| ProposedPricingStructure | string |
Required |
|
| DateOfCommencement | date |
Required |
|
| GuestCapacity | string |
Required String length: inclusive between 0 and 50 |
|
| IsCompleted | boolean |
None. |
|
| UserID | string |
Required |
|
| ActionTakenBy | string |
Required |
|
| IPAddress | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"AppEstablishmentID": 1,
"ApplicationID": "sample string 1",
"SectionID": 2,
"EstablishmentName": "sample string 3",
"OwnershipType": "sample string 4",
"EstablishmentFullPostalAddress": "sample string 5",
"EstablishmentDistrictID": 6,
"DistanceFromNearestShoppingCenterInKm": "sample string 7",
"EstablishmentContactNumber": "sample string 8",
"EstablishmentEmail": "sample string 9",
"EstablishmentWebsite": "sample string 10",
"WeatherOwnBuildingOrRented": true,
"LicenseFromExciseDepartment": true,
"TrainedStaffFromRecognizedInstitute": true,
"LicenseNumber": "sample string 14",
"LicenseDate": "2026-04-25T23:06:22.0375378+05:30",
"ProposedPricingStructure": "sample string 15",
"DateOfCommencement": "2026-04-25T23:06:22.0375378+05:30",
"GuestCapacity": "sample string 16",
"IsCompleted": true,
"UserID": "sample string 18",
"ActionTakenBy": "sample string 19",
"IPAddress": "sample string 20"
}
application/xml, text/xml
Sample:
<RestaurantEstablishmentPostDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.CustomApplicationModels"> <ActionTakenBy>sample string 19</ActionTakenBy> <AppEstablishmentID>1</AppEstablishmentID> <ApplicationID>sample string 1</ApplicationID> <DateOfCommencement>2026-04-25T23:06:22.0375378+05:30</DateOfCommencement> <DistanceFromNearestShoppingCenterInKm>sample string 7</DistanceFromNearestShoppingCenterInKm> <EstablishmentContactNumber>sample string 8</EstablishmentContactNumber> <EstablishmentDistrictID>6</EstablishmentDistrictID> <EstablishmentEmail>sample string 9</EstablishmentEmail> <EstablishmentFullPostalAddress>sample string 5</EstablishmentFullPostalAddress> <EstablishmentName>sample string 3</EstablishmentName> <EstablishmentWebsite>sample string 10</EstablishmentWebsite> <GuestCapacity>sample string 16</GuestCapacity> <IPAddress>sample string 20</IPAddress> <IsCompleted>true</IsCompleted> <LicenseDate>2026-04-25T23:06:22.0375378+05:30</LicenseDate> <LicenseFromExciseDepartment>true</LicenseFromExciseDepartment> <LicenseNumber>sample string 14</LicenseNumber> <OwnershipType>sample string 4</OwnershipType> <ProposedPricingStructure>sample string 15</ProposedPricingStructure> <SectionID>2</SectionID> <TrainedStaffFromRecognizedInstitute>true</TrainedStaffFromRecognizedInstitute> <UserID>sample string 18</UserID> <WeatherOwnBuildingOrRented>true</WeatherOwnBuildingOrRented> </RestaurantEstablishmentPostDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Data": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiResponseOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tourism.Entities.Models"> <Data>sample string 3</Data> <Message>sample string 2</Message> <Success>true</Success> </ApiResponseOfstring>