次のJSONコードに示すような内容のレスポンスを予測できます。
{ "hasMore": true, "limit": 1, "count": 1, "items": [{ "_last_document_number": "38", "totalContractValue_t": "236133.32", "_buyer_company_name": "A Company", "totalOneTimeNetAmount_t": "60045.28", "totalMonthlyDiscount_t": "0", "totalOneTimeListAmount_t": "60355.28", "_id": "36311839", "_step_var_name": "pending_process", "transactionName_t": "TestCo1 #1", "parent_transaction_id_versionTransaction_t": null, "priceWithinPolicy_t": "true", "_supplier_company_name": "A Company", "status_t": "CREATED", "owner_t": "Anna Howell", "totalOneTimeDiscount_t": "310", "lastUpdatedDate_t": "2015-02-26 10:23:00", "_document_var_name": "transaction", "transactionID_t": "CPQ-3", "createdDate_t": "2015-02-26 00:00:00", "_currency_pref": "USD", "totalMonthlyNetAmount_t": "4899.89", "lastPricedDate_t": "2015-02-26 10:15:00", "version_number_versionTransaction_t": "1", "_customer_t_company_name": "TestCo1", "_date_added": "2015-02-26 10:15:57.0", "_process_var_name": "varName1", "_date_modified": "2016-02-22 23:18:10.0", "totalMonthlyListAmount_t": "4899.89", "totalAnnualValue_t": "118843.96", "links": [{ "rel": "self", "href": "http://<cpqServerInstance>/rest/v1/commerceDocumentsOraclecpqoTransaction/36311839" }, { "name": "transactionLine", "rel": "child", "href": "http://<cpqServerInstance>/rest/v1/commerceDocumentsOraclecpqoTransaction/36311839/transactionLine", "kind": "" }] }], "links": [{ "rel": "canonical", "href": "http://<cpqServerInstance>/rest/v1/commerceDocumentsOraclecpqoTransaction" }, { "rel": "next", "href": "http://<cpqServerInstance>/rest/v1/commerceDocumentsOraclecpqoTransaction?limit=1&offset=1" }, { "rel": "self", "href": "http://<cpqServerInstance>/rest/v1/commerceDocumentsOraclecpqoTransaction?limit=1&offset=0" }], "offset": 0 }
limit=1
パラメータが使用されていた(最初の要素がリクエストされた)ため、hasMore
属性は、レスポンスがページ区切りされていることを示します。items
属性には、commerceDocumentsOraclecpqoTransaction
エンドポイントのすべてのフィールドと値が含まれ、links
属性には、他の子エンドポイントのURLが含まれます。