Class ConsentInfo
Consent information for a give person. Consents are for a particular Purpose, and may be withdrawn (see LegalBase).
Carrier object for ConsentInfo. Services for the ConsentInfo Carrier is available from the Person Agent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class ConsentInfo : Carrier
Constructors
ConsentInfo()
Default constructor
Declaration
public ConsentInfo()
See Also
Properties
Comment
Comment regarding this specific consent
Declaration
[DataMember]
public virtual string Comment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
ConsentPersonId
Primary key
Declaration
[DataMember]
public virtual int ConsentPersonId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
ConsentPurposeId
Primary key for the ConsentPurpose associated with this consent
Declaration
[DataMember]
public virtual int ConsentPurposeId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
ConsentPurposeKey
Key of the ConsentPurpose associated with this consent
Declaration
[DataMember]
public virtual string ConsentPurposeKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
ConsentPurposeName
Name of the ConsentPurpose associated with this consent
Declaration
[DataMember]
public virtual string ConsentPurposeName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
ConsentSourceId
Primary key for the ConsentSource associated with this consent
Declaration
[DataMember]
public virtual int ConsentSourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
ConsentSourceKey
Key of the ConsentSource associated with this consent
Declaration
[DataMember]
public virtual string ConsentSourceKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
ConsentSourceName
Name of the ConsentSource associated with this consent
Declaration
[DataMember]
public virtual string ConsentSourceName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
LegalBaseId
Primary key for the LegalBase associated with this consent
Declaration
[DataMember]
public virtual int LegalBaseId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
LegalBaseKey
Key for the LegalBase associated with this consent
Declaration
[DataMember]
public virtual string LegalBaseKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
LegalBaseName
Name of the LegalBase associated with this consent
Declaration
[DataMember]
public virtual string LegalBaseName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Registered
When this consent record was created in UTC.
Declaration
[DataMember]
public virtual DateTime Registered { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
See Also
RegisteredAssociateId
The ID of the associate who created this record
Declaration
[DataMember]
public virtual int RegisteredAssociateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
Updated
When this consent record was last updated in UTC.
Declaration
[DataMember]
public virtual DateTime Updated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
See Also
UpdatedAssociateId
The ID of the associate who last updated this record
Declaration
[DataMember]
public virtual int UpdatedAssociateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix | The line prefix (typically used for indenting) |
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |