> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update the sensor layout given by its id with the information in the body

> To get the correct json structure, use the ```GET: /sensorlayouts/{id}``` service.



## OpenAPI

````yaml docs/avxcelerate/sensor-layouts-rest-api/SensorLayout_v3_261.json PUT /avx-sensorlabs/v3/sensorlayouts/{id}
openapi: 3.0.4
info:
  title: Sensor Layouts
  description: >-
    The Sensor Layouts REST API allows you to manage your Sensor Layouts
    Library, create new sensor layouts or update existing ones, and download
    sensor layouts as files.
  version: v3
servers: []
security: []
paths:
  /avx-sensorlabs/v3/sensorlayouts/{id}:
    put:
      tags:
        - SensorLayouts
      summary: >-
        Update the sensor layout given by its id with the information in the
        body
      description: >-
        To get the correct json structure, use the ```GET:
        /sensorlayouts/{id}``` service.
      parameters:
        - name: id
          in: path
          description: Unique identifier of the sensor layout in the library.
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        description: Json containing all properties of the sensor layout.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.LayoutData'
          text/json:
            schema:
              $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.LayoutData'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.LayoutData'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LayoutRead.Identifier'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response.ProblemDetails'
components:
  schemas:
    Pre.SensorLayouts.v3.Data.LayoutData:
      type: object
      properties:
        metadata:
          $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.LayoutMetadata'
        root:
          $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.TreeNode'
        missingSensorNames:
          type: array
          items:
            type: string
          description: List of missing sensor names.
          nullable: true
      additionalProperties: false
    LayoutRead.Identifier:
      type: object
      properties:
        id:
          type: string
          format: uuid
      additionalProperties: false
    Response.ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        status:
          type: integer
          format: int32
          nullable: true
        detail:
          type: string
          nullable: true
        instance:
          type: string
          nullable: true
      additionalProperties: {}
    Pre.SensorLayouts.v3.Data.LayoutMetadata:
      type: object
      properties:
        name:
          type: string
          description: Name of the layout.
          nullable: true
        manufacturer:
          type: string
          description: Manufacturer.
          nullable: true
        version:
          type: string
          description: Version.
          nullable: true
        comment:
          type: string
          description: Comment.
          nullable: true
        vehicleModel:
          type: string
          description: Vehicle model.
          nullable: true
      additionalProperties: false
      description: Metadata of the layout.
    Pre.SensorLayouts.v3.Data.TreeNode:
      type: object
      properties:
        nodeName:
          type: string
          nullable: true
        transform:
          $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.Transform'
        sensorInfo:
          $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.SensorInfo'
        children:
          type: array
          items:
            $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.TreeNode'
          nullable: true
      additionalProperties: false
    Pre.SensorLayouts.v3.Data.Transform:
      type: object
      properties:
        position:
          $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.Position'
        rotation:
          $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.Rotation'
      additionalProperties: false
    Pre.SensorLayouts.v3.Data.SensorInfo:
      type: object
      properties:
        id:
          type: string
          description: Sensor id.
          format: uuid
        type:
          $ref: '#/components/schemas/Pre.SensorLayouts.v3.Data.SensorType'
        name:
          type: string
          description: Sensor name.
          nullable: true
      additionalProperties: false
    Pre.SensorLayouts.v3.Data.Position:
      type: object
      properties:
        x:
          type: number
          description: Translation following X direction (m).
          format: double
        'y':
          type: number
          description: Translation following Y direction (m).
          format: double
        z:
          type: number
          description: Translation following Z direction (m).
          format: double
      additionalProperties: false
      description: Position.
    Pre.SensorLayouts.v3.Data.Rotation:
      type: object
      properties:
        x:
          type: number
          description: Rotation X value (deg).
          format: double
        'y':
          type: number
          description: Rotation Y value (deg).
          format: double
        z:
          type: number
          description: Rotation Z value (deg).
          format: double
      additionalProperties: false
      description: Rotation.
    Pre.SensorLayouts.v3.Data.SensorType:
      type: object
      properties:
        type:
          type: string
          nullable: true
      additionalProperties: false

````