GET Advertisements/GetAvailability?advId={advId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| advId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AvailabilityModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| advId | integer |
None. |
|
| type | integer |
None. |
|
| start_date | date |
None. |
|
| end_date | date |
None. |
|
| is_available | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"advId": 2,
"type": 3,
"start_date": "2025-11-08T13:18:36.3148586+03:00",
"end_date": "2025-11-08T13:18:36.3148586+03:00",
"is_available": true
}
application/xml, text/xml
Sample:
<AdvertisementsController.AvailabilityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentekerAPIProject.Controllers"> <advId>2</advId> <end_date>2025-11-08T13:18:36.3148586+03:00</end_date> <id>1</id> <is_available>true</is_available> <start_date>2025-11-08T13:18:36.3148586+03:00</start_date> <type>3</type> </AdvertisementsController.AvailabilityModel>