POST api/Subscription/CreateSubscription
Request Information
URI Parameters
None.
Body Parameters
tbl_LocationSubscription| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| LocationID | integer |
None. |
|
| TanentID | integer |
None. |
|
| RentPrice | decimal number |
None. |
|
| PriceTenure | string |
None. |
|
| RentStart | date |
None. |
|
| UpcommingRent | date |
None. |
|
| sts | string |
None. |
|
| Edate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"LocationID": 2,
"TanentID": 3,
"RentPrice": 4.0,
"PriceTenure": "sample string 5",
"RentStart": "2025-12-07T08:28:13.2844772+05:30",
"UpcommingRent": "2025-12-07T08:28:13.2844772+05:30",
"sts": "sample string 8",
"Edate": "2025-12-07T08:28:13.2844772+05:30"
}
application/xml, text/xml
Sample:
<tbl_LocationSubscription xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hostel.BAL.Domain"> <Edate>2025-12-07T08:28:13.2844772+05:30</Edate> <LocationID>2</LocationID> <PriceTenure>sample string 5</PriceTenure> <RentPrice>4</RentPrice> <RentStart>2025-12-07T08:28:13.2844772+05:30</RentStart> <TanentID>3</TanentID> <UpcommingRent>2025-12-07T08:28:13.2844772+05:30</UpcommingRent> <id>1</id> <sts>sample string 8</sts> </tbl_LocationSubscription>
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. |