Table of Contents

MaterialApi

Method Description
AddConcreteMaterial Add a new material to the project. The material type is determined by the endpoint path.
AddPrestressMaterial Add a new material to the project. The material type is determined by the endpoint path.
AddReinforcementMaterial Add a new material to the project. The material type is determined by the endpoint path.
GetAllMaterials Get materials from the project. Use specific path to filter by material type.
GetConcreteMaterials Get materials from the project. Use specific path to filter by material type.
GetPrestressMaterials Get materials from the project. Use specific path to filter by material type.
GetReinforcementMaterials Get materials from the project. Use specific path to filter by material type.

AddConcreteMaterial

void AddConcreteMaterial (Guid projectId, RcsMprlElement rcsMprlElement = null)

Add a new material to the project. The material type is determined by the endpoint path.

Parameters

Name Type Description Notes
projectId Guid Project ID
rcsMprlElement RcsMprlElement Material data to add (MPRL name) [optional]

Return type

void (empty response body)

Example

Note: this example is autogenerated.

using System;
using System.Collections.Generic;
using System.Diagnostics;
using IdeaStatiCa.RcsApi.Api;
using IdeaStatiCa.RcsApi.Client;
using IdeaStatiCa.RcsApi.Model;

namespace Example
{
    public class AddConcreteMaterialExample
    {
        public static void Main()
        {
            // Create the client which is connected to the service.
            ConnectionApiClientFactory clientFactory = new ConnectionApiClientFactory("http://localhost:5000");
            using (var conClient = await clientFactory.CreateConnectionApiClient())
            {
                
                var rcsMprlElement = new RcsMprlElement(); // RcsMprlElement | Material data to add (MPRL name) (optional) 

                try
                {
                    // Add a new material to the project. The material type is determined by the endpoint path.
                    conClient.Material.AddConcreteMaterial(projectId, rcsMprlElement);
                }
                catch (ApiException  e)
                {
                    Console.WriteLine("Exception when calling Material.AddConcreteMaterial: " + e.Message);
                    Console.WriteLine("Status Code: " + e.ErrorCode);
                    Console.WriteLine(e.StackTrace);
                }
                finally
                {
                }
            }
        }
    }
}

Code Samples

Warning

It looks like the sample you are looking for does not exist.

Looking for a code sample? request some help on our discussion page.

REST Usage

Http Request

All URIs are relative to http://localhost

POST /api/1/projects/{projectId}/materials/concrete

Using the AddConcreteMaterialWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

try
{
    // Add a new material to the project. The material type is determined by the endpoint path.
    conClient.Material.AddConcreteMaterialWithHttpInfo(projectId, rcsMprlElement);
}
catch (ApiException e)
{
    Debug.Print("Exception when calling MaterialApi.AddConcreteMaterialWithHttpInfo: " + e.Message);
    Debug.Print("Status Code: " + e.ErrorCode);
    Debug.Print(e.StackTrace);
}

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 OK -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

AddPrestressMaterial

void AddPrestressMaterial (Guid projectId, RcsMprlElement rcsMprlElement = null)

Add a new material to the project. The material type is determined by the endpoint path.

Parameters

Name Type Description Notes
projectId Guid Project ID
rcsMprlElement RcsMprlElement Material data to add (MPRL name) [optional]

Return type

void (empty response body)

Example

Note: this example is autogenerated.

using System;
using System.Collections.Generic;
using System.Diagnostics;
using IdeaStatiCa.RcsApi.Api;
using IdeaStatiCa.RcsApi.Client;
using IdeaStatiCa.RcsApi.Model;

namespace Example
{
    public class AddPrestressMaterialExample
    {
        public static void Main()
        {
            // Create the client which is connected to the service.
            ConnectionApiClientFactory clientFactory = new ConnectionApiClientFactory("http://localhost:5000");
            using (var conClient = await clientFactory.CreateConnectionApiClient())
            {
                
                var rcsMprlElement = new RcsMprlElement(); // RcsMprlElement | Material data to add (MPRL name) (optional) 

                try
                {
                    // Add a new material to the project. The material type is determined by the endpoint path.
                    conClient.Material.AddPrestressMaterial(projectId, rcsMprlElement);
                }
                catch (ApiException  e)
                {
                    Console.WriteLine("Exception when calling Material.AddPrestressMaterial: " + e.Message);
                    Console.WriteLine("Status Code: " + e.ErrorCode);
                    Console.WriteLine(e.StackTrace);
                }
                finally
                {
                }
            }
        }
    }
}

