POST example/api/mailrecipientproperty/createcheckboxmailrecipientproperty
https://app.bwz.se/bedrock/example/api/mailrecipientproperty/createcheckboxmailrecipientproperty
Creates a MailRecipientProperty of type Checkboxes (recipient can have multiple values from multiple possibilities).
Request Information
URI Parameters
None.
Body Parameters
Name of the MailRecipientProperty.
CreateMailRecipientPropertyArgsName | Description | Type | Additional information |
---|---|---|---|
Name |
Name of the MailRecipientProperty. |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Name": "sample string 1" }
application/xml, text/xml
Sample:
<CreateMailRecipientPropertyArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailRecipientProperty"> <Name>sample string 1</Name> </CreateMailRecipientPropertyArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The created MailRecipientPropertyModel.
MailRecipientPropertyModelName | Description | Type | Additional information |
---|---|---|---|
Name |
Gets or sets the name. |
string |
None. |
IsUnique |
Indicates wether the MailRecipientProperty is the unique property for the BizWizard installation. |
boolean |
None. |
MailRecipientPropertyId |
Gets or sets the mail recipient property identifier. |
integer |
None. |
MailRecipientPropertyPossibilities |
Gets or sets the mail recipient property possibilities. |
Collection of string |
None. |
MailRecipientPropertyType |
Gets or sets the type of the mail recipient property. |
RecipientPropertyType |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "IsUnique": true, "MailRecipientPropertyId": 3, "MailRecipientPropertyPossibilities": [ "sample string 1", "sample string 2" ], "MailRecipientPropertyType": 1 }
application/xml, text/xml
Sample:
<MailRecipientPropertyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailRecipientProperty"> <IsUnique>true</IsUnique> <MailRecipientPropertyId>3</MailRecipientPropertyId> <MailRecipientPropertyPossibilities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </MailRecipientPropertyPossibilities> <MailRecipientPropertyType>TEXT</MailRecipientPropertyType> <Name>sample string 1</Name> </MailRecipientPropertyModel>