POST api/PromotionActivity/CreateV2

创建推广活动

Request Information

URI Parameters

None.

Body Parameters

CreatePromotionAcitivtyDto
NameDescriptionTypeAdditional information
ActivityType

string

None.

CustomerID

globally unique identifier

None.

CustomerName

string

None.

ActivityDate

date

None.

AccountID

globally unique identifier

None.

PersonID

globally unique identifier

None.

PersonName

string

None.

Remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ActivityType": "sample string 1",
  "CustomerID": "2acf21be-19b2-4d3e-be8b-d372945843b0",
  "CustomerName": "sample string 2",
  "ActivityDate": "2025-06-23 21:17:50",
  "AccountID": "1beea979-a541-4546-9abd-7e7f8ae9e720",
  "PersonID": "900886e7-ad43-4afe-a092-e3070c7c5b2d",
  "PersonName": "sample string 6",
  "Remark": "sample string 7"
}

application/xml, text/xml

Sample:
<CreatePromotionAcitivtyDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Entity">
  <AccountID>1beea979-a541-4546-9abd-7e7f8ae9e720</AccountID>
  <ActivityDate>2025-06-23T21:17:50.1621593+08:00</ActivityDate>
  <ActivityType>sample string 1</ActivityType>
  <CustomerID>2acf21be-19b2-4d3e-be8b-d372945843b0</CustomerID>
  <CustomerName>sample string 2</CustomerName>
  <PersonID>900886e7-ad43-4afe-a092-e3070c7c5b2d</PersonID>
  <PersonName>sample string 6</PersonName>
  <Remark>sample string 7</Remark>
</CreatePromotionAcitivtyDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResultModelOfBoolean
NameDescriptionTypeAdditional information
Code

ReturnCode

None.

Message

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 200,
  "Message": "sample string 1",
  "Data": true
}

application/xml, text/xml

Sample:
<ResultModelOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JT.VSFA.Utility">
  <Code>Success</Code>
  <Data>true</Data>
  <Message>sample string 1</Message>
</ResultModelOfboolean>