POST api/Notification/Save

Request Information

URI Parameters

None.

Body Parameters

NotificationViewModel
NameDescriptionTypeAdditional information
AccountId

string

None.

BuilderElement

BuilderElements

None.

Actions

Collection of ActionsSummaryViewModel

None.

SaveActionForFuture

boolean

None.

EnableTeamNotification

boolean

None.

ActionName

string

None.

Message

string

None.

Id

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

string

None.

UpdatedBy

string

None.

CreatedByUserId

string

None.

UpdatedByUserId

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": "sample string 1",
  "BuilderElement": "NA",
  "Actions": [
    {
      "Id": "sample string 1",
      "ActionCategory": "Type",
      "CategoryValue": "sample string 2",
      "CategoryLabel": "sample string 3",
      "CategoryId": "sample string 4",
      "ActionType": "Add",
      "CountryCode": "sample string 5",
      "CountryId": "sample string 6",
      "SendToContactAssignee": true
    },
    {
      "Id": "sample string 1",
      "ActionCategory": "Type",
      "CategoryValue": "sample string 2",
      "CategoryLabel": "sample string 3",
      "CategoryId": "sample string 4",
      "ActionType": "Add",
      "CountryCode": "sample string 5",
      "CountryId": "sample string 6",
      "SendToContactAssignee": true
    }
  ],
  "SaveActionForFuture": true,
  "EnableTeamNotification": true,
  "ActionName": "sample string 4",
  "Message": "sample string 5",
  "Id": "sample string 6",
  "CreatedDate": "2022-09-27T19:48:34.0407965+00:00",
  "UpdatedDate": "2022-09-27T19:48:34.0407965+00:00",
  "CreatedBy": "sample string 9",
  "UpdatedBy": "sample string 10",
  "CreatedByUserId": "sample string 11",
  "UpdatedByUserId": "sample string 12",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<NotificationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 9</CreatedBy>
  <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 11</CreatedByUserId>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2022-09-27T19:48:34.0407965+00:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 6</Id>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">true</IsDeleted>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 10</UpdatedBy>
  <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 12</UpdatedByUserId>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2022-09-27T19:48:34.0407965+00:00</UpdatedDate>
  <AccountId>sample string 1</AccountId>
  <ActionName>sample string 4</ActionName>
  <Actions xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.ElementDesign">
    <d2p1:ActionsSummaryViewModel>
      <d2p1:ActionCategory>Type</d2p1:ActionCategory>
      <d2p1:ActionType>Add</d2p1:ActionType>
      <d2p1:CategoryId>sample string 4</d2p1:CategoryId>
      <d2p1:CategoryLabel>sample string 3</d2p1:CategoryLabel>
      <d2p1:CategoryValue>sample string 2</d2p1:CategoryValue>
      <d2p1:CountryCode>sample string 5</d2p1:CountryCode>
      <d2p1:CountryId>sample string 6</d2p1:CountryId>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:SendToContactAssignee>true</d2p1:SendToContactAssignee>
    </d2p1:ActionsSummaryViewModel>
    <d2p1:ActionsSummaryViewModel>
      <d2p1:ActionCategory>Type</d2p1:ActionCategory>
      <d2p1:ActionType>Add</d2p1:ActionType>
      <d2p1:CategoryId>sample string 4</d2p1:CategoryId>
      <d2p1:CategoryLabel>sample string 3</d2p1:CategoryLabel>
      <d2p1:CategoryValue>sample string 2</d2p1:CategoryValue>
      <d2p1:CountryCode>sample string 5</d2p1:CountryCode>
      <d2p1:CountryId>sample string 6</d2p1:CountryId>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:SendToContactAssignee>true</d2p1:SendToContactAssignee>
    </d2p1:ActionsSummaryViewModel>
  </Actions>
  <BuilderElement>NA</BuilderElement>
  <EnableTeamNotification>true</EnableTeamNotification>
  <Message>sample string 5</Message>
  <SaveActionForFuture>true</SaveActionForFuture>
</NotificationViewModel>

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.