並べ替え
並べ替えは、デフォルトで昇順で使用できます。 降順で並べ替えるには、「 %20desc から _order パラメーターの値。
フィールドを並べ替えることができるかどうかを知るには、リソースメタデータに「sortable」パラメーターをチェックします。 詳しくは、この節を参照してください。
リクエストのサンプル
-
GET内の E メールをアルファベット順に取得するサンプルデータリクエスト。
code language-none -X GET https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServices/profile/email?_order=email \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer <ACCESS_TOKEN>' \ -H 'Cache-Control: no-cache' \ -H 'X-Api-Key: <API_KEY>'
リクエストへの応答。
code language-none { "content": [ "adam@email.com", "allison.durance@example.com", "amy.dakota@mail.com", "andrea.johnson@mail.com", ... ] ... }
-
GET内の E メールを降順で取得するサンプルデータリクエスト。
code language-none -X GET https://mc.adobe.io/<ORGANIZATION>/campaign/profileAndServices/profile/email?_order=email%20desc \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer <ACCESS_TOKEN>' \ -H 'Cache-Control: no-cache' \ -H 'X-Api-Key: <API_KEY>'
リクエストへの応答。
code language-none { "content": [ "tombinder@example.com", "tombinder@example.com", "timross@example.com", "john.smith@example.com", ... ] }
recommendation-more-help
3ef63344-7f3d-48f9-85ed-02bf569c4fff