Create Services

post

/appstore/publisher/v1/services

Create a new Service listing. Service goes through a state lifecycle.A newly created Service starts off in the "New" state. Service edits are allowed in this state.To publish the listing to the Marketplace, the service listing needs to be submitted for Approval.

Request

Supported Media Types
Body ()
Root Schema : Listing
Type: object
Show Source
Nested Schema : AdditionalInfo
Type: object
Show Source
Nested Schema : Banner
Type: object
Show Source
Nested Schema : customerStories
Type: array
Show Source
Nested Schema : Icon
Type: object
Show Source
Nested Schema : industries
Type: array
Show Source
Nested Schema : languages
Type: array
Show Source
Nested Schema : Item
Type: object
Show Source
Nested Schema : locations
Type: array
Show Source
Nested Schema : numberOfTrainedProfessionals
Type: object
Additional Properties Allowed
Show Source
Nested Schema : products
Type: array
Show Source
Nested Schema : Progress
Type: object
Show Source
Nested Schema : relatedDocuments
Type: array
Show Source
Nested Schema : screenShots
Type: array
Show Source
Nested Schema : serviceProviders
Type: array
Show Source
Nested Schema : SuccessStory
Type: object
Show Source
Nested Schema : UploadFile
Type: object
Show Source
Nested Schema : InputStream
Type: object
Nested Schema : Location
Type: object
Show Source
Nested Schema : product
Type: object
Show Source
Nested Schema : categories
Type: array
Show Source
Nested Schema : filters
Type: array
Show Source
Nested Schema : ProductFilter
Type: object
Show Source
Nested Schema : values
Type: array
Show Source
Nested Schema : RelatedDocs
Type: object
Show Source
Nested Schema : ScreenShots
Type: object
Show Source
Nested Schema : ServiceProvider
Type: object
Show Source
Back to Top

Response

Supported Media Types

400 Response

Invalid Parameter Value

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example creates the service, by submitting a POST request on the REST resource using cURL.

cURL Example

curl -X POST -H "Authorization: Bearer Access-token"  -H "X-Oracle-UserId: partner-email" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/services"

Request Header

Authorization: Bearer Access-token 
X-Oracle-UserId: fname.lname@oracle.com 

Request Body

{
    "name": "Myservice",
    "industries": [
        {
            "code": "HEALTHCARE"       
        }
    ],
    "tagLine": "My sample Tag line",
    "tags" : "myservice,test",
    "products": [
        {
            "code": "compute"            
        }
    ],
    "shortDescription": "really really short description",
    "longDescription": "really really long description",   
   "languages": [
        {
            "code": "cs_CZ"
        },
        {
            "code": "en_US"

        }
    ],
    "listingContentLanguage":{
        "code":"fr_FR",
        "name":"French"
    },
    "additionalInfo": {
        "vanityURL": "https://cloudmarketplace.oracle.com/marketplace/service/123456",
        "vanityURLSuffix": "123456"
    },
     "contactUs": "

Contact Us Info

" } }

HTTP Status Code:

200 OK

JSON Response:

{
  "message": "Listing was created successfully.",
  "entityId": "9483951",
  "name": "Myservice"
}
Back to Top