POST api/trailercampaign
Request Information
URI Parameters
None.
Body Parameters
TrailerCampaign| Name | Description | Type | Additional information |
|---|---|---|---|
| TrailerId | integer |
None. |
|
| CampaignEngineId | integer |
None. |
|
| CampaignPrice | integer |
None. |
|
| DateCreated | date |
None. |
|
| Duration | string |
None. |
|
| IsActive | boolean |
None. |
|
| ListPrice | integer |
None. |
|
| MainText | string |
None. |
|
| ModelYear | integer |
None. |
|
| OrderBy | integer |
None. |
|
| ToBlocket | boolean |
None. |
|
| Title | string |
None. |
|
| SokBatMDR | boolean |
None. |
|
| SokBatSKM | boolean |
None. |
|
| SokBatMDD | boolean |
None. |
|
| SokBatMDO | boolean |
None. |
|
| SokBatMDN | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"TrailerId": 1,
"CampaignEngineId": 2,
"CampaignPrice": 3,
"DateCreated": "2025-12-08T20:02:38.4254005+00:00",
"Duration": "sample string 5",
"IsActive": true,
"ListPrice": 7,
"MainText": "sample string 8",
"ModelYear": 1,
"OrderBy": 9,
"ToBlocket": true,
"Title": "sample string 11",
"SokBatMDR": true,
"SokBatSKM": true,
"SokBatMDD": true,
"SokBatMDO": true,
"SokBatMDN": true
}
application/xml, text/xml
Sample:
<TrailerCampaign xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdmApi.Marindepan2015.Models"> <CampaignEngineId>2</CampaignEngineId> <CampaignPrice>3</CampaignPrice> <DateCreated>2025-12-08T20:02:38.4254005+00:00</DateCreated> <Duration>sample string 5</Duration> <IsActive>true</IsActive> <ListPrice>7</ListPrice> <MainText>sample string 8</MainText> <ModelYear>1</ModelYear> <OrderBy>9</OrderBy> <SokBatMDD>true</SokBatMDD> <SokBatMDN>true</SokBatMDN> <SokBatMDO>true</SokBatMDO> <SokBatMDR>true</SokBatMDR> <SokBatSKM>true</SokBatSKM> <Title>sample string 11</Title> <ToBlocket>true</ToBlocket> <TrailerId>1</TrailerId> </TrailerCampaign>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.