カスタム属性のリストを取得する
このメソッドを使用して、カスタム属性のリストを取得します。
Request rate limit:
5 requests / 秒 (アカウント1件につき)
query パラメータ
limit | integer <int32> Example: limit=100 ページごとに返すカスタム属性の数。既定値は 20 です。最大値 - 1000。 |
page | integer <int32> Example: page=1 返す結果のページ。既定値は 1 です。 |
includeTotalCount | boolean Example: includeTotalCount=false カスタム属性の合計数を返します ( |
orderBy | string Example: orderBy=name:asc 結果の順序付け。可能な順序付けフィールドは、 |
レスポンス
default
successful response
401
Unauthorized
403
Forbidden
429
Too Many Requests
4XX
Error responses
500
Internal Server Error
5XX
Error responses
サンプルをリクエストする
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
例
cURL
コピー
curl -L -g 'https://{baseUrl}/people/2/customAttributes?limit=100&page=1&includeTotalCount=false&orderBy=name%3Aasc' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
レスポンス例
- default
- 401
- 403
- 429
- 4XX
- 500
- 5XX
コンテンツタイプ
application/json
コピー
すべて折りたたむ {- "limit": 100,
- "page": 1,
- "orderBy": "name:asc",
- "customAttributes": [
- {
- "createdAt": "2019-02-25T12:46:06",
- "modifiedAt": "2019-02-25T12:46:06",
- "name": "Contract Expiry Date",
- "dataType": "DATE"
}, - {
- "createdAt": "2019-02-25T12:46:06",
- "modifiedAt": "2019-02-25T12:46:06",
- "name": "ShoppingCartList",
- "dataType": "LIST_OF_OBJECTS",
- "objectSchema": {
- "productName": "STRING",
- "productPrice": "DECIMAL",
- "productCategory": "STRING",
- "productImage": "STRING"
}
}
]
}

© NTTCom Online Marketing Solutions Corporation