PUT api/SocialCampaign/{id}?UserTimeZoneID={UserTimeZoneID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| UserTimeZoneID | string |
Required |
Body Parameters
SocialCampaign| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CustomerCode | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| IsForAd | boolean |
None. |
|
| SendDate | date |
None. |
|
| ExpiryDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedByName | string |
None. |
|
| CreateDate | date |
None. |
|
| Status | integer |
None. |
|
| LastModifiedBy | integer |
None. |
|
| LastModifiedByName | string |
None. |
|
| LastModifiedOn | date |
None. |
|
| SubmittedBy | integer |
None. |
|
| SubmittedByName | string |
None. |
|
| SubmittedOn | date |
None. |
|
| IsSubmitted | boolean |
None. |
|
| JobStatusID | integer |
None. |
|
| IsDeleted | integer |
None. |
|
| Weather | boolean |
None. |
|
| JobStatus | JobStatus |
None. |
|
| HasAudience | boolean |
None. |
|
| HasDynamicFields | boolean |
None. |
|
| UsedAI | boolean |
None. |
|
| SocialCampaignApprovalHistories | Collection of SocialCampaignApprovalHistory |
None. |
|
| ApprovalHistoryMessage | string |
None. |
|
| ErrorNotificationSent | boolean |
None. |
|
| FirstComment | string |
None. |
|
| SocialCampaignFirstCommentAttachments | Collection of SocialCampaignFirstCommentAttachments |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"CustomerCode": "sample string 2",
"Name": "sample string 3",
"Description": "sample string 4",
"IsForAd": true,
"SendDate": "17/12/2025 05:40",
"ExpiryDate": "17/12/2025 05:40",
"CreatedBy": 6,
"CreatedByName": "sample string 7",
"CreateDate": "17/12/2025 05:40",
"Status": 8,
"LastModifiedBy": 9,
"LastModifiedByName": "sample string 10",
"LastModifiedOn": "17/12/2025 05:40",
"SubmittedBy": 11,
"SubmittedByName": "sample string 12",
"SubmittedOn": "17/12/2025 05:40",
"IsSubmitted": true,
"JobStatusID": 14,
"IsDeleted": 15,
"Weather": true,
"JobStatus": {
"ID": 1,
"Name": "sample string 2",
"Description": "sample string 3"
},
"HasAudience": true,
"HasDynamicFields": true,
"UsedAI": true,
"SocialCampaignApprovalHistories": [
{
"ID": 1,
"SocialCampaignID": 2,
"StatusID": 3,
"UserID": 4,
"UserName": "sample string 5",
"URD": "17/12/2025 05:40",
"Message": "sample string 7"
},
{
"ID": 1,
"SocialCampaignID": 2,
"StatusID": 3,
"UserID": 4,
"UserName": "sample string 5",
"URD": "17/12/2025 05:40",
"Message": "sample string 7"
}
],
"ApprovalHistoryMessage": "sample string 19",
"ErrorNotificationSent": true,
"FirstComment": "sample string 20",
"SocialCampaignFirstCommentAttachments": [
{
"ID": 1,
"SocialCampaignID": 2,
"link": "sample string 3",
"url": "sample string 4",
"thumbnails": "sample string 5",
"name": "sample string 6",
"description": "sample string 7",
"hash_onadaccount": "sample string 8",
"social_media_id_onadaccount": "sample string 9",
"google_attachement_type": "sample string 10",
"call_to_action_Type": "sample string 11",
"MediaItemTypeID": 12,
"MediaItemType": {
"ID": 1,
"Name": "sample string 2"
},
"extension": "sample string 13",
"width": 1.1,
"height": 1.1,
"duration": 1,
"size": 1,
"assetid": 1
},
{
"ID": 1,
"SocialCampaignID": 2,
"link": "sample string 3",
"url": "sample string 4",
"thumbnails": "sample string 5",
"name": "sample string 6",
"description": "sample string 7",
"hash_onadaccount": "sample string 8",
"social_media_id_onadaccount": "sample string 9",
"google_attachement_type": "sample string 10",
"call_to_action_Type": "sample string 11",
"MediaItemTypeID": 12,
"MediaItemType": {
"ID": 1,
"Name": "sample string 2"
},
"extension": "sample string 13",
"width": 1.1,
"height": 1.1,
"duration": 1,
"size": 1,
"assetid": 1
}
]
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.