Class ShipmentMessageBlockEntity
This entity contains information about design blocks that can be used in a shipment/mailing message
Carrier object for ShipmentMessageBlockEntity. Services for the ShipmentMessageBlockEntity Carrier is available from the Marketing Agent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.6.0.0")]
public class ShipmentMessageBlockEntity : Carrier
Examples
Get ShipmentMessageBlockEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new MarketingAgent();
var shipmentMessageBlockEntity = agent.GetShipmentMessageBlockEntity( 123 );
}
Constructors
ShipmentMessageBlockEntity()
Default constructor
Declaration
public ShipmentMessageBlockEntity()
See Also
Properties
AssociateId
The associate that owns this block
Declaration
[DataMember]
public virtual int AssociateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
Block
The block definition. Normally this will be a json structure
Declaration
[DataMember]
public virtual string Block { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Registered
Registered when in UTC.
Declaration
[DataMember]
public virtual DateTime Registered { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
See Also
RegisteredAssociateId
Registered by whom
Declaration
[DataMember]
public virtual int RegisteredAssociateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
ShipmentMessageBlockId
Primary key
Declaration
[DataMember]
public virtual int ShipmentMessageBlockId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
Updated
Last updated when in UTC.
Declaration
[DataMember]
public virtual DateTime Updated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
See Also
UpdatedAssociateId
Last updated by whom
Declaration
[DataMember]
public virtual int UpdatedAssociateId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
UpdatedCount
Number of updates made to this record
Declaration
[DataMember]
public virtual short UpdatedCount { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
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. |