Table of Contents

Class CostItem

Namespace
Autodesk.ACC.CostManagement.Models
Assembly
Autodesk.ACC.CostManagement.dll
public class CostItem : IAdditionalDataHolder, IParsable
Inheritance
CostItem
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

CostItem()

Instantiates a new CostItem and sets the default values.

public CostItem()

Properties

AdditionalData

Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

public IDictionary<string, object> AdditionalData { get; set; }

Property Value

IDictionary<string, object>

Approved

Amount approved by the owner.

public string? Approved { get; set; }

Property Value

string

BudgetStatus

The budget status of the cost item. Possible values: draft, open, submitted, accepted, approved, executed, rejected. Note that you can only change the status by updating the associated change order.

public string? BudgetStatus { get; }

Property Value

string

Committed

Amount committed to the supplier.

public string? Committed { get; set; }

Property Value

string

CommittedExchangeRate

Exchange rate for committed amount. Default value is 1, if multi-currency is not enabled, it will also be 1.

public string? CommittedExchangeRate { get; set; }

Property Value

string

CostStatus

The cost status of the cost item. Possible values: draft, open, pricing, proposed, approved, executed, rejected. Note that you can only change the status of the cost item by updating the associated change order.

public string? CostStatus { get; }

Property Value

string

CreatedAt

The timestamp of the date and time the item was created, in the following format: YYYY-MM-DDThh:mm:ss.sz.

public DateTimeOffset? CreatedAt { get; }

Property Value

DateTimeOffset?

Description

Detailed description of the cost item.

public string? Description { get; set; }

Property Value

string

Estimated

Rough estimate of this item without a quotation.

public string? Estimated { get; set; }

Property Value

string

Id

Unique identifier of the cost item.

public Guid? Id { get; }

Property Value

Guid?

InputQuantity

The input quantity of the cost item.

public double? InputQuantity { get; set; }

Property Value

double?

IntegrationState

Lock state used by ERP integration, default value is null.

public CostItem_integrationState? IntegrationState { get; set; }

Property Value

CostItem_integrationState?

IntegrationStateChangedAt

The date and time last locked this item.

public DateTimeOffset? IntegrationStateChangedAt { get; set; }

Property Value

DateTimeOffset?

IntegrationStateChangedBy

The user who last locked this item. This is the ID of a user managed by BIM 360 Admin.

public string? IntegrationStateChangedBy { get; set; }

Property Value

string

IsMarkup

Used to distinguish whether it is a markup cost item or not. false is the default value.

public bool? IsMarkup { get; set; }

Property Value

bool?

LocationPaths

The IDs of the locations have been selected and parents of selected.

public List<Guid?>? LocationPaths { get; set; }

Property Value

List<Guid?>

Locations

The IDs of the locations have been selected.

public List<Guid?>? Locations { get; set; }

Property Value

List<Guid?>

Name

Name of the cost item.

public string? Name { get; set; }

Property Value

string

Note

Note to the cost item. Draftjs formatted rich text (https://draftjs.org/)

public string? Note { get; set; }

Property Value

string

Number

System generated sequential number.

public string? Number { get; set; }

Property Value

string

Proposed

Quoted cost of the item.

public string? Proposed { get; set; }

Property Value

string

ProposedExchangeRate

Exchange rate for proposed amount. Default value is 1, if multi-currency is not enabled, it will also be 1.

public string? ProposedExchangeRate { get; set; }

Property Value

string

Quantity

The quantity of the cost item.

public double? Quantity { get; set; }

Property Value

double?

Scope

The scope of the cost item. Possible values are out, in, tbd , budgetOnlyand contingency.

public CostItem_scope? Scope { get; }

Property Value

CostItem_scope?

ScopeOfWork

Scope of work of the cost items. Draftjs formatted rich text (https://draftjs.org/)

public string? ScopeOfWork { get; set; }

Property Value

string

Submitted

Amount sent to the owner for approval.

public string? Submitted { get; set; }

Property Value

string

Type

The type of the cost item. It is customizable by the project admin.

public string? Type { get; set; }

Property Value

string

Unit

The unit of the cost item.

public string? Unit { get; set; }

Property Value

string

UpdatedAt

The timestamp of the date and time the item was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz.

public DateTimeOffset? UpdatedAt { get; }

Property Value

DateTimeOffset?

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static CostItem CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

CostItem

A CostItem

GetFieldDeserializers()

The deserialization information for the current model

public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model