Table of Contents

Class UpdateStdDtlsRequestBuilder

Namespace
SEBT.Portal.StatePlugins.CO.CbmsApi.Sebt.UpdateStdDtls
Assembly
SEBT.Portal.StatePlugins.CO.CbmsApi.dll

Builds and executes requests for operations under \sebt\update-std-dtls

public class UpdateStdDtlsRequestBuilder : BaseRequestBuilder
Inheritance
object
BaseRequestBuilder
UpdateStdDtlsRequestBuilder

Constructors

UpdateStdDtlsRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new UpdateStdDtlsRequestBuilder and sets the default values.

public UpdateStdDtlsRequestBuilder(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.

UpdateStdDtlsRequestBuilder(string, IRequestAdapter)

Instantiates a new UpdateStdDtlsRequestBuilder and sets the default values.

public UpdateStdDtlsRequestBuilder(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.

Methods

PatchAsync(List<UpdateStudentDetailsRequest>, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)

Updates student address information or requests a new SEBT card.

public Task<UpdateStudentDetailsResponse?> PatchAsync(List<UpdateStudentDetailsRequest> body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

body List<UpdateStudentDetailsRequest>

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<UpdateStudentDetailsResponse>

A UpdateStudentDetailsResponse

Exceptions

ErrorResponse

When receiving a 400 status code

ErrorResponse

When receiving a 404 status code

ErrorResponse

When receiving a 500 status code

ToPatchRequestInformation(List<UpdateStudentDetailsRequest>, Action<RequestConfiguration<DefaultQueryParameters>>?)

Updates student address information or requests a new SEBT card.

public RequestInformation ToPatchRequestInformation(List<UpdateStudentDetailsRequest> body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)

Parameters

body List<UpdateStudentDetailsRequest>

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.

public UpdateStdDtlsRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

UpdateStdDtlsRequestBuilder

A UpdateStdDtlsRequestBuilder