GET api/Campaigns/Detail?id={id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CampaignDetailModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Title | string |
None. |
|
| ProjectId | integer |
None. |
|
| DateStart | date |
None. |
|
| DateEnd | date |
None. |
|
| Description | string |
None. |
|
| IsActive | boolean |
None. |
|
| DateActive | date |
None. |
|
| IsSendMail | boolean |
None. |
|
| MailId | globally unique identifier |
None. |
|
| ContentMail | string |
None. |
|
| IsSendSMS | boolean |
None. |
|
| SMSId | globally unique identifier |
None. |
|
| ContentSMS | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "2ccd016a-a64d-4120-80c3-da8952b77a9c",
"title": "sample string 2",
"projectId": 3,
"dateStart": "2026-08-27T13:16:01.3890759+07:00",
"dateEnd": "2026-08-27T13:16:01.3890759+07:00",
"description": "sample string 4",
"isActive": true,
"dateActive": "2026-08-27T13:16:01.3890759+07:00",
"isSendMail": true,
"mailId": "b0938187-d960-488b-abe5-d8e42d39a1ad",
"contentMail": "sample string 7",
"isSendSMS": true,
"smsId": "e870302d-ee75-4846-964c-2dc21640a16f",
"contentSMS": "sample string 9"
}
application/xml, text/xml
Sample:
<CampaignDetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Campaign"> <ContentMail>sample string 7</ContentMail> <ContentSMS>sample string 9</ContentSMS> <DateActive>2026-08-27T13:16:01.3890759+07:00</DateActive> <DateEnd>2026-08-27T13:16:01.3890759+07:00</DateEnd> <DateStart>2026-08-27T13:16:01.3890759+07:00</DateStart> <Description>sample string 4</Description> <Id>2ccd016a-a64d-4120-80c3-da8952b77a9c</Id> <IsActive>true</IsActive> <IsSendMail>true</IsSendMail> <IsSendSMS>true</IsSendSMS> <MailId>b0938187-d960-488b-abe5-d8e42d39a1ad</MailId> <ProjectId>3</ProjectId> <SMSId>e870302d-ee75-4846-964c-2dc21640a16f</SMSId> <Title>sample string 2</Title> </CampaignDetailModel>