Data Analytics Service Overview
    • PDF

    Data Analytics Service Overview

    • PDF

    Article Summary

    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

    HeaderDescription
    Content-TypeBinary transfer method
    Content-Type:application/json
    X-NCP-APIGW-API-KEY-IDClient ID of the authentication key on a product page
    X-NCP-APIGW-API-KEY-ID:{Client ID}
    X-NCP-APIGW-API-KEYClient Secret of the authentication key on a product page
    X-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 CodeReturn CodeDescription
    200-General request made successfully
    201-Response code related to the success of resource creation
    40077101Error in login information
    40077102BAD_REQUEST
    40077103Resource does not exist
    40377201No permission
    40377202Did not subscribe to the suggestion API product
    40577001METHOD_NOT_ALLOWED
    41577002UNSUPPORTED_MEDIA_TYPE
    50077301Default project does not exist
    50077302Error in linking with an external system API
    50077303Other INTERNAL_SERVER_ERROR

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.