# Update Application - UpdateMVApp

## Overview

Update Application






## Definition

### Public Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **Action**     | string  | Corresponding API command name, the current API is `UpdateMVApp`.                      | **Yes** |
| **PublicKey**  | string  | The user's public key can be obtained from [Console](https://console.genesissai.com/uaccount/api_manage)                                             | **Yes** |
| **Signature**  | string  | User signature generated based on public key and API command, see [Signature Algorithm](/docs/api/summary/signature.md)  | **Yes** |

### Request Parameters

| Parameter Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **AppID** | string | Application ID |**Yes**|
| **AppName** | string | Application Name |No|
| **AppType** | int | Application Type |No|
| **AppState** | int | Application Status |No|
| **LLMID** | string | Language Model ID |No|
| **LLMTemperature** | int | Model sampling temperature, open interval (0,100), default value 95 |No|
| **LLMTopP** | int | Model Sampling Temperature (Core Sampling), open interval (0,100), default value 70 |No|
| **AppDes** | string | Application Description |No|

### Response Field

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **RetCode** | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. |**Yes**|
| **Action** | string | Operation command name. |**Yes**|
| **Message** | string | Returns an error message, providing detailed description when `RetCode` is non-zero. |No|
| **Msg** | string | When the Code is non-zero, it describes the error information. |**Yes**|
| **AppInfo** | [*AppInfo*](#appinfo) |  |**Yes**|

#### Data Model


#### AppInfo

| Field Name | Type | Description Information | Required |
|:---|:---|:---|:---|
| **AppName** | string | Application Name |No|
| **AppID** | string | Application ID |No|
| **AppType** | int | Application Type |No|
| **AppDes** | string | Application Description |No|
| **AppState** | int | Application Status |No|
| **LLMID** | string | Language Model ID |No|
| **LLMTemperature** | int | Model Sampling Temperature |No|
| **LLMTopP** | int | Another method of model sampling temperature (nucleus sampling) |No|
| **CreateTime** | int | Application Creation Time |No|
| **UpdateTime** | int | Application Update Time |No|

## Example

### Request Example
    
```
https://api.genesissai.com/?Action=UpdateMVApp
&AppID=IbOtvSyH
&AppName=vdviIEqG
&AppType=3
&AppState=4
&LLMID=yuCaqhuB
&LLMTemperature=1
&LLMTopP=6
&AppDes=dmxVmsyS
```

### Response Example
    
```json
{
  "Action": "UpdateMVAppResponse",
  "AppInfo": {},
  "Msg": "OGqXIivZ",
  "RetCode": 0
}
```





