All URIs are relative to https://prod.api.appcluster01.ca-central-1.ezmax.com/rest
Method | HTTP request | Description |
---|---|---|
userstagedCreateUserV1 | POST /1/object/userstaged/{pkiUserstagedID}/createUser | Create a User from a Userstaged and then map it |
userstagedDeleteObjectV1 | DELETE /1/object/userstaged/{pkiUserstagedID} | Delete an existing Userstaged |
userstagedGetListV1 | GET /1/object/userstaged/getList | Retrieve Userstaged list |
userstagedGetObjectV2 | GET /2/object/userstaged/{pkiUserstagedID} | Retrieve an existing Userstaged |
userstagedMapV1 | POST /1/object/userstaged/{pkiUserstagedID}/map | Map the Userstaged to an existing user |
UserstagedCreateUserV1Response userstagedCreateUserV1(pkiUserstagedID, body)
Create a User from a Userstaged and then map it
Default values will be used while creating the User. If you need to change those values, you should use the route to edit a User.
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectUserstagedApi();
let pkiUserstagedID = 56; // Number |
let body = {key: null}; // Object |
apiInstance.userstagedCreateUserV1(pkiUserstagedID, body, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
pkiUserstagedID | Number | ||
body | Object |
UserstagedCreateUserV1Response
- Content-Type: application/json
- Accept: application/json
UserstagedDeleteObjectV1Response userstagedDeleteObjectV1(pkiUserstagedID)
Delete an existing Userstaged
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectUserstagedApi();
let pkiUserstagedID = 56; // Number |
apiInstance.userstagedDeleteObjectV1(pkiUserstagedID, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
pkiUserstagedID | Number |
UserstagedDeleteObjectV1Response
- Content-Type: Not defined
- Accept: application/json
UserstagedGetListV1Response userstagedGetListV1(opts)
Retrieve Userstaged list
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectUserstagedApi();
let opts = {
'eOrderBy': "eOrderBy_example", // String | Specify how you want the results to be sorted
'iRowMax': 10000, // Number |
'iRowOffset': 0, // Number |
'Accept_Language': new EZmaxApiDefinitionFull.HeaderAcceptLanguage(), // HeaderAcceptLanguage |
'sFilter': "sFilter_example" // String |
};
apiInstance.userstagedGetListV1(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
eOrderBy | String | Specify how you want the results to be sorted | [optional] |
iRowMax | Number | [optional] [default to 10000] | |
iRowOffset | Number | [optional] [default to 0] | |
Accept_Language | HeaderAcceptLanguage | [optional] | |
sFilter | String | [optional] |
- Content-Type: Not defined
- Accept: application/json, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
UserstagedGetObjectV2Response userstagedGetObjectV2(pkiUserstagedID)
Retrieve an existing Userstaged
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectUserstagedApi();
let pkiUserstagedID = 56; // Number |
apiInstance.userstagedGetObjectV2(pkiUserstagedID, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
pkiUserstagedID | Number |
- Content-Type: Not defined
- Accept: application/json
UserstagedMapV1Response userstagedMapV1(pkiUserstagedID, UserstagedMapV1Request)
Map the Userstaged to an existing user
import EZmaxApiDefinitionFull from 'e_zmax_api_definition__full';
let defaultClient = EZmaxApiDefinitionFull.ApiClient.instance;
// Configure API key authorization: Authorization
let Authorization = defaultClient.authentications['Authorization'];
Authorization.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.apiKeyPrefix = 'Token';
let apiInstance = new EZmaxApiDefinitionFull.ObjectUserstagedApi();
let pkiUserstagedID = 56; // Number |
let UserstagedMapV1Request = new EZmaxApiDefinitionFull.UserstagedMapV1Request(); // UserstagedMapV1Request |
apiInstance.userstagedMapV1(pkiUserstagedID, UserstagedMapV1Request, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
pkiUserstagedID | Number | ||
UserstagedMapV1Request | UserstagedMapV1Request |
- Content-Type: application/json
- Accept: application/json