---
search:
  tags:
    - Architecture
    - POST
seo:
  description: >-
    Security: Any… Reference for the POST
    /v1/warehouses/{warehouseId}/architectureElements/byExternalIds/bulk
    endpoint in the Bpanda REST API (experimental).
sidebar:
  label: List all elements with the given external IDs.
  badge: POST
title: List all elements with the given external IDs.
type: openapi-operation
---
List all elements with the given external IDs.
    Get list of architecture elements by their externalId, the identifier used in ArchiMate exchange. Every version
    carrying one of the externalIds is returned unless onlyLatest is set; only what the caller may read is returned.

**Security:** Any user holding a Bpanda licence for the process space.

`POST /v1/warehouses/{warehouseId}/architectureElements/byExternalIds/bulk`

**Request body** (`application/json`, required)

ArchitectureElement-ExternalIds.

Request body example:

```json
[
  "string"
]
```

**Responses**

- `200` — Found ArchitectureElements, a 404 error per externalId without one
- `404` — Warehouse not found

Response example, 200:

```json
{
  "errors": [
    {
      "error": "string",
      "id": "string",
      "status": 0
    }
  ],
  "items": [
    {
      "conceptualClass": "ApplicationCollaboration",
      "created": {
        "at": "string",
        "by": "string"
      },
      "elementId": "string",
      "externalId": "string",
      "groups": [
        {
          "core": true,
          "description": {
            "defaultLanguage": "string",
            "translations": [
              {
                "language": "string",
                "value": "string"
              }
            ]
          },
          "key": "string",
          "label": {
            "defaultLanguage": "string",
            "translations": [
              {
                "language": "string",
                "value": "string"
              }
            ]
          }
        }
      ],
      "hasPredecessor": true,
      "id": "string",
      "lastValidation": {
        "at": "string",
        "by": "string"
      },
      "layer": "ApplicationLayer",
      "modified": {
        "at": "string",
        "by": "string"
      },
      "owners": [
        {
          "type": "GroupId",
          "value": "string"
        }
      ],
      "principalIsOwner": true,
      "properties": [
        {
          "enumKey": "string",
          "meta": {
            "core": true,
            "description": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            },
            "group": "string",
            "key": "string",
            "label": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            },
            "type": "BBCode",
            "validation": {
              "enumLiterals": [
                {
                  "deprecated": true,
                  "key": "string",
                  "label": {
                    "defaultLanguage": "string",
                    "translations": [
                      {
                        "language": "string",
                        "value": "string"
                      }
                    ]
                  }
                }
              ],
              "literals": [
                {
                  "defaultLanguage": "string",
                  "translations": [
                    {
                      "language": "string",
                      "value": "string"
                    }
                  ]
                }
              ],
              "lowerBound": "string",
              "mandatory": true,
              "upperBound": "string"
            }
          },
          "value": {
            "defaultLanguage": "string",
            "translations": [
              {
                "language": "string",
                "value": "string"
              }
            ]
          }
        }
      ],
      "published": {
        "at": "string",
        "by": "string"
      },
      "references": [
        {
          "meta": {
            "core": true,
            "description": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            },
            "group": "string",
            "key": "string",
            "label": {
              "defaultLanguage": "string",
              "translations": [
                {
                  "language": "string",
                  "value": "string"
                }
              ]
            },
            "multiplicity": "ExactlyOne",
            "targetClasses": [
              "string"
            ]
          },
          "target": {
            "assignedArchitectureElementRefs": [
              {
                "conceptualClass": "ApplicationCollaboration",
                "elementId": "string",
                "referenceDirection": "Bidirectional",
                "referenceKind": "Access",
                "specialization": "string"
              }
            ],
            "created": {
              "at": "string",
              "by": "string"
            },
            "linkedElements": [
              {
                "type": "string"
              }
            ],
            "modified": {
              "at": "string",
              "by": "string"
            },
            "properties": [
              {
                "enumKey": "string",
                "meta": {
                  "core": true,
                  "description": {
                    "defaultLanguage": "string",
                    "translations": [
                      {
                        "language": "string",
                        "value": "string"
                      }
                    ]
                  },
                  "group": "string",
                  "key": "string",
                  "label": {
                    "defaultLanguage": "string",
                    "translations": [
                      {
                        "language": "string",
                        "value": "string"
                      }
                    ]
                  },
                  "type": "BBCode",
                  "validation": {
                    "enumLiterals": [
                      {
                        "deprecated": true,
                        "key": "string",
                        "label": {
                          "defaultLanguage": "string",
                          "translations": [
                            {}
                          ]
                        }
                      }
                    ],
                    "literals": [
                      {
                        "defaultLanguage": "string",
                        "translations": [
                          {
                            "language": "string",
                            "value": "string"
                          }
                        ]
                      }
                    ],
                    "lowerBound": "string",
                    "mandatory": true,
                    "upperBound": "string"
                  }
                },
                "value": {
                  "defaultLanguage": "string",
                  "translations": [
                    {
                      "language": "string",
                      "value": "string"
                    }
                  ]
                }
              }
            ],
            "relationshipId": "string"
          }
        }
      ],
      "representation": {
        "type": "string"
      },
      "specialization": "string",
      "validityState": "Draft",
      "visibility": {
        "lastChange": {
          "at": "string",
          "by": "string"
        },
        "visible": true
      }
    }
  ]
}
```
