curl --request POST \
--url https://api.example.com/displaymode/slot/save-with-media \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sourceType": "DB",
"mediaSourceType": 1,
"situationTypeID": 1,
"displayModeReleaseID": 123,
"positionUsageTypeID": 123,
"widgetTypeID": 123,
"applyPercent": 100,
"slotID": 123,
"stagedFileCode": "AB41D048-FDF7-4FF6-9D50-CDC4D9BF5EFF",
"mediaCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tinyPointer": "<string>",
"mediaTypeID": 1,
"thirdPartyMediaCode": "<string>",
"thumbnailPointer": "<string>",
"mediaURL": "<string>"
}
'{
"success": true,
"data": "<unknown>"
}Save new slot with an initial media item attached to it.
curl --request POST \
--url https://api.example.com/displaymode/slot/save-with-media \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sourceType": "DB",
"mediaSourceType": 1,
"situationTypeID": 1,
"displayModeReleaseID": 123,
"positionUsageTypeID": 123,
"widgetTypeID": 123,
"applyPercent": 100,
"slotID": 123,
"stagedFileCode": "AB41D048-FDF7-4FF6-9D50-CDC4D9BF5EFF",
"mediaCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tinyPointer": "<string>",
"mediaTypeID": 1,
"thirdPartyMediaCode": "<string>",
"thumbnailPointer": "<string>",
"mediaURL": "<string>"
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.
11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12