POST api/Notify/SaveNotificationSocialMessage
Request Information
URI Parameters
None.
Body Parameters
SocialNetworkWebhookSendNotifyModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SocialNetworkChatBoxMessage | SocialNetworkChatBoxRecentModel |
None. |
|
| SocialNetworkChatBoxMessageHistory | SocialNetworkChatBoxMessageHistoryModel |
None. |
|
| ListUserPICId | string |
None. |
|
| TypeShareData | string |
None. |
|
| CenterId | integer |
None. |
|
| Type | integer |
None. |
|
| TypeObject | string |
None. |
|
| TypeNotify | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"SocialNetworkChatBoxMessage": {
"Id": 1,
"MongoID": "sample string 2",
"SocialNetWorkId": 1,
"ObjectSocialNetWorkId": "sample string 3",
"FanpageId": "sample string 4",
"UserSocialId": "sample string 5",
"LeadId": 1,
"Name": "sample string 6",
"SearchMessage": "sample string 7",
"Code": "sample string 8",
"Phone": "sample string 9",
"Email": "sample string 10",
"Avatar": "sample string 11",
"Address": "sample string 12",
"SocialNetworkAvatar": "sample string 13",
"TotalUser": 14,
"SocialAccountId": "sample string 15",
"SocialAccountName": "sample string 16",
"SocialNetworkType": "sample string 17",
"SocialNetworkName": "sample string 18",
"LastMessage": "sample string 19",
"LastTypeMessage": "sample string 20",
"LastDateSend": "2026-06-13T22:43:23.1635427+07:00",
"IsFavourite": true,
"IsBlock": true,
"IsSeen": true,
"IsReceived": true,
"Sex": true,
"NumberNewMessage": 1,
"IsNewMessage": true,
"ArrLabel": [
{
"MongoID": "sample string 1",
"Id": 2,
"LabelCode": "sample string 3",
"LabelName": "sample string 4",
"LabelColor": "sample string 5",
"LabelTypeId": 1,
"ObjectSocialNetworkId": "sample string 6",
"FanpageName": "sample string 7",
"IsUsed": true,
"CreateDate": "2026-06-13T22:43:23.1645433+07:00",
"CreateUser": "sample string 8",
"CreateUserId": 1,
"Status": "sample string 9",
"TotalRow": 1
},
{
"MongoID": "sample string 1",
"Id": 2,
"LabelCode": "sample string 3",
"LabelName": "sample string 4",
"LabelColor": "sample string 5",
"LabelTypeId": 1,
"ObjectSocialNetworkId": "sample string 6",
"FanpageName": "sample string 7",
"IsUsed": true,
"CreateDate": "2026-06-13T22:43:23.1645433+07:00",
"CreateUser": "sample string 8",
"CreateUserId": 1,
"Status": "sample string 9",
"TotalRow": 1
}
],
"FirstLetter": "1",
"UserOAId": 1,
"LevelOfNeedId": 1,
"GroupCourseId": 1,
"DateReSeen": "2026-06-13T22:43:23.1645433+07:00",
"DateAgentConfirmInteract": "2026-06-13T22:43:23.1645433+07:00",
"TurnInteract": "sample string 21",
"IsChangeTurnInteract": true
},
"SocialNetworkChatBoxMessageHistory": {
"MongoID": "sample string 1",
"Id": 2,
"MessagesGroupId": 1,
"ObjectMessagesGroupId": "sample string 3",
"UserFromId": "sample string 4",
"SocialAccountId": "sample string 5",
"SendDate": "2026-06-13T22:43:23.1645433+07:00",
"SendDateFormat": "sample string 6",
"Content": "sample string 7",
"Image": "sample string 8",
"ImageURL": "sample string 9",
"File": "sample string 10",
"FileSender": {
"FileName": "sample string 1",
"FileExtention": "sample string 2",
"FileUrl": "sample string 3",
"FileSize": 4.1,
"FileSizeName": "sample string 5",
"CreateDate": "sample string 6"
},
"Token": "sample string 11",
"CenterId": 1,
"MessagesSocialId": "sample string 12",
"IsSeen": true,
"IsSuccess": true,
"Video": "sample string 13",
"TypeMessage": "sample string 14",
"CheckMessageId": "sample string 15",
"StatusSendSuccess": "sample string 16",
"AvatarFormRequestInfo": "sample string 17",
"HasPhone": "",
"HasEmail": "",
"MessageResult": "sample string 18",
"SocialNotifyDetailModel": {
"MongoID": "sample string 1",
"SocialNotifyTemplateId": "sample string 2",
"Content": "sample string 3",
"Name": "sample string 4",
"Type": "sample string 5",
"ArrButton": [
{
"MongoID": "sample string 1",
"TypeAction": "sample string 2",
"Content": "sample string 3",
"Name": "sample string 4",
"Phone": "sample string 5"
},
{
"MongoID": "sample string 1",
"TypeAction": "sample string 2",
"Content": "sample string 3",
"Name": "sample string 4",
"Phone": "sample string 5"
}
],
"ArrFile": "sample string 6",
"ArrFileVideo": "sample string 7",
"TypeFile": "sample string 8",
"TypeTemplate": "sample string 9",
"SocialNetworkType": "sample string 10",
"ObjectSocialNetworkId": "sample string 11"
},
"CreateUser": "sample string 19",
"Source": "sample string 20",
"AdTitle": "sample string 21",
"PostId": "sample string 22",
"ProductId": "sample string 23",
"IsReceived": true
},
"ListUserPICId": "sample string 1",
"TypeShareData": "sample string 2",
"CenterId": 3,
"Type": 4,
"TypeObject": "sample string 5",
"TypeNotify": "sample string 6"
}
application/xml, text/xml
Sample:
<ZaloModel.SocialNetworkWebhookSendNotifyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
<CenterId>3</CenterId>
<ListUserPICId>sample string 1</ListUserPICId>
<SocialNetworkChatBoxMessage>
<Address>sample string 12</Address>
<ArrLabel>
<SocialNetworkLabelModel>
<CreateDate>2026-06-13T22:43:23.1645433+07:00</CreateDate>
<CreateUser>sample string 8</CreateUser>
<CreateUserId>1</CreateUserId>
<FanpageName>sample string 7</FanpageName>
<Id>2</Id>
<IsUsed>true</IsUsed>
<LabelCode>sample string 3</LabelCode>
<LabelColor>sample string 5</LabelColor>
<LabelName>sample string 4</LabelName>
<LabelTypeId>1</LabelTypeId>
<MongoID>sample string 1</MongoID>
<ObjectSocialNetworkId>sample string 6</ObjectSocialNetworkId>
<Status>sample string 9</Status>
<TotalRow>1</TotalRow>
</SocialNetworkLabelModel>
<SocialNetworkLabelModel>
<CreateDate>2026-06-13T22:43:23.1645433+07:00</CreateDate>
<CreateUser>sample string 8</CreateUser>
<CreateUserId>1</CreateUserId>
<FanpageName>sample string 7</FanpageName>
<Id>2</Id>
<IsUsed>true</IsUsed>
<LabelCode>sample string 3</LabelCode>
<LabelColor>sample string 5</LabelColor>
<LabelName>sample string 4</LabelName>
<LabelTypeId>1</LabelTypeId>
<MongoID>sample string 1</MongoID>
<ObjectSocialNetworkId>sample string 6</ObjectSocialNetworkId>
<Status>sample string 9</Status>
<TotalRow>1</TotalRow>
</SocialNetworkLabelModel>
</ArrLabel>
<Avatar>sample string 11</Avatar>
<Code>sample string 8</Code>
<DateAgentConfirmInteract>2026-06-13T22:43:23.1645433+07:00</DateAgentConfirmInteract>
<DateReSeen>2026-06-13T22:43:23.1645433+07:00</DateReSeen>
<Email>sample string 10</Email>
<FanpageId>sample string 4</FanpageId>
<GroupCourseId>1</GroupCourseId>
<Id>1</Id>
<IsBlock>true</IsBlock>
<IsChangeTurnInteract>true</IsChangeTurnInteract>
<IsFavourite>true</IsFavourite>
<IsReceived>true</IsReceived>
<IsSeen>true</IsSeen>
<LastDateSend>2026-06-13T22:43:23.1635427+07:00</LastDateSend>
<LastMessage>sample string 19</LastMessage>
<LastTypeMessage>sample string 20</LastTypeMessage>
<LeadId>1</LeadId>
<LevelOfNeedId>1</LevelOfNeedId>
<MongoID>sample string 2</MongoID>
<Name>sample string 6</Name>
<NumberNewMessage>1</NumberNewMessage>
<ObjectSocialNetWorkId>sample string 3</ObjectSocialNetWorkId>
<Phone>sample string 9</Phone>
<SearchMessage>sample string 7</SearchMessage>
<Sex>true</Sex>
<SocialAccountId>sample string 15</SocialAccountId>
<SocialAccountName>sample string 16</SocialAccountName>
<SocialNetWorkId>1</SocialNetWorkId>
<SocialNetworkAvatar>sample string 13</SocialNetworkAvatar>
<SocialNetworkName>sample string 18</SocialNetworkName>
<SocialNetworkType>sample string 17</SocialNetworkType>
<TotalUser>14</TotalUser>
<TurnInteract>sample string 21</TurnInteract>
<UserOAId>1</UserOAId>
<UserSocialId>sample string 5</UserSocialId>
</SocialNetworkChatBoxMessage>
<SocialNetworkChatBoxMessageHistory>
<AdTitle>sample string 21</AdTitle>
<AvatarFormRequestInfo>sample string 17</AvatarFormRequestInfo>
<CenterId>1</CenterId>
<CheckMessageId>sample string 15</CheckMessageId>
<Content>sample string 7</Content>
<CreateUser>sample string 19</CreateUser>
<File>sample string 10</File>
<FileSender>
<CreateDate>sample string 6</CreateDate>
<FileExtention>sample string 2</FileExtention>
<FileName>sample string 1</FileName>
<FileSize>4.1</FileSize>
<FileSizeName>sample string 5</FileSizeName>
<FileUrl>sample string 3</FileUrl>
</FileSender>
<Id>2</Id>
<Image>sample string 8</Image>
<ImageURL>sample string 9</ImageURL>
<IsReceived>true</IsReceived>
<IsSeen>true</IsSeen>
<IsSuccess>true</IsSuccess>
<MessageResult>sample string 18</MessageResult>
<MessagesGroupId>1</MessagesGroupId>
<MessagesSocialId>sample string 12</MessagesSocialId>
<MongoID>sample string 1</MongoID>
<ObjectMessagesGroupId>sample string 3</ObjectMessagesGroupId>
<PostId>sample string 22</PostId>
<ProductId>sample string 23</ProductId>
<SendDate>2026-06-13T22:43:23.1645433+07:00</SendDate>
<SendDateFormat>sample string 6</SendDateFormat>
<SocialAccountId>sample string 5</SocialAccountId>
<SocialNotifyDetailModel>
<ArrButton>
<ArrButton>
<Content>sample string 3</Content>
<MongoID>sample string 1</MongoID>
<Name>sample string 4</Name>
<Phone>sample string 5</Phone>
<TypeAction>sample string 2</TypeAction>
</ArrButton>
<ArrButton>
<Content>sample string 3</Content>
<MongoID>sample string 1</MongoID>
<Name>sample string 4</Name>
<Phone>sample string 5</Phone>
<TypeAction>sample string 2</TypeAction>
</ArrButton>
</ArrButton>
<ArrFile>sample string 6</ArrFile>
<ArrFileVideo>sample string 7</ArrFileVideo>
<Content>sample string 3</Content>
<MongoID>sample string 1</MongoID>
<Name>sample string 4</Name>
<ObjectSocialNetworkId>sample string 11</ObjectSocialNetworkId>
<SocialNetworkType>sample string 10</SocialNetworkType>
<SocialNotifyTemplateId>sample string 2</SocialNotifyTemplateId>
<Type>sample string 5</Type>
<TypeFile>sample string 8</TypeFile>
<TypeTemplate>sample string 9</TypeTemplate>
</SocialNotifyDetailModel>
<Source>sample string 20</Source>
<StatusSendSuccess>sample string 16</StatusSendSuccess>
<Token>sample string 11</Token>
<TypeMessage>sample string 14</TypeMessage>
<UserFromId>sample string 4</UserFromId>
<Video>sample string 13</Video>
</SocialNetworkChatBoxMessageHistory>
<Type>4</Type>
<TypeNotify>sample string 6</TypeNotify>
<TypeObject>sample string 5</TypeObject>
<TypeShareData>sample string 2</TypeShareData>
</ZaloModel.SocialNetworkWebhookSendNotifyModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />