Data Analytics Service Overview
- Print
- PDF
Data Analytics Service Overview
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Summary
The Data Analytics Service API is provided in the RESTful format. This is accomplished through the POST method call of the HTTP method.
The suggestion API supports two suggestion methods: popular products and related products. A convenient suggestion service is provided according to the product page's settings.
Common Settings
Data Analytics Service API URL
POST
https://das.apigw.ntruss.com/
Request Headers
Header | Description |
---|---|
Content-Type | Binary transfer methodContent-Type:application/json |
X-NCP-APIGW-API-KEY-ID | Client ID of the authentication key on a product pageX-NCP-APIGW-API-KEY-ID:{Client ID} |
X-NCP-APIGW-API-KEY | Client Secret of the authentication key on a product pageX-NCP-APIGW-API-KEY:{Client Secret} |
Request Example
curl -i -s -X POST \
-H "Content-Type:application/json" \
-H "X-NCP-APIGW-API-KEY-ID:{Client ID}" \
-H "X-NCP-APIGW-API-KEY:{Client Secret}" \
-d '{"gender" : "U", "age" : 0, "count": 10, "userId": "", "itemId": "001"}' \
"https://das.apigw.ntruss.com/item2item/v1/rec/{customerId}/{siteId}/{regionId}"
Common Responses
Returned as an HTTP status code in the response body.
HTTP Status Code | Return Code | Description |
---|---|---|
200 | - | General request made successfully |
201 | - | Response code related to the success of resource creation |
400 | 77101 | Error in login information |
400 | 77102 | BAD_REQUEST |
400 | 77103 | Resource does not exist |
403 | 77201 | No permission |
403 | 77202 | Did not subscribe to the suggestion API product |
405 | 77001 | METHOD_NOT_ALLOWED |
415 | 77002 | UNSUPPORTED_MEDIA_TYPE |
500 | 77301 | Default project does not exist |
500 | 77302 | Error in linking with an external system API |
500 | 77303 | Other INTERNAL_SERVER_ERROR |
Was this article helpful?