{

"get": {
  "operationId": "getAssetById",
  "description": "Get other asset",
  "tags": ["Other Asset"],
  "parameters": [
    { "$ref": "../../common/components.json#/components/request/parameters/token_param" },
    { "$ref": "../../common/components.json#/components/request/parameters/id_param" }
  ],
  "responses": {
    "200": {
      "description": "Object was returned correctly",
      "content": {
        "application/json": { "schema": { "$ref": "../../common/schemas/inventory/other_asset.json#/components/schemas/response" } },
        "application/xml": { "schema": { "$ref": "../../common/schemas/inventory/other_asset.json#/components/schemas/response" } }
      }
    },
    "400": { "description": "Bad request" },
    "404": { "description": "Not found" },
    "500": { "description": "Internal Server Error" }
  }
},
"put": {
  "operationId": "updateAssetById",
  "description": "Update other asset with specified fields",
  "tags": ["Other Asset"],
  "parameters": [
    { "$ref": "../../common/components.json#/components/request/parameters/token_param" },
    { "$ref": "../../common/components.json#/components/request/parameters/id_param" }
  ],
  "requestBody": {
    "required": true,
    "description": "Other asset fields to update",
    "content": {
      "application/json": { "schema": { "$ref": "../../common/schemas/inventory/other_asset.json#/components/schemas/request/put" } },
      "application/xml": { "schema": { "$ref": "../../common/schemas/inventory/other_asset.json#/components/schemas/request/put" } }
    }
  },
  "responses": {
    "200": {
      "description": "Object was updated correctly",
      "content": {
        "application/json": { "schema": { "$ref": "../../common/schemas/inventory/other_asset.json#/components/schemas/response" } },
        "application/xml": { "schema": { "$ref": "../../common/schemas/inventory/other_asset.json#/components/schemas/response" } }
      }
    },
    "400": { "description": "Bad request" },
    "404": { "description": "Not found" },
    "500": { "description": "Internal Server Error" }
  }
},
"delete": {
  "operationId": "deleteAssetById",
  "description": "Delete other asset",
  "tags": ["Other Asset"],
  "parameters": [
    { "$ref": "../../common/components.json#/components/request/parameters/token_param" },
    { "$ref": "../../common/components.json#/components/request/parameters/id_param" }
  ],
  "responses": {
    "200": {
      "description": "Returns the deleted other_asset's id",
      "content": {
        "application/json": {
          "example": { "deleted_ids": ["1"] }
        }
      }
    },
    "400": { "description": "Bad request" },
    "404": { "description": "Not found" },
    "500": { "description": "Internal Server Error" }
  }
}

}