Table of Contents

Class ScheduleOfValuesRequestBuilder

Namespace
Autodesk.ACC.CostManagement.V1.Projects.Item.Contracts.Item.ScheduleOfValues
Assembly
Autodesk.ACC.CostManagement.dll

Builds and executes requests for operations under \v1\projects{projectId}\contracts{contractId}\schedule-of-values

public class ScheduleOfValuesRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
ScheduleOfValuesRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.UrlTemplate

Constructors

ScheduleOfValuesRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new ScheduleOfValuesRequestBuilder and sets the default values.

public ScheduleOfValuesRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)

Parameters

pathParameters Dictionary<string, object>

Path parameters for the request

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

ScheduleOfValuesRequestBuilder(string, IRequestAdapter)

Instantiates a new ScheduleOfValuesRequestBuilder and sets the default values.

public ScheduleOfValuesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)

Parameters

rawUrl string

The raw URL to use for the request builder.

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

Properties

this[string]

Gets an item from the Autodesk.ACC.CostManagement.v1.projects.item.contracts.item.scheduleOfValues.item collection

[Obsolete("")]
public ScheduleOfValuesItemRequestBuilder this[string position] { get; }

Parameters

position string

ID of the schedule of value. Multi IDs could be separated by comma.

Property Value

ScheduleOfValuesItemRequestBuilder

A ScheduleOfValuesItemRequestBuilder

Methods

GetAsync(Action<RequestConfiguration<ScheduleOfValuesRequestBuilderGetQueryParameters>>?, CancellationToken)

Retrieves all the schedule of values in the contract.

[Obsolete("")]
public Task<List<SOV>?> GetAsync(Action<RequestConfiguration<ScheduleOfValuesRequestBuilder.ScheduleOfValuesRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<ScheduleOfValuesRequestBuilder.ScheduleOfValuesRequestBuilderGetQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<List<SOV>>

A List<global::Autodesk.ACC.CostManagement.Models.SOV>

Exceptions

DefinedError

When receiving a 400 status code

Error

When receiving a 401 status code

Error

When receiving a 403 status code

Error

When receiving a 404 status code

Error

When receiving a 500 status code

Error

When receiving a 503 status code

PostAsync(SOVCreate, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)

Creates a schedule of value in the contract for a parent schedule of value.

[Obsolete("")]
public Task<SOV?> PostAsync(SOVCreate body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

body SOVCreate

The request body

requestConfiguration Action<RequestConfiguration<DefaultQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<SOV>

A SOV

Exceptions

DefinedError

When receiving a 400 status code

Error

When receiving a 401 status code

Error

When receiving a 403 status code

Error

When receiving a 404 status code

Error

When receiving a 500 status code

Error

When receiving a 503 status code

ToGetRequestInformation(Action<RequestConfiguration<ScheduleOfValuesRequestBuilderGetQueryParameters>>?)

Retrieves all the schedule of values in the contract.

[Obsolete("")]
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<ScheduleOfValuesRequestBuilder.ScheduleOfValuesRequestBuilderGetQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<ScheduleOfValuesRequestBuilder.ScheduleOfValuesRequestBuilderGetQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

Returns

RequestInformation

A Microsoft.Kiota.Abstractions.RequestInformation

ToPostRequestInformation(SOVCreate, Action<RequestConfiguration<DefaultQueryParameters>>?)

Creates a schedule of value in the contract for a parent schedule of value.

[Obsolete("")]
public RequestInformation ToPostRequestInformation(SOVCreate body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)

Parameters

body SOVCreate

The request body

requestConfiguration Action<RequestConfiguration<DefaultQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

Returns

RequestInformation

A Microsoft.Kiota.Abstractions.RequestInformation

WithUrl(string)

Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.

[Obsolete("")]
public ScheduleOfValuesRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

ScheduleOfValuesRequestBuilder

A ScheduleOfValuesRequestBuilder