Create Application
post
/appstore/publisher/v1/applications
Create a new application listing. The application goes through a state lifecycle. A newly created application starts off in the "New" state. Application edits are allowed in this state. To publish the listing to the Marketplace, the application listing needs to be submitted for approval.
Request
Supported Media Types
- application/xml
- application/json
Provide the body with required information.
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
Invalid Parameter Value/Bad Request
401 Response
Not Authorized
500 Response
System Error
Examples
The following example creates a new application for a partner and return the newly created listing ID by submitting a POST request on the REST resource using cURL.
cURL Example
curl -X POST -H "X-Oracle-UserId: partner-email" -H "Content-Type: application/json" -H "Authorization: Bearer Access-token -d JSON-data-as-shown-in-below-example' "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token Content-Type: application/json
Request Body
{ "name": "REST API Test App01", "shortDescription": "White", "longDescription": "Example", "usageInformation": "Usage information for the App01", "tags": "Fusion CRM", "tagLine": "Sales Training Software | Sales Enablement", "versionDetails": { "versionNumber": "1.0v", "description": "Initial Release", "releaseDate": "2013-06-30T07:00:00.000Z" }, "languages": [ { "code": "en_US" }, { "code": "fr_FR" } ], "products": [ { "code": "SALES", "categories": [ { "code": "LEAD" }, { "code": "OPPORTUNITY" } ], "filters": [ { "code": "FILTERNAME", "values": [ { "code": "FILTERVALUECODE1" }, { "code": "FILTERVALUECODE2" } ] } ] }, { "code": "MARKETING", "categories": [ { "code": "CHANNEL" } ], "filters": [ { "code": "FILTERNAME", "values": [ { "code": "FILTERVALUECODE1" }, { "code": "FILTERVALUECODE2" } ] } ] } ], "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": "Subscription charges" }, "markets": [{ "code": "US", "name": "US Commercial", "category": "Commercial", "billToCountries" : [ "United States" ] }], "downloadInfo": { "type": "TEXT", "value": "getapp" }, "systemRequirements": "Test Notes Version 7, 8 and 9 are supported", "support": { "contacts": [ { "name": "Technical Support", "phone": "1-908-679-0000", "email": "fname.lname@oracle.com", "subject": "Test subject" } ], "links": [ { "name": "Test Listing Link", "url": "https://www.oracle.com" } ] }, "availableInAllRegions" : false }
HTTP Status Code:
201 Created
JSON Response:
{ "message": "Listing was created successfully.", "entityId": "8422402", "name": "REST API Test App01" }Back to Top