curl --request POST \
--url https://api.example.com/concat/reorder-news \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"toContentNews": {
"code": "<string>",
"type": "<string>",
"ismConcatID": 123,
"news": [
{
"newsID": 123,
"sortOrder": 123
}
]
},
"fromContentNews": {
"code": "<string>",
"type": "<string>",
"ismConcatID": 123,
"news": [
{
"newsID": 123,
"sortOrder": 123
}
]
}
}
'{
"success": true,
"data": "<unknown>"
}Reorders news item in its ordered position, as well as from one ism / concat to another in a specific ordered position.
curl --request POST \
--url https://api.example.com/concat/reorder-news \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"toContentNews": {
"code": "<string>",
"type": "<string>",
"ismConcatID": 123,
"news": [
{
"newsID": 123,
"sortOrder": 123
}
]
},
"fromContentNews": {
"code": "<string>",
"type": "<string>",
"ismConcatID": 123,
"news": [
{
"newsID": 123,
"sortOrder": 123
}
]
}
}
'{
"success": true,
"data": "<unknown>"
}