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
-
objectBaseRequestBuilderUpdateStdDtlsRequestBuilder
Constructors
UpdateStdDtlsRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new UpdateStdDtlsRequestBuilder and sets the default values.
public UpdateStdDtlsRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)
Parameters
pathParametersDictionary<string, object>Path parameters for the request
requestAdapterIRequestAdapterThe 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
rawUrlstringThe raw URL to use for the request builder.
requestAdapterIRequestAdapterThe 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
bodyList<UpdateStudentDetailsRequest>The request body
requestConfigurationAction<RequestConfiguration<DefaultQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationTokenCancellationTokenCancellation token to use when cancelling requests
Returns
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
bodyList<UpdateStudentDetailsRequest>The request body
requestConfigurationAction<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
rawUrlstringThe raw URL to use for the request builder.