GET api/Advertisements?estId={estId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| estId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Advertisement| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Active | boolean |
None. |
|
| Type | integer |
None. |
|
| SortOrder | integer |
None. |
|
| Metadata | Collection of Metadata |
None. |
|
| ImageUrl | string |
None. |
|
| ImageId | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Active": true,
"Type": 2,
"SortOrder": 1,
"Metadata": [
{
"Key": "sample string 1",
"Value": "sample string 2",
"DateModified": "2026-02-04T02:44:55.0567342+00:00"
},
{
"Key": "sample string 1",
"Value": "sample string 2",
"DateModified": "2026-02-04T02:44:55.0567342+00:00"
}
],
"ImageUrl": "sample string 3",
"ImageId": 4,
"Name": "sample string 5"
},
{
"Id": 1,
"Active": true,
"Type": 2,
"SortOrder": 1,
"Metadata": [
{
"Key": "sample string 1",
"Value": "sample string 2",
"DateModified": "2026-02-04T02:44:55.0567342+00:00"
},
{
"Key": "sample string 1",
"Value": "sample string 2",
"DateModified": "2026-02-04T02:44:55.0567342+00:00"
}
],
"ImageUrl": "sample string 3",
"ImageId": 4,
"Name": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfAdvertisement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Crafted.DTO">
<Advertisement>
<Active>true</Active>
<Id>1</Id>
<ImageId>4</ImageId>
<ImageUrl>sample string 3</ImageUrl>
<Metadata>
<Metadata>
<DateModified>2026-02-04T02:44:55.0567342+00:00</DateModified>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</Metadata>
<Metadata>
<DateModified>2026-02-04T02:44:55.0567342+00:00</DateModified>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</Metadata>
</Metadata>
<Name>sample string 5</Name>
<SortOrder>1</SortOrder>
<Type>2</Type>
</Advertisement>
<Advertisement>
<Active>true</Active>
<Id>1</Id>
<ImageId>4</ImageId>
<ImageUrl>sample string 3</ImageUrl>
<Metadata>
<Metadata>
<DateModified>2026-02-04T02:44:55.0567342+00:00</DateModified>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</Metadata>
<Metadata>
<DateModified>2026-02-04T02:44:55.0567342+00:00</DateModified>
<Key>sample string 1</Key>
<Value>sample string 2</Value>
</Metadata>
</Metadata>
<Name>sample string 5</Name>
<SortOrder>1</SortOrder>
<Type>2</Type>
</Advertisement>
</ArrayOfAdvertisement>