PUT Offerings({id})/Validate
Validate details to update an offering. See Validation.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | ID of the offering to validate the update for. |
Type: String |
Request body type
Request body formats
application/json, text/json
Sample:
{
"Name": "Application",
"DisplayName": "Best App",
"Comment": "The best app",
"Description": "My app",
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
],
"Arguments": "",
"ClientFolder": "MyApps",
"CpuPriorityLevel": "Normal",
"EnableState": "Enabled",
"ShortcutAddedToDesktop": true,
"ShortcutAddedToStartMenu": true,
"StartMenuFolder": "Programs/MyApps",
"WaitForPrinterCreation": false,
"WorkingDirectory": "C:\\Program Files\\MyApp",
"ConfiguredFileTypes": [
{
"ExtensionName": ".txt",
"ContentType": "application/text",
"Name": "App.1",
"Description": "Text file",
"HandlerOpen": "C:\\Program Files\\myapp\\app.exe -file %1",
"HandlerOpenExecutableName": "app.exe",
"HandlerOpenArguments": "-file %1",
"HandlerEdit": "C:\\Program Files\\myapp\\app.exe -file %1",
"HandlerEditExecutableName": "app.exe",
"HandlerEditArguments": "-file %1"
}
]
}
Response Information
See Validation.
Response type
ValidationResultModel<UpdateOfferingModel>
Response body formats
application/json, text/json
Sample:
{
"Input": {
"Name": "Application",
"DisplayName": "Best App",
"Comment": "The best app",
"Description": "My app",
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
],
"Arguments": "",
"ClientFolder": "MyApps",
"CpuPriorityLevel": "Normal",
"EnableState": "Enabled",
"ShortcutAddedToDesktop": true,
"ShortcutAddedToStartMenu": true,
"StartMenuFolder": "Programs/MyApps",
"WaitForPrinterCreation": false,
"WorkingDirectory": "C:\\Program Files\\MyApp",
"ConfiguredFileTypes": [
{
"ExtensionName": ".txt",
"ContentType": "application/text",
"Name": "App.1",
"Description": "Text file",
"HandlerOpen": "C:\\Program Files\\myapp\\app.exe -file %1",
"HandlerOpenExecutableName": "app.exe",
"HandlerOpenArguments": "-file %1",
"HandlerEdit": "C:\\Program Files\\myapp\\app.exe -file %1",
"HandlerEditExecutableName": "app.exe",
"HandlerEditArguments": "-file %1"
}
]
},
"Errors": [
{
"MemberNames": [
"Name"
],
"ErrorMessage": "Name already in use",
"ErrorCode": "Conflict"
}
]
}