Code Samples

Warning

It looks like the sample you are looking for does not exist.

Looking for a code sample? request some help on our discussion page.

REST Usage

Http Request

All URIs are relative to http://localhost

POST /api/1/projects/{projectId}/materials/prestress

Using the AddPrestressMaterialWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

try
{
    // Add a new material to the project. The material type is determined by the endpoint path.
    conClient.Material.AddPrestressMaterialWithHttpInfo(projectId, rcsMprlElement);
}
catch (ApiException e)
{
    Debug.Print("Exception when calling MaterialApi.AddPrestressMaterialWithHttpInfo: " + e.Message);
    Debug.Print("Status Code: " + e.ErrorCode);
    Debug.Print(e.StackTrace);
}

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 OK -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

AddReinforcementMaterial

void AddReinforcementMaterial (Guid projectId, RcsMprlElement rcsMprlElement = null)

Add a new material to the project. The material type is determined by the endpoint path.

Parameters

Name Type Description Notes
projectId Guid Project ID
rcsMprlElement RcsMprlElement Material data to add (MPRL name) [optional]

Return type

void (empty response body)

Example

Note: this example is autogenerated.

using System;
using System.Collections.Generic;
using System.Diagnostics;
using IdeaStatiCa.RcsApi.Api;
using IdeaStatiCa.RcsApi.Client;
using IdeaStatiCa.RcsApi.Model;

namespace Example
{
    public class AddReinforcementMaterialExample
    {
        public static void Main()
        {
            // Create the client which is connected to the service.
            ConnectionApiClientFactory clientFactory = new ConnectionApiClientFactory("http://localhost:5000");
            using (var conClient = await clientFactory.CreateConnectionApiClient())
            {
                
                var rcsMprlElement = new RcsMprlElement(); // RcsMprlElement | Material data to add (MPRL name) (optional) 

                try
                {
                    // Add a new material to the project. The material type is determined by the endpoint path.
                    conClient.Material.AddReinforcementMaterial(projectId, rcsMprlElement);
                }
                catch (ApiException  e)
                {
                    Console.WriteLine("Exception when calling Material.AddReinforcementMaterial: " + e.Message);
                    Console.WriteLine("Status Code: " + e.ErrorCode);
                    Console.WriteLine(e.StackTrace);
                }
                finally
                {
                }
            }
        }
    }
}

Code Samples

Warning

It looks like the sample you are looking for does not exist.

Looking for a code sample? request some help on our discussion page.

REST Usage

Http Request

All URIs are relative to http://localhost

POST /api/1/projects/{projectId}/materials/reinforcement

Using the AddReinforcementMaterialWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

try
{
    // Add a new material to the project. The material type is determined by the endpoint path.
    conClient.Material.AddReinforcementMaterialWithHttpInfo(projectId, rcsMprlElement);
}
catch (ApiException e)
{
    Debug.Print("Exception when calling MaterialApi.AddReinforcementMaterialWithHttpInfo: " + e.Message);
    Debug.Print("Status Code: " + e.ErrorCode);
    Debug.Print(e.StackTrace);
}

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

HTTP response details

Status code Description Response headers
200 OK -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetAllMaterials

List<Object> GetAllMaterials (Guid projectId)

Get materials from the project. Use specific path to filter by material type.

Parameters

Name Type Description Notes
projectId Guid Project ID

Return type

List

Example

Note: this example is autogenerated.

using System;
using System.Collections.Generic;
using System.Diagnostics;
using IdeaStatiCa.RcsApi.Api;
using IdeaStatiCa.RcsApi.Client;
using IdeaStatiCa.RcsApi.Model;

