Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • 開発Sitecore CDP
    • ベースURL
        • コレクション内の検索
        • 検索結果の並べ替え
        • 応答のページ分割
    • レスポンスコード
    • ゲストREST API v2.1
    • ゲストデータ拡張REST API v2.1
    • 注文REST API v2.1
    • 注文連絡先REST API v2.1
    • コンシューマー REST API v2.1を注文する
    • 注文データ拡張REST API v2.1
    • 注文品目データ拡張REST API v2.1
    • オーディエンスのエクスポートREST API
  1. コレクション・リソースの使用
  1. REST API
  2. コレクション・リソースの使用
  3. 検索結果の並べ替え

検索結果の並べ替え

日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

検索結果をソートするには、コレクション・リソースURLでソート・クエリ・パラメーターと対応するソート値 (ASCまたはDESCで大文字と小文字が区別されます) を指定します。この例のcURL呼び出しはsomeCollectionすべてのリソースを次の順序で返します。

  • someCollectionリソースcreatedAt日付は昇順でソートされます(大文字と小文字は区別されません)。

  • someCollectionリソースラベルは降順でソートされます(大文字と小文字は区別されません)。

someCollectionリソースでの検索結果の並べ替え:

curl -X GET '<baseURL>/v2/someCollection?sort=createdAt::ASC|label::DESC'
この記事を改善するための提案がある場合は、 お知らせください!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use