GET example/api/MailRecipientProperty
https://app.bwz.se/bedrock/example/api/MailRecipientProperty
Gets all MailRecipientPropertyModels.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
An array of MailRecipientPropertyModels.
Collection of 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 }, { "Name": "sample string 1", "IsUnique": true, "MailRecipientPropertyId": 3, "MailRecipientPropertyPossibilities": [ "sample string 1", "sample string 2" ], "MailRecipientPropertyType": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfMailRecipientPropertyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailRecipientProperty"> <MailRecipientPropertyModel> <IsUnique>true</IsUnique> <MailRecipientPropertyId>3</MailRecipientPropertyId> <MailRecipientPropertyPossibilities xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </MailRecipientPropertyPossibilities> <MailRecipientPropertyType>TEXT</MailRecipientPropertyType> <Name>sample string 1</Name> </MailRecipientPropertyModel> <MailRecipientPropertyModel> <IsUnique>true</IsUnique> <MailRecipientPropertyId>3</MailRecipientPropertyId> <MailRecipientPropertyPossibilities xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </MailRecipientPropertyPossibilities> <MailRecipientPropertyType>TEXT</MailRecipientPropertyType> <Name>sample string 1</Name> </MailRecipientPropertyModel> </ArrayOfMailRecipientPropertyModel>