namespace Example
{
    public class GetAllMaterialsExample
    {
        public static void Main()
        {
            // Create the client which is connected to the service.
            ConnectionApiClientFactory clientFactory = new ConnectionApiClientFactory("http://localhost:5000");
            using (var conClient = await clientFactory.CreateConnectionApiClient())
            {
                

                try
                {
                    // Get materials from the project. Use specific path to filter by material type.
                    List<Object> result = conClient.Material.GetAllMaterials(projectId);
                    Debug.WriteLine(result);
                }
                catch (ApiException  e)
                {
                    Console.WriteLine("Exception when calling Material.GetAllMaterials: " + e.Message);
                    Console.WriteLine("Status Code: " + e.ErrorCode);
                    Console.WriteLine(e.StackTrace);
                }
                finally
                {
                }
            }
        }
    }
}

Code Samples

Warning

It looks like the sample you are looking for does not exist.

Looking for a code sample? request some help on our discussion page.

REST Usage

Http Request

All URIs are relative to http://localhost

GET /api/1/projects/{projectId}/materials

Using the GetAllMaterialsWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

try
{
    // Get materials from the project. Use specific path to filter by material type.
    ApiResponse<List<Object>> response = conClient.Material.GetAllMaterialsWithHttpInfo(projectId);
    Debug.Write("Status Code: " + response.StatusCode);
    Debug.Write("Response Headers: " + response.Headers);
    Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
    Debug.Print("Exception when calling MaterialApi.GetAllMaterialsWithHttpInfo: " + e.Message);
    Debug.Print("Status Code: " + e.ErrorCode);
    Debug.Print(e.StackTrace);
}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetConcreteMaterials

List<Object> GetConcreteMaterials (Guid projectId)

Get materials from the project. Use specific path to filter by material type.

Parameters

Name Type Description Notes
projectId Guid Project ID

Return type

List

Example

Note: this example is autogenerated.

using System;
using System.Collections.Generic;
using System.Diagnostics;
using IdeaStatiCa.RcsApi.Api;
using IdeaStatiCa.RcsApi.Client;
using IdeaStatiCa.RcsApi.Model;

namespace Example
{
    public class GetConcreteMaterialsExample
    {
        public static void Main()
        {
            // Create the client which is connected to the service.
            ConnectionApiClientFactory clientFactory = new ConnectionApiClientFactory("http://localhost:5000");
            using (var conClient = await clientFactory.CreateConnectionApiClient())
            {
                

                try
                {
                    // Get materials from the project. Use specific path to filter by material type.
                    List<Object> result = conClient.Material.GetConcreteMaterials(projectId);
                    Debug.WriteLine(result);
                }
                catch (ApiException  e)
                {
                    Console.WriteLine("Exception when calling Material.GetConcreteMaterials: " + e.Message);
                    Console.WriteLine("Status Code: " + e.ErrorCode);
                    Console.WriteLine(e.StackTrace);
                }
                finally
                {
                }
            }
        }
    }
}

Code Samples

Warning

It looks like the sample you are looking for does not exist.

Looking for a code sample? request some help on our discussion page.

REST Usage

Http Request

All URIs are relative to http://localhost

GET /api/1/projects/{projectId}/materials/concrete

Using the GetConcreteMaterialsWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

try
{
    // Get materials from the project. Use specific path to filter by material type.
    ApiResponse<List<Object>> response = conClient.Material.GetConcreteMaterialsWithHttpInfo(projectId);
    Debug.Write("Status Code: " + response.StatusCode);
    Debug.Write("Response Headers: " + response.Headers);
    Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
    Debug.Print("Exception when calling MaterialApi.GetConcreteMaterialsWithHttpInfo: " + e.Message);
    Debug.Print("Status Code: " + e.ErrorCode);
    Debug.Print(e.StackTrace);
}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetPrestressMaterials

List<Object> GetPrestressMaterials (Guid projectId)

Get materials from the project. Use specific path to filter by material type.

Parameters

Name Type Description Notes
projectId Guid Project ID

Return type

List

Example

Note: this example is autogenerated.

