Skip to main content

Set Members

POST/api/construct-models/:model_id/members

Set Members

Request

Parameters

NameLocationTypeRequired
model_idpathstringyes

Bodyrequired

application/json
MembersBatchobject
PropertyTypeRequired
membersobject[]yes
Raw schema
{
  "properties": {
    "members": {
      "items": {
        "properties": {
          "frameIds": {
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "title": "Frameids",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "materialId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Materialid"
          },
          "sectionId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sectionid"
          }
        },
        "required": [
          "id",
          "frameIds"
        ],
        "title": "ConstructMember",
        "type": "object"
      },
      "minItems": 1,
      "title": "Members",
      "type": "array"
    }
  },
  "required": [
    "members"
  ],
  "title": "MembersBatch",
  "type": "object"
}

Responses

200Successful Response
application/json
Response Set Construct Membersobject[]
Raw schema
{
  "items": {
    "properties": {
      "frameIds": {
        "items": {
          "type": "string"
        },
        "minItems": 1,
        "title": "Frameids",
        "type": "array"
      },
      "id": {
        "title": "Id",
        "type": "string"
      },
      "materialId": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Materialid"
      },
      "sectionId": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Sectionid"
      }
    },
    "required": [
      "id",
      "frameIds"
    ],
    "title": "ConstructMember",
    "type": "object"
  },
  "title": "Response Set Construct Members",
  "type": "array"
}
422Validation Error
application/json
HTTPValidationErrorobject
PropertyTypeRequired
detailobject[]no
Raw schema
{
  "properties": {
    "detail": {
      "items": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      },
      "title": "Detail",
      "type": "array"
    }
  },
  "title": "HTTPValidationError",
  "type": "object"
}