Update a Partner Organization Style Sheet
put
/rest/v16/companies/{companyLoginName}/styleSheets/{name}
This endpoint replaces the entire partner organization style sheet with the style sheet values specified in the web services request.
Request
Supported Media Types
- multipart/form-data
Path Parameters
-
companyLoginName(required): string
Company login name.
-
name(required): string
Style sheet name.Allowed Values:
[ "alternate", "jet" ]
Form Parameters
-
file(required): file
CSS file to be uploaded.
Response
Supported Media Types
- application/json
Default Response
Company style sheet details.
Root Schema : Style Sheet
Type:
object
Title:
Show Source
Style Sheet
-
links:
array Links
Title:
Links
Links to current objects. -
name:
string
Title:
Style Sheet Name
Unique name for the style sheet.
Nested Schema : Links
Type:
array
Title:
Links
Links to current objects.
Show Source
-
Array of:
object reference links
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Nested Schema : reference links
Type:
object
Title:
reference links
Reference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related object
URL to the related object -
name:
string
-
rel:
string
Title:
Link Relationship to the current object
Default Value:self
Link Relationship to the current object
Examples
The following example shows how to replaces the entire partner organization style sheet with the style sheet values specified in the web services request by submitting a PUT request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X PUT -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/companies/visionServices/styleSheets/alternate
Response Body Sample
{ "name": "alternate", "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v16/companies/visionServices/styleSheets/alternate" } ] }