# Quantimodo.XprofileApi All URIs are relative to *https://app.quantimo.do/api* Method | HTTP request | Description ------------- | ------------- | ------------- [**getXprofileData**](XprofileApi.md#getXprofileData) | **GET** /v3/xprofileData | Get XprofileData [**getXprofileFields**](XprofileApi.md#getXprofileFields) | **GET** /v3/xprofileFields | Get XprofileFields [**getXprofileGroups**](XprofileApi.md#getXprofileGroups) | **GET** /v3/xprofileGroups | Get XprofileGroups [**postXprofileData**](XprofileApi.md#postXprofileData) | **POST** /v3/xprofileData | Post XprofileData [**postXprofileFields**](XprofileApi.md#postXprofileFields) | **POST** /v3/xprofileFields | Post XprofileFields [**postXprofileGroups**](XprofileApi.md#postXprofileGroups) | **POST** /v3/xprofileGroups | Post XprofileGroups # **getXprofileData** > [XprofileDataResponse] getXprofileData(opts) Get XprofileData Get XprofileData ### Example ```javascript var Quantimodo = require('quantimodo'); var defaultClient = Quantimodo.ApiClient.instance; // Configure API key authorization: access_token var access_token = defaultClient.authentications['access_token']; access_token.apiKey = 'YOUR API KEY'; // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //access_token.apiKeyPrefix = 'Token'; // Configure OAuth2 access token for authorization: quantimodo_oauth2 var quantimodo_oauth2 = defaultClient.authentications['quantimodo_oauth2']; quantimodo_oauth2.accessToken = 'YOUR ACCESS TOKEN'; var apiInstance = new Quantimodo.XprofileApi(); var opts = { 'sort': "sort_example", // String | Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. 'limit': 100, // Number | The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. 'offset': 56, // Number | OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. 'updatedAt': "updatedAt_example", // String | When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'userId': 8.14, // Number | User's id 'createdAt': "createdAt_example", // String | When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'id': 56, // Number | Id 'clientId': "clientId_example", // String | Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do 'platform': "platform_example" // String | Ex: chrome, android, ios, web }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully. Returned data: ' + data); } }; apiInstance.getXprofileData(opts, callback); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **sort** | **String**| Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. | [optional] **limit** | **Number**| The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. | [optional] [default to 100] **offset** | **Number**| OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. | [optional] **updatedAt** | **String**| When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **userId** | **Number**| User's id | [optional] **createdAt** | **String**| When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **id** | **Number**| Id | [optional] **clientId** | **String**| Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do | [optional] **platform** | **String**| Ex: chrome, android, ios, web | [optional] ### Return type [**[XprofileDataResponse]**](XprofileDataResponse.md) ### Authorization [access_token](../README.md#access_token), [quantimodo_oauth2](../README.md#quantimodo_oauth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **getXprofileFields** > [XprofileFieldsResponse] getXprofileFields(opts) Get XprofileFields Get XprofileFields ### Example ```javascript var Quantimodo = require('quantimodo'); var defaultClient = Quantimodo.ApiClient.instance; // Configure API key authorization: access_token var access_token = defaultClient.authentications['access_token']; access_token.apiKey = 'YOUR API KEY'; // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //access_token.apiKeyPrefix = 'Token'; // Configure OAuth2 access token for authorization: quantimodo_oauth2 var quantimodo_oauth2 = defaultClient.authentications['quantimodo_oauth2']; quantimodo_oauth2.accessToken = 'YOUR ACCESS TOKEN'; var apiInstance = new Quantimodo.XprofileApi(); var opts = { 'sort': "sort_example", // String | Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. 'limit': 100, // Number | The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. 'offset': 56, // Number | OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. 'updatedAt': "updatedAt_example", // String | When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'userId': 8.14, // Number | User's id 'createdAt': "createdAt_example", // String | When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'id': 56, // Number | Id 'clientId': "clientId_example", // String | Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do 'platform': "platform_example" // String | Ex: chrome, android, ios, web }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully. Returned data: ' + data); } }; apiInstance.getXprofileFields(opts, callback); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **sort** | **String**| Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. | [optional] **limit** | **Number**| The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. | [optional] [default to 100] **offset** | **Number**| OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. | [optional] **updatedAt** | **String**| When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **userId** | **Number**| User's id | [optional] **createdAt** | **String**| When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **id** | **Number**| Id | [optional] **clientId** | **String**| Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do | [optional] **platform** | **String**| Ex: chrome, android, ios, web | [optional] ### Return type [**[XprofileFieldsResponse]**](XprofileFieldsResponse.md) ### Authorization [access_token](../README.md#access_token), [quantimodo_oauth2](../README.md#quantimodo_oauth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **getXprofileGroups** > [XprofileGroupsResponse] getXprofileGroups(opts) Get XprofileGroups Get XprofileGroups ### Example ```javascript var Quantimodo = require('quantimodo'); var defaultClient = Quantimodo.ApiClient.instance; // Configure API key authorization: access_token var access_token = defaultClient.authentications['access_token']; access_token.apiKey = 'YOUR API KEY'; // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //access_token.apiKeyPrefix = 'Token'; // Configure OAuth2 access token for authorization: quantimodo_oauth2 var quantimodo_oauth2 = defaultClient.authentications['quantimodo_oauth2']; quantimodo_oauth2.accessToken = 'YOUR ACCESS TOKEN'; var apiInstance = new Quantimodo.XprofileApi(); var opts = { 'sort': "sort_example", // String | Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. 'limit': 100, // Number | The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. 'offset': 56, // Number | OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. 'updatedAt': "updatedAt_example", // String | When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'userId': 8.14, // Number | User's id 'createdAt': "createdAt_example", // String | When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'id': 56, // Number | Id 'clientId': "clientId_example", // String | Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do 'platform': "platform_example" // String | Ex: chrome, android, ios, web }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully. Returned data: ' + data); } }; apiInstance.getXprofileGroups(opts, callback); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **sort** | **String**| Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. | [optional] **limit** | **Number**| The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. | [optional] [default to 100] **offset** | **Number**| OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. | [optional] **updatedAt** | **String**| When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **userId** | **Number**| User's id | [optional] **createdAt** | **String**| When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **id** | **Number**| Id | [optional] **clientId** | **String**| Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do | [optional] **platform** | **String**| Ex: chrome, android, ios, web | [optional] ### Return type [**[XprofileGroupsResponse]**](XprofileGroupsResponse.md) ### Authorization [access_token](../README.md#access_token), [quantimodo_oauth2](../README.md#quantimodo_oauth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **postXprofileData** > [XprofileDataResponse] postXprofileData(opts) Post XprofileData Post XprofileData ### Example ```javascript var Quantimodo = require('quantimodo'); var defaultClient = Quantimodo.ApiClient.instance; // Configure API key authorization: access_token var access_token = defaultClient.authentications['access_token']; access_token.apiKey = 'YOUR API KEY'; // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //access_token.apiKeyPrefix = 'Token'; // Configure OAuth2 access token for authorization: quantimodo_oauth2 var quantimodo_oauth2 = defaultClient.authentications['quantimodo_oauth2']; quantimodo_oauth2.accessToken = 'YOUR ACCESS TOKEN'; var apiInstance = new Quantimodo.XprofileApi(); var opts = { 'sort': "sort_example", // String | Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. 'limit': 100, // Number | The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. 'offset': 56, // Number | OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. 'updatedAt': "updatedAt_example", // String | When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'userId': 8.14, // Number | User's id 'createdAt': "createdAt_example", // String | When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'id': 56, // Number | Id 'clientId': "clientId_example", // String | Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do 'platform': "platform_example" // String | Ex: chrome, android, ios, web }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully. Returned data: ' + data); } }; apiInstance.postXprofileData(opts, callback); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **sort** | **String**| Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. | [optional] **limit** | **Number**| The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. | [optional] [default to 100] **offset** | **Number**| OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. | [optional] **updatedAt** | **String**| When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **userId** | **Number**| User's id | [optional] **createdAt** | **String**| When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **id** | **Number**| Id | [optional] **clientId** | **String**| Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do | [optional] **platform** | **String**| Ex: chrome, android, ios, web | [optional] ### Return type [**[XprofileDataResponse]**](XprofileDataResponse.md) ### Authorization [access_token](../README.md#access_token), [quantimodo_oauth2](../README.md#quantimodo_oauth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **postXprofileFields** > [XprofileFieldsResponse] postXprofileFields(opts) Post XprofileFields Post XprofileFields ### Example ```javascript var Quantimodo = require('quantimodo'); var defaultClient = Quantimodo.ApiClient.instance; // Configure API key authorization: access_token var access_token = defaultClient.authentications['access_token']; access_token.apiKey = 'YOUR API KEY'; // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //access_token.apiKeyPrefix = 'Token'; // Configure OAuth2 access token for authorization: quantimodo_oauth2 var quantimodo_oauth2 = defaultClient.authentications['quantimodo_oauth2']; quantimodo_oauth2.accessToken = 'YOUR ACCESS TOKEN'; var apiInstance = new Quantimodo.XprofileApi(); var opts = { 'sort': "sort_example", // String | Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. 'limit': 100, // Number | The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. 'offset': 56, // Number | OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. 'updatedAt': "updatedAt_example", // String | When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'userId': 8.14, // Number | User's id 'createdAt': "createdAt_example", // String | When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'id': 56, // Number | Id 'clientId': "clientId_example", // String | Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do 'platform': "platform_example" // String | Ex: chrome, android, ios, web }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully. Returned data: ' + data); } }; apiInstance.postXprofileFields(opts, callback); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **sort** | **String**| Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. | [optional] **limit** | **Number**| The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. | [optional] [default to 100] **offset** | **Number**| OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. | [optional] **updatedAt** | **String**| When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **userId** | **Number**| User's id | [optional] **createdAt** | **String**| When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **id** | **Number**| Id | [optional] **clientId** | **String**| Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do | [optional] **platform** | **String**| Ex: chrome, android, ios, web | [optional] ### Return type [**[XprofileFieldsResponse]**](XprofileFieldsResponse.md) ### Authorization [access_token](../README.md#access_token), [quantimodo_oauth2](../README.md#quantimodo_oauth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json # **postXprofileGroups** > [XprofileGroupsResponse] postXprofileGroups(opts) Post XprofileGroups Post XprofileGroups ### Example ```javascript var Quantimodo = require('quantimodo'); var defaultClient = Quantimodo.ApiClient.instance; // Configure API key authorization: access_token var access_token = defaultClient.authentications['access_token']; access_token.apiKey = 'YOUR API KEY'; // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) //access_token.apiKeyPrefix = 'Token'; // Configure OAuth2 access token for authorization: quantimodo_oauth2 var quantimodo_oauth2 = defaultClient.authentications['quantimodo_oauth2']; quantimodo_oauth2.accessToken = 'YOUR ACCESS TOKEN'; var apiInstance = new Quantimodo.XprofileApi(); var opts = { 'sort': "sort_example", // String | Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. 'limit': 100, // Number | The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. 'offset': 56, // Number | OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. 'updatedAt': "updatedAt_example", // String | When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'userId': 8.14, // Number | User's id 'createdAt': "createdAt_example", // String | When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. 'id': 56, // Number | Id 'clientId': "clientId_example", // String | Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do 'platform': "platform_example" // String | Ex: chrome, android, ios, web }; var callback = function(error, data, response) { if (error) { console.error(error); } else { console.log('API called successfully. Returned data: ' + data); } }; apiInstance.postXprofileGroups(opts, callback); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **sort** | **String**| Sort by one of the listed field names. If the field name is prefixed with `-`, it will sort in descending order. | [optional] **limit** | **Number**| The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records. | [optional] [default to 100] **offset** | **Number**| OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned. | [optional] **updatedAt** | **String**| When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **userId** | **Number**| User's id | [optional] **createdAt** | **String**| When the record was first created. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local. | [optional] **id** | **Number**| Id | [optional] **clientId** | **String**| Your QuantiModo client id can be obtained by creating an app at https://builder.quantimo.do | [optional] **platform** | **String**| Ex: chrome, android, ios, web | [optional] ### Return type [**[XprofileGroupsResponse]**](XprofileGroupsResponse.md) ### Authorization [access_token](../README.md#access_token), [quantimodo_oauth2](../README.md#quantimodo_oauth2) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json