using System;
using System.Collections.Generic;
using System.Diagnostics;
using IdeaStatiCa.RcsApi.Api;
using IdeaStatiCa.RcsApi.Client;
using IdeaStatiCa.RcsApi.Model;

namespace Example
{
    public class GetPrestressMaterialsExample
    {
        public static void Main()
        {
            // Create the client which is connected to the service.
            ConnectionApiClientFactory clientFactory = new ConnectionApiClientFactory("http://localhost:5000");
            using (var conClient = await clientFactory.CreateConnectionApiClient())
            {
                

                try
                {
                    // Get materials from the project. Use specific path to filter by material type.
                    List<Object> result = conClient.Material.GetPrestressMaterials(projectId);
                    Debug.WriteLine(result);
                }
                catch (ApiException  e)
                {
                    Console.WriteLine("Exception when calling Material.GetPrestressMaterials: " + e.Message);
                    Console.WriteLine("Status Code: " + e.ErrorCode);
                    Console.WriteLine(e.StackTrace);
                }
                finally
                {
                }
            }
        }
    }
}

Code Samples

Warning

It looks like the sample you are looking for does not exist.

Looking for a code sample? request some help on our discussion page.

REST Usage

Http Request

All URIs are relative to http://localhost

GET /api/1/projects/{projectId}/materials/prestress

Using the GetPrestressMaterialsWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

try
{
    // Get materials from the project. Use specific path to filter by material type.
    ApiResponse<List<Object>> response = conClient.Material.GetPrestressMaterialsWithHttpInfo(projectId);
    Debug.Write("Status Code: " + response.StatusCode);
    Debug.Write("Response Headers: " + response.Headers);
    Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
    Debug.Print("Exception when calling MaterialApi.GetPrestressMaterialsWithHttpInfo: " + e.Message);
    Debug.Print("Status Code: " + e.ErrorCode);
    Debug.Print(e.StackTrace);
}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetReinforcementMaterials

List<Object> GetReinforcementMaterials (Guid projectId)

Get materials from the project. Use specific path to filter by material type.

Parameters

Name Type Description Notes
projectId Guid Project ID

Return type

List

Example

Note: this example is autogenerated.

using System;
using System.Collections.Generic;
using System.Diagnostics;
using IdeaStatiCa.RcsApi.Api;
using IdeaStatiCa.RcsApi.Client;
using IdeaStatiCa.RcsApi.Model;

namespace Example
{
    public class GetReinforcementMaterialsExample
    {
        public static void Main()
        {
            // Create the client which is connected to the service.
            ConnectionApiClientFactory clientFactory = new ConnectionApiClientFactory("http://localhost:5000");
            using (var conClient = await clientFactory.CreateConnectionApiClient())
            {
                

                try
                {
                    // Get materials from the project. Use specific path to filter by material type.
                    List<Object> result = conClient.Material.GetReinforcementMaterials(projectId);
                    Debug.WriteLine(result);
                }
                catch (ApiException  e)
                {
                    Console.WriteLine("Exception when calling Material.GetReinforcementMaterials: " + e.Message);
                    Console.WriteLine("Status Code: " + e.ErrorCode);
                    Console.WriteLine(e.StackTrace);
                }
                finally
                {
                }
            }
        }
    }
}

Code Samples

Warning

It looks like the sample you are looking for does not exist.

Looking for a code sample? request some help on our discussion page.

REST Usage

Http Request

All URIs are relative to http://localhost

GET /api/1/projects/{projectId}/materials/reinforcement

Using the GetReinforcementMaterialsWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

try
{
    // Get materials from the project. Use specific path to filter by material type.
    ApiResponse<List<Object>> response = conClient.Material.GetReinforcementMaterialsWithHttpInfo(projectId);
    Debug.Write("Status Code: " + response.StatusCode);
    Debug.Write("Response Headers: " + response.Headers);
    Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
    Debug.Print("Exception when calling MaterialApi.GetReinforcementMaterialsWithHttpInfo: " + e.Message);
    Debug.Print("Status Code: " + e.ErrorCode);
    Debug.Print(e.StackTrace);
}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 OK -

[Back to top] [Back to API list] [Back to Model list] [Back to README]