POST Offerings
Create one or more new offerings.
Request Information
Request body type
Request body formats
application/json, text/json
Sample:
{ "SessionMachineCatalogId": "628fa898-0c36-4024-8fe4-d7e9a9bfbcfa", "IsolationMode": "PrivateDeliveryGroup", "Items": [ { "Origin": "MachineImport", "DiscoveredApplicationId": "1c58d824-2838-4c70-9a1f-348afb244157" } ], "Tags": [ "tag" ], "CustomProperties": [ { "Name": "myProperty", "Value": "myValue" } ], "Comment": "Created by joe" }
Response Information
A list of offerings created.
Response type
CollectionResultModel<OfferingModel>
Response body formats
application/json, text/json
Sample:
{ "Href": "[api:Offerings]", "Count": 1, "TotalMatchingFilter": 1, "Items": [ { "Href": "[api:Offerings(2f08f456-7ec8-4edc-866d-25037776ef4f)]", "Id": "2f08f456-7ec8-4edc-866d-25037776ef4f", "Name": "Application", "ShortName": "myapp", "ChangeId": "12", "DisplayName": "Best App", "Comment": "The best app", "Description": "My app", "Tags": [ "tag" ], "CustomProperties": [ { "Name": "myProperty", "Value": "myValue" } ], "DeleteState": "NotDeleted", "IsolationMode": "PrivateDeliveryGroup", "Icon": { "Href": "[api:Icons(00000000-0000-0000-0000-000000000002)]", "RelatedTo": "2f08f456-7ec8-4edc-866d-25037776ef4f", "Id": "00000000-0000-0000-0000-000000000002" }, "DeliveryControllerArchitecture": "FMA", "SessionMachineCatalog": { "Href": "[api:SessionMachineCatalogs(628fa898-0c36-4024-8fe4-d7e9a9bfbcfa)]", "Name": "catalog 1", "Id": "628fa898-0c36-4024-8fe4-d7e9a9bfbcfa" }, "Arguments": "", "ClientFolder": "MyApps", "CpuPriorityLevel": "Normal", "EnableState": "Enabled", "Executable": "C:\\Program Files\\MyApp\\myapp.exe", "OfferingType": "ServerInstalled", "ShortcutAddedToDesktop": true, "ShortcutAddedToStartMenu": true, "StartMenuFolder": "Programs/MyApps", "WaitForPrinterCreation": false, "WorkingDirectory": "C:\\Program Files\\MyApp", "HealthSummary": { "ActiveCount": 0, "ErrorCount": 0, "WarningCount": 0, "InfoCount": 1, "Messages": [ { "Text": "Attempting to reach desired capacity", "IsError": false, "IsWarning": false, "IsInfo": false, "IsActive": true, "Type": "Allocation" } ] }, "IsInLatestVersion": true, "IsInAllVersions": true, "NumSubscriptions": 1 } ] }