Update Service

put

/appstore/publisher/v1/services/{listingVersionId}

Update the service listing. Only sevices 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
Path Parameters
Body ()
Service Listing Information to be updated.
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

200 Response

Successful Operation
Body ()
Root Schema : acknowledgement
Type: object
Show Source

400 Response

Bad Request

401 Response

Not Authorized

500 Response

System Error
Back to Top

Examples

The following example updates the existing service, by submitting a PUT request on the REST resource using cURL.

cURL Example

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

Request Header

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

Request Body

{
    "name": "myservice Updated",
    "industries": [
        {
            "code": "HEALTHCARE"       
        }
    ],
    "tagLine": "My sample Tag line",
    "tags" : "myservice,test",
    "products": [
        {
            "code": "compute"            
        },
        {
           "code" :"social"
        }
    ],
    "additionalInfo": {
        "vanityURL": "https://cloudmarketplace-stage.oracle.com/marketplace/app/vanityurlsample1testjan112",
        "vanityURLSuffix": "vanityurlsample1testjan112"
    },
    "contactUs": "

Contact Us Info

", "shortDescription": "really really short description", "longDescription": "really really long description", "languages": [ { "code": "cs_CZ" }, { "code": "en_US" } ] }

HTTP Status Code:

200 OK

JSON Response:

{
  "message": "Listing was updated successfully.",
  "entityId": "132361440",
  "name": "myservice updated"
}
Back to Top