Create a Partner Organization Style Sheet
post
/rest/v16/companies/{companyLoginName}/styleSheets
This endpoint creates a JET or alternate style sheet for a partner organization.
Request
Supported Media Types
- multipart/form-data
Path Parameters
-
companyLoginName(required): string
Company login name.
Form Parameters
-
file(required): file
CSS file to be uploaded.
-
name(required): string
Style sheet name.Allowed Values:
[ "alternate", "jet" ]
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 cteate a JET or alternate style sheet for a partner organization by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/companies/visionServices/styleSheets
Response Body Sample
{ "name": "alternate", "links": [{ "rel": "self", "href": "http://sitename.oracle.com/rest/v16/companies/visionServices/styleSheets/alternate" } ] }