curl --request POST \
--url https://api.example.com/displaymode/slot/save-with-style \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayModeReleaseID": 123,
"positionUsageTypeID": 123,
"widgetTypeID": 123,
"applyPercent": 100,
"slotStyle": {
"displayModeReleaseID": 123,
"slotID": 123,
"slotStyleID": 123,
"elementTypeCode": "<string>",
"styleTypeCode": "<string>",
"positionTypeCode": "<string>",
"value": "<string>",
"languageID": 1
}
}
'{
"success": true,
"data": "<unknown>"
}Save new slot with an initial style attached to it.
curl --request POST \
--url https://api.example.com/displaymode/slot/save-with-style \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayModeReleaseID": 123,
"positionUsageTypeID": 123,
"widgetTypeID": 123,
"applyPercent": 100,
"slotStyle": {
"displayModeReleaseID": 123,
"slotID": 123,
"slotStyleID": 123,
"elementTypeCode": "<string>",
"styleTypeCode": "<string>",
"positionTypeCode": "<string>",
"value": "<string>",
"languageID": 1
}
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.