PUT api/Advertisements?estId={estId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
estId | integer |
Required |
Body Parameters
AdvertisementName | 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. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Active": true, "Type": 2, "SortOrder": 1, "Metadata": [ { "Key": "sample string 1", "Value": "sample string 2", "DateModified": "2025-09-07T04:42:25.3877079+00:00" }, { "Key": "sample string 1", "Value": "sample string 2", "DateModified": "2025-09-07T04:42:25.3877079+00:00" } ], "ImageUrl": "sample string 3", "ImageId": 4, "Name": "sample string 5" }
application/xml, text/xml
Sample:
<Advertisement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Crafted.DTO"> <Active>true</Active> <Id>1</Id> <ImageId>4</ImageId> <ImageUrl>sample string 3</ImageUrl> <Metadata> <Metadata> <DateModified>2025-09-07T04:42:25.3877079+00:00</DateModified> <Key>sample string 1</Key> <Value>sample string 2</Value> </Metadata> <Metadata> <DateModified>2025-09-07T04:42:25.3877079+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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |