POST api/Location/CreateLocation
Request Information
URI Parameters
None.
Body Parameters
tbl_Location| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| UserID | integer |
None. |
|
| TanentID | integer |
None. |
|
| OrgID | integer |
None. |
|
| LocationName | string |
None. |
|
| LocationType | string |
None. |
|
| Parent_LocationID | integer |
None. |
|
| Billing | boolean |
None. |
|
| DisplayOrder | integer |
None. |
|
| sts | string |
None. |
|
| Edate | date |
None. |
|
| NextBillingDate | date |
None. |
|
| PriceTenure | string |
None. |
|
| RentStart | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"UserID": 1,
"TanentID": 1,
"OrgID": 2,
"LocationName": "sample string 3",
"LocationType": "sample string 4",
"Parent_LocationID": 1,
"Billing": true,
"DisplayOrder": 1,
"sts": "sample string 6",
"Edate": "2025-12-07T08:29:25.3401899+05:30",
"NextBillingDate": "2025-12-07T08:29:25.3401899+05:30",
"PriceTenure": "sample string 8",
"RentStart": "2025-12-07T08:29:25.3401899+05:30"
}
application/xml, text/xml
Sample:
<tbl_Location xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hostel.BAL.Domain"> <Billing>true</Billing> <DisplayOrder>1</DisplayOrder> <Edate>2025-12-07T08:29:25.3401899+05:30</Edate> <LocationName>sample string 3</LocationName> <LocationType>sample string 4</LocationType> <NextBillingDate>2025-12-07T08:29:25.3401899+05:30</NextBillingDate> <OrgID>2</OrgID> <Parent_LocationID>1</Parent_LocationID> <PriceTenure>sample string 8</PriceTenure> <RentStart>2025-12-07T08:29:25.3401899+05:30</RentStart> <TanentID>1</TanentID> <UserID>1</UserID> <id>1</id> <sts>sample string 6</sts> </tbl_Location>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |