Update Application
put
/appstore/publisher/v1/applications/{listingVersionId}
Update the Application listing. Only applications in a NEW or REJECTED state can be updated. To update a listing that is published, a new version of the listing must be created.
Request
Supported Media Types
- application/xml
- application/json
Path Parameters
-
listingVersionId: integer(int64)
Unique identifier of an application for which information is to be updated.
Unique identifier of an application for which information is to be updated.
Root Schema : AppListing
Type:
Show Source
object
-
additionalInfo(optional):
object AdditionalInfo
-
availableInAllRegions(optional):
boolean
Default Value:
true
-
banner(optional):
object Banner
-
demoURL(optional):
string
-
deviceType(optional):
object Item
-
downloadInfo(optional):
object DownloadInfo
-
icon(optional):
object Icon
-
isPrivate(optional):
boolean
-
languages(optional):
array languages
-
lastUpdateDate(optional):
string
-
links(optional):
array link
-
listingContentLanguage(optional):
object Item
-
listingId(optional):
integer(int64)
-
listingVersionId(optional):
integer(int64)
-
longDescription(optional):
string
-
markets(optional):
array markets
-
name(optional):
string
-
packageAvailable(optional):
boolean
-
preInstallNoteDetails(optional):
object ListingPreInstallNote
-
pricing(optional):
object PricingDetails
-
privateURL(optional):
string
-
products(optional):
array products
-
progress(optional):
object Progress
-
recommededServiceIntegrators(optional):
array recommededServiceIntegrators
-
regions(optional):
array regions
- relatedDocuments(optional): array relatedDocuments
-
screenShots(optional):
array screenShots
-
shortDescription(optional):
string
-
status(optional):
string
-
support(optional):
object SupportInfo
-
supportingDocuments(optional):
array supportingDocuments
-
systemRequirements(optional):
string
-
tagLine(optional):
string
-
tags(optional):
string
-
usageInformation(optional):
string
-
versionDetails(optional):
object ListingVersion
-
versionedListing(optional):
string
Nested Schema : Link
Type:
Show Source
object
-
href(optional):
string
-
rel(optional):
string
Allowed Values:
[ "SELF", "CANONICAL", "NEXT", "TEMPLATE", "PREV" ]
Nested Schema : market
Type:
Show Source
object
-
billToCountries(optional):
array billToCountries
The list of countries of customer
-
category:
string
The category of the market
-
code:
string
The code of the market
-
name:
string
The name of the market
Nested Schema : UploadData
Type:
Show Source
object
-
contentType(optional):
string
-
contentURL(optional):
string
-
description(optional):
string
-
fileExtension(optional):
string
-
fileName(optional):
string
-
forOracleUsersOnly(optional):
boolean
Default Value:
false
-
mimeType(optional):
string
-
name(optional):
string
-
resourceURL(optional):
string
-
sourceType(optional):
string
-
sourceURL(optional):
string
Nested Schema : RelatedDocs
Type:
Show Source
object
-
contentId(optional):
integer(int64)
-
contentType(optional):
string
-
contentURL(optional):
string
-
description(optional):
string
-
file(optional):
object UploadFile
-
fileExtension(optional):
string
-
fileName(optional):
string
-
forOracleUsersOnly(optional):
boolean
-
mimeType(optional):
string
-
name(optional):
string
-
resourceURL(optional):
string
-
sourceType(optional):
string
-
sourceURL(optional):
string
Nested Schema : InputStream
Type:
object
Nested Schema : SupportingDocs
Type:
Show Source
object
-
contentId(optional):
integer(int64)
-
contentType(optional):
string
-
contentURL(optional):
string
-
description(optional):
string
-
file(optional):
object UploadFile
-
fileExtension(optional):
string
-
fileName(optional):
string
-
forOracleUsersOnly(optional):
boolean
-
mimeType(optional):
string
-
name(optional):
string
-
resourceURL(optional):
string
-
sourceType(optional):
string
-
sourceURL(optional):
string
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
400 Response
Bad Request
401 Response
Not Authorized
500 Response
System Error
Examples
The following example updates an application belonging to a partner and shows the new listingVersionId, by submitting a PUT request on the REST resource using cURL.
cURL Example
curl -X PUT -H "X-Oracle-UserId: partner-email" -H "Content-Type: application/json" -H "Authorization: Bearer Access-token" -d JSON-data-as-shown-in-following-example "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/3189560"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token Content-Type: application/json
Request Body
{ "name": "REST API Test App01", "languages": [ { "code": "en_US" }, { "code": "da_DK" } ], "products": [ { "code": "sales", "categories": [ { "code": "SALES_METHODOLOGIES" } ], "filters": [ { "code": "Category", "values": [ { "code": "Category" } ] } ] } ], "deviceType": { "code": "BROWSER" }, "demoURL": "https://www.youtube.com/watch?v=Re4UA6_sD1E", "additionalInfo": { "vanityURL": "https://cloudmarketplace-stage.oracle.com/marketplace/app/vanityurlsample1testjan112", "vanityURLSuffix": "vanityurlsample1testjan112" }, "pricing": { "type": "PAID", "description": "This ain't no free stuff" }, "downloadInfo": { "type": "URL", "value": "www.anyGetappURL.com/myapp" }, "shortDescription": "Updated short description", "longDescription": "Updated long description via PUT", "usageInformation": "Updated usage information via PUT", "tags": "Fusion CRM", "tagLine": "Sales Training Software | Sales Enablement", "versionDetails": { "versionNumber": "1.0v", "description": "beta version", "releaseDate": "2013-06-30T07:00:00.000Z" }, "systemRequirements": "Initial Release", "recommededServiceIntegrators": [ { "name": "Recommended Services 1" }, { "name": "Reocmmended Services 2" } ], "support": { "contacts": [ { "name": "Technical Support", "phone": "1-908-679-0000", "email": "fname.lname@oracle.com", "subject": "Updated test subject via PUT" } ], "links": [ { "name": "Test Listing Link", "url": "https://www.oracle.com" } ] } }
HTTP Status Code:
200 OK
JSON Response:
{ "message":"Listing was updated successfully.", "entityId":"8422402", "name":"REST API Test App01" }Back to Top