Partially Update Service Providers

patch

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

Partially Update a service provider for the application.

Request

Supported Media Types
Path Parameters
Body ()
Upload the required resources and provide required information.
Root Schema : FormDataMultiPart
Type: object
Show Source
Nested Schema : bodyParts
Type: array
Show Source
Nested Schema : ContentDisposition
Type: object
Show Source
Nested Schema : entity
Type: object
Nested Schema : fields
Type: object
Additional Properties Allowed
Show Source
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source
Nested Schema : MediaType
Type: object
Show Source
Nested Schema : parameterizedHeaders
Type: object
Additional Properties Allowed
Show Source
Nested Schema : MultiPart
Type: object
Show Source
Nested Schema : Providers
Type: object
Nested Schema : BodyPart
Type: object
Show Source
Nested Schema : entity
Type: object
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source
Nested Schema : parameterizedHeaders
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : ParameterizedHeader
Type: object
Show Source
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : FormDataBodyPart
Type: object
Show Source
Nested Schema : entity
Type: object
Nested Schema : FormDataContentDisposition
Type: object
Show Source
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source
Nested Schema : parameterizedHeaders
Type: object
Additional Properties Allowed
Show Source
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : bodyParts
Type: array
Show Source
Nested Schema : entity
Type: object
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source
Nested Schema : parameterizedHeaders
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

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

400 Response

Bad Request

401 Response

Not Authorized

404 Response

Entity Not Found

500 Response

System Error
Back to Top

Examples

The following example partially updates the serviceprovider details for an existing service belonging to a partner, by submitting a PATCH request on the REST resource using cURL.

cURL Example

curl -X PATCH -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" -H "Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW " -F "file=@file-path" -F "json=JSON-data-as-shown-in-following-example" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/services/2828604/serviceproviders/2828616"

Request Header

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

Request Body

[form-data]

file: File Upload
{ 
    "name": "n1 modifiee1", 
    "description": "Create serviceprovider" 
}

HTTP Status Code:

200 OK

JSON Response:

{
    "message": "Service provider upload was successful",
    "entityId": "2828616",
    "name": "n1 modifiee1"
}
Back to Top