Show / Hide Table of Contents

Class HistoryRequest

Specification for a request for history information, by id. It is possible to ask for rights for a new record (insert), but then you need to supply the parent ID for entities that have parents (projectmember, selectionmember, person)

Carrier object for HistoryRequest. Services for the HistoryRequest Carrier is available from the ViewState Agent.
Inheritance
object
HistoryRequest
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.1.0.0")]
public class HistoryRequest : Carrier

Constructors

HistoryRequest()

Default constructor

Declaration
public HistoryRequest()
See Also
IViewStateAgent

Properties

EntityName

Name of entity to get history for

Declaration
[DataMember]
public virtual string EntityName { get; set; }
Property Value
Type Description
string
See Also
IViewStateAgent

EntityOrParentId

ID of entity to get history for, or parent entity id if requesting insert rights for an entity that has a parent

Declaration
[DataMember]
public virtual int EntityOrParentId { get; set; }
Property Value
Type Description
int
See Also
IViewStateAgent

RequestForNewRecord

Are we requesting insert rights? If true, then EntityorParentId is taken to mean parent id

Declaration
[DataMember]
public virtual bool RequestForNewRecord { get; set; }
Property Value
Type Description
bool
See Also
IViewStateAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

See Also
IViewStateAgent

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.

See Also
IViewStateAgent

See Also

IViewStateAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top