> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs-unsw-v6.advance-uac.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs-unsw-v6.advance-uac.com/_mcp/server.

# Get a structure details with program check

GET https://institution/catalogue/structures/{structureId}#getInstitutionCatalogueStructuresStructureid2

Reference: https://docs-unsw-v6.advance-uac.com/unsw-advance-institution-api/institution/catalogue/structure/get-a-structure-details-with-program-check

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /institution/catalogue/structures/{structureId}#getInstitutionCatalogueStructuresStructureid2:
    get:
      operationId: Get a structure details with program check
      summary: Get a structure details with program check
      tags:
        - structure
      parameters:
        - name: structureId
          in: path
          required: true
          schema:
            type: string
        - name: programCode
          in: query
          description: >-
            Optional - Enforce check if the structure ID belongs to the right
            program and year
          required: false
          schema:
            type: integer
        - name: programYear
          in: query
          required: false
          schema:
            type: integer
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/institution_catalogue_structure_Get a
                  structure details with program check_Response_200
servers:
  - url: https:/
    description: https://{baseurl}
components:
  schemas:
    InstitutionCatalogueStructuresStructureIdGetInstitutionCatalogueStructuresStructureid2GetResponsesContentApplicationJsonSchemaItemsItems:
      type: object
      properties:
        id:
          type: string
          format: uuid
        itemType:
          type: string
        code:
          type: string
        year:
          type: integer
        name:
          type: string
        uoc:
          type: integer
        resolved:
          type: boolean
      required:
        - id
        - itemType
        - code
        - year
        - name
        - uoc
        - resolved
      title: >-
        InstitutionCatalogueStructuresStructureIdGetInstitutionCatalogueStructuresStructureid2GetResponsesContentApplicationJsonSchemaItemsItems
    institution_catalogue_structure_Get a structure details with program check_Response_200:
      type: object
      properties:
        id:
          type: string
          format: uuid
        title:
          type: string
        description:
          type: string
        creditPoints:
          type: integer
        creditPointsMax:
          type: integer
        dynamicRules:
          description: Any type
        items:
          type: array
          items:
            $ref: >-
              #/components/schemas/InstitutionCatalogueStructuresStructureIdGetInstitutionCatalogueStructuresStructureid2GetResponsesContentApplicationJsonSchemaItemsItems
        children:
          type: array
          items:
            description: Any type
      required:
        - id
        - title
        - description
        - creditPoints
        - creditPointsMax
        - items
        - children
      title: >-
        institution_catalogue_structure_Get a structure details with program
        check_Response_200
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

```

## Examples



**Response**

```json
{
  "id": "d98baada-aba6-4556-8ce0-a49de6887d5f",
  "title": "Prescribed Electives",
  "description": "Students must take at least 12 UOC of the following courses.",
  "creditPoints": 12,
  "creditPointsMax": 12,
  "items": [
    {
      "id": "f438d880-aab2-4956-a376-de12cff98e7b",
      "itemType": "Course",
      "code": "ZZSC5855",
      "year": 2026,
      "name": "Multivariate Analysis for Data Scientists",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "1f3415c2-eb8b-418f-8f9e-3a5ddd900f22",
      "itemType": "Course",
      "code": "ZZEN9444",
      "year": 2026,
      "name": "Neural Networks, Deep Learning",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "6e64a6f7-465e-4d6b-8b46-ceb755e79468",
      "itemType": "Course",
      "code": "ZZCA6510",
      "year": 2026,
      "name": "Decision Making in Analytics",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "309a59c4-4617-4930-a4cc-d434ce21a40a",
      "itemType": "Course",
      "code": "ZZSC5960",
      "year": 2026,
      "name": "Bayesian Inference and Computation for Data Scientists",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "db8d9f39-8cbc-42be-acac-318dd864bf03",
      "itemType": "Course",
      "code": "ZZEN9313",
      "year": 2026,
      "name": "Big Data Management",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "2ab34c76-070b-4855-ad89-4a8f456cbf99",
      "itemType": "Course",
      "code": "ZZBU6507",
      "year": 2026,
      "name": "Data Visualisation and Communication",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "82ea923c-4e88-43d2-8731-88a469689613",
      "itemType": "Course",
      "code": "ZZBU6505",
      "year": 2026,
      "name": "Data and Ethics",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "78e24ae6-fc5c-4a74-8f87-14dedb55bbcf",
      "itemType": "Course",
      "code": "ZZSC5905",
      "year": 2026,
      "name": "Statistical Inference for Data Scientists",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "3669e78f-3262-4493-abe8-5d425c190bf0",
      "itemType": "Course",
      "code": "ZZSC5806",
      "year": 2026,
      "name": "Regression Analysis for Data Scientists",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "a6f3eaf8-3c0c-4c79-adf6-16868e1cd4fd",
      "itemType": "Course",
      "code": "ZZEN9311",
      "year": 2026,
      "name": "Database Systems",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "b14281aa-4374-4ceb-bb64-9445bc74ed47",
      "itemType": "Course",
      "code": "ZZBU5611",
      "year": 2026,
      "name": "Strategic Decision Making",
      "uoc": 6,
      "resolved": true
    },
    {
      "id": "4fc4f883-9c17-4347-841e-0b1934084a79",
      "itemType": "Course",
      "code": "ZZSC5836",
      "year": 2026,
      "name": "Data Mining and Machine Learning",
      "uoc": 6,
      "resolved": true
    }
  ],
  "children": []
}
```

**SDK Code**

```python institution_catalogue_structure_Get a structure details with program check_example
import requests

url = "https://https/institution/catalogue/structures/d2e6ab7e-bf92-466b-9003-e671b3df1f54#getInstitutionCatalogueStructuresStructureid2"

querystring = {"programCode":"7446","programYear":"2026"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript institution_catalogue_structure_Get a structure details with program check_example
const url = 'https://https/institution/catalogue/structures/d2e6ab7e-bf92-466b-9003-e671b3df1f54?programCode=7446&programYear=2026#getInstitutionCatalogueStructuresStructureid2';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go institution_catalogue_structure_Get a structure details with program check_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://https/institution/catalogue/structures/d2e6ab7e-bf92-466b-9003-e671b3df1f54?programCode=7446&programYear=2026#getInstitutionCatalogueStructuresStructureid2"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby institution_catalogue_structure_Get a structure details with program check_example
require 'uri'
require 'net/http'

url = URI("https://https/institution/catalogue/structures/d2e6ab7e-bf92-466b-9003-e671b3df1f54?programCode=7446&programYear=2026#getInstitutionCatalogueStructuresStructureid2")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java institution_catalogue_structure_Get a structure details with program check_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://https/institution/catalogue/structures/d2e6ab7e-bf92-466b-9003-e671b3df1f54?programCode=7446&programYear=2026#getInstitutionCatalogueStructuresStructureid2")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php institution_catalogue_structure_Get a structure details with program check_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://https/institution/catalogue/structures/d2e6ab7e-bf92-466b-9003-e671b3df1f54?programCode=7446&programYear=2026#getInstitutionCatalogueStructuresStructureid2', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp institution_catalogue_structure_Get a structure details with program check_example
using RestSharp;

var client = new RestClient("https://https/institution/catalogue/structures/d2e6ab7e-bf92-466b-9003-e671b3df1f54?programCode=7446&programYear=2026#getInstitutionCatalogueStructuresStructureid2");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift institution_catalogue_structure_Get a structure details with program check_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://https/institution/catalogue/structures/d2e6ab7e-bf92-466b-9003-e671b3df1f54?programCode=7446&programYear=2026#getInstitutionCatalogueStructuresStructureid2")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```