POST api/v1/mkactions

Request Information

URI Parameters

None.

Body Parameters

MkActionDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Code

string

None.

Title

string

None.

Description

string

None.

BeginDate

date

None.

EndDate

date

None.

IsDraft

boolean

None.

UrlImage

string

None.

ImageBase64

string

None.

MkActionCategoryCode

string

None.

MkActionCategoryName

string

None.

CampaignCode

string

None.

CreationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "59e8ace9-0545-4f40-80c5-c8ed551f4e4e",
  "code": "sample string 1",
  "title": "sample string 2",
  "description": "sample string 3",
  "beginDate": "2025-08-31T02:10:26.9882518+00:00",
  "endDate": "2025-08-31T02:10:26.9882518+00:00",
  "isDraft": true,
  "urlImage": "sample string 5",
  "imageBase64": "sample string 6",
  "mkActionCategoryCode": "sample string 7",
  "mkActionCategoryName": "sample string 8",
  "campaignCode": "sample string 9",
  "creationDate": "2025-08-31T02:10:26.9882518+00:00"
}

application/xml, text/xml

Sample:
<MkActionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <BeginDate>2025-08-31T02:10:26.9882518+00:00</BeginDate>
  <CampaignCode>sample string 9</CampaignCode>
  <Code>sample string 1</Code>
  <CreationDate>2025-08-31T02:10:26.9882518+00:00</CreationDate>
  <Description>sample string 3</Description>
  <EndDate>2025-08-31T02:10:26.9882518+00:00</EndDate>
  <Id>59e8ace9-0545-4f40-80c5-c8ed551f4e4e</Id>
  <ImageBase64>sample string 6</ImageBase64>
  <IsDraft>true</IsDraft>
  <MkActionCategoryCode>sample string 7</MkActionCategoryCode>
  <MkActionCategoryName>sample string 8</MkActionCategoryName>
  <Title>sample string 2</Title>
  <UrlImage>sample string 5</UrlImage>
</MkActionDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.