POST example/api/mailrecipientpropertypossibility
https://app.bwz.se/bedrock/example/api/mailrecipientpropertypossibility
Creates a MailRecipientPropertyPossibility.
Request Information
URI Parameters
None.
Body Parameters
Id of the MailRecipientProperty the MailRecipientPropertyPossibility is related to.
CreateMailRecipientPropertyPossibilityArgsName | Description | Type | Additional information |
---|---|---|---|
Value |
Value of the MailRecipientPropertyPossibility. |
string |
Required |
MailRecipientPropertyId |
Id of the MailRecipientProperty the MailRecipientPropertyPossibility is related to. |
integer |
Required |
Request Formats
application/json, text/json
{ "Value": "sample string 1", "MailRecipientPropertyId": 2 }
application/xml, text/xml
<CreateMailRecipientPropertyPossibilityArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailRecipientProperty"> <MailRecipientPropertyId>2</MailRecipientPropertyId> <Value>sample string 1</Value> </CreateMailRecipientPropertyPossibilityArgs>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
The created MailRecipientPropertyPossibility.
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
{ "Name": "sample string 1", "IsUnique": true, "MailRecipientPropertyId": 3, "MailRecipientPropertyPossibilities": [ "sample string 1", "sample string 2" ], "MailRecipientPropertyType": 1 }
application/xml, text/xml
<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>