Prestress forces applied to members
Get All
Gets all loads with optional filtering and pagination.
Use the cases query parameter to filter by load cases — accepts SG list format
(e.g. "1,3-7,10"). Omit any list filter to match all.
Returns an empty array when no loads match the filter — never 404.
Results are sorted by Case ascending, then by entity Id ascending.
Pagination metadata is returned in response headers (Total-Count, Offset, Limit).
query Parameters
MembersMember Ids to filter by, in SG list format (e.g. "1,3-7,10").
Returns only prestress loads applied to the specified members.
Omit to return prestress loads for all members.
CasesLoad cases to filter by, in SG list format (e.g. "1,3-7,10").
Returns only loads belonging to the specified cases.
Omit to return loads for all cases.
LoadCategoryFilter by load category number. Returns only loads assigned to the specified category.
OffsetNumber of items to skip from the start of the result set. Default is 0.
LimitMaximum number of items to return. Default is null (return all).
Get All › Responses
OK
memberThe member number this prestress is applied to.
caseThe load case number this load belongs to.
loadCategoryLoad category for grouping/organization.
prestressPrestress force applied to the member.
Create
Creates a new load. The load case must exist and be a Primary load case.
Create › Request Body
caseThe load case number to create this load in.
memberThe member number to apply this prestress to.
loadCategoryLoad category for grouping/organization.
prestressPrestress force applied to the member.
Create › Responses
Bad Request
titleA short, human-readable summary of the problem type
statusHTTP status code
detailA human-readable explanation specific to this occurrence
instanceA URI reference that identifies the specific occurrence
errorCodeMachine-readable error code for programmatic handling
sourceSource of the error. Serialised as its string identifier (e.g. "Infrastructure") on the wire
regardless of which JSON pipeline emits the response — the MVC AddJsonOptions string-enum
converter doesn't apply to direct HttpResponse.WriteAsJsonAsync writes (used by
GlobalExceptionHandler), so the converter is declared on the enum itself.
List of errors describing what went wrong. Always populated on the wire — falls back to a single entry derived from SpaceGassApi.Models.Dtos.Common.ErrorResponseDto.Detail / SpaceGassApi.Models.Dtos.Common.ErrorResponseDto.ErrorCode when no caller-supplied list is present, so clients can iterate uniformly. Multiple entries appear for validation failures (one entry per failed rule).
Additional context-specific data
timestampTimestamp when the error occurred
Get Member Prestress Load
Gets a specific member prestress load by its composite Id (case + member).
path Parameters
caseIdThe load case number
memberIdThe member number
Get Member Prestress Load › Responses
Returns the member prestress load
memberThe member number this prestress is applied to.
caseThe load case number this load belongs to.
loadCategoryLoad category for grouping/organization.
prestressPrestress force applied to the member.
Delete Member Prestress Load
Deletes a specific member prestress load by its composite Id (case + member).
path Parameters
caseIdThe load case number
memberIdThe member number
Delete Member Prestress Load › Responses
Member prestress load deleted successfully
Update Member Prestress Load
Updates an existing member prestress load. Only provided fields are updated. The load case must be a Primary load case.
path Parameters
caseIdThe load case number
memberIdThe member number
Update Member Prestress Load › Request Body
caseThe load case number.
loadCategoryLoad category for grouping/organization.
memberThe member number.
prestressPrestress force applied to the member.
Update Member Prestress Load › Responses
Returns the updated member prestress load
memberThe member number this prestress is applied to.
caseThe load case number this load belongs to.
loadCategoryLoad category for grouping/organization.
prestressPrestress force applied to the member.
Get Metadata
Returns schema metadata for this load entity type: field definitions, count, and key structure. Field definitions include names, data types, units, and allowed value ranges.
Get Metadata › Responses
OK
resourceTypeIdentifies entity types managed by the API. Kept separate from SGFileID to allow for future API-only entities that may not have a formal SPACE GASS FileID.
countCurrent count of items in this resource. Null for sub-resources whose count does not apply uniformly.
maxIdMaximum Id currently in use (single-int Id entities only).
nextIdNext available Id (single-int Id entities only).
Field definitions describing the resource's wire shape. Each entry corresponds
to a property on the read DTO; jsonName matches the JSON key clients see.
Create Bulk
Creates multiple loads in a bulk operation. All load cases referenced must exist and be Primary load cases.
query Parameters
continueOnErrorWhether to continue processing after individual failures
Create Bulk › Request Body
caseThe load case number to create this load in.
memberThe member number to apply this prestress to.
loadCategoryLoad category for grouping/organization.
prestressPrestress force applied to the member.
Create Bulk › Responses
Bad Request
titleA short, human-readable summary of the problem type
statusHTTP status code
detailA human-readable explanation specific to this occurrence
instanceA URI reference that identifies the specific occurrence
errorCodeMachine-readable error code for programmatic handling
sourceSource of the error. Serialised as its string identifier (e.g. "Infrastructure") on the wire
regardless of which JSON pipeline emits the response — the MVC AddJsonOptions string-enum
converter doesn't apply to direct HttpResponse.WriteAsJsonAsync writes (used by
GlobalExceptionHandler), so the converter is declared on the enum itself.
List of errors describing what went wrong. Always populated on the wire — falls back to a single entry derived from SpaceGassApi.Models.Dtos.Common.ErrorResponseDto.Detail / SpaceGassApi.Models.Dtos.Common.ErrorResponseDto.ErrorCode when no caller-supplied list is present, so clients can iterate uniformly. Multiple entries appear for validation failures (one entry per failed rule).
Additional context-specific data
timestampTimestamp when the error occurred
Delete Bulk
Deletes multiple member prestress loads. Both case and member are required for each entry — providing only a case does not delete all prestress loads for that case. The succeeded array echoes back the Ids of each successfully deleted load.
query Parameters
continueOnErrorWhether to continue on error
Delete Bulk › Request Body
caseThe load case number.
memberThe member number.
Delete Bulk › Responses
OK
Successfully processed items.
Errors from failed items.
errorsTruncatedTrue when the bulk operation stopped accumulating errors after reaching SpaceGassApi.Models.Dtos.Entity.BulkResultDto`1.ErrorMessageCap. Further failures may exist beyond what is reported.
Update Bulk
Updates multiple member prestress loads. Each item must include case and member in the body. All load cases referenced must be Primary.
query Parameters
continueOnErrorWhether to continue processing after individual failures
Update Bulk › Request Body
caseThe load case number.
loadCategoryLoad category for grouping/organization.
memberThe member number.
prestressPrestress force applied to the member.
Update Bulk › Responses
OK
Successfully processed items.
Errors from failed items.
errorsTruncatedTrue when the bulk operation stopped accumulating errors after reaching SpaceGassApi.Models.Dtos.Entity.BulkResultDto`1.ErrorMessageCap. Further failures may exist beyond what is reported.

