Create a Partner Organization Style Sheet
post
/rest/v19/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:
objectTitle:
Show Source
Style Sheet-
links:
array Links
Title:
LinksLinks to current objects. -
name:
string
Title:
Style Sheet NameUnique name for the style sheet.
Nested Schema : Links
Type:
arrayTitle:
LinksLinks to current objects.
Show Source
-
Array of:
object reference links
Title:
reference linksReference links for the Parent, Self, Children and Related as applicable
Nested Schema : reference links
Type:
objectTitle:
reference linksReference links for the Parent, Self, Children and Related as applicable
Show Source
-
href:
string
Title:
URL to the related objectURL to the related object -
name:
string
-
rel:
string
Title:
Link Relationship to the current objectDefault Value:selfLink 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 -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/companies/visionServices/styleSheets
Response Body Sample
{
"name": "alternate",
"links": [{
"rel": "self",
"href": "http://sitename.oracle.com/rest/v19/companies/visionServices/styleSheets/alternate"
}
]
}