Vorheriges Thema: Status Codes and Messages for Authorization, APIkey and Secret

Nächstes Thema: Status Codes and Messages for Configuration Errors

Status Codes and Messages for Input Parameters

The following status codes and messages display for input parameters

Return Code

Message

INVALID_NUMBER_ERROR

109

INVALID_NUMBER_MESSAGE

You have entered invalid parameter value

INVALID_CHILD_INFO_ERROR

110

INVALID_CHILD_INFO_MESSAGE

Please input valid child info value as true or false.

INVALID_CHILD_INFO_REASON

Invalid child info value.

INVALID_URL_PARAM_ERROR

111

INVALID_URL_PARAM_MESSAGE

Invalid URL Request.

INVALID_URL_PARAM_REASON

You have entered invalid parameter value(s);

NUMBER_FORMAT_ERROR

112

NUMBER_FORMAT_MESSAGE

Invalid parameter value entered

NUMBER_FORMAT_REASON

Unable to convert string into integer, please enter valid value.

INVALID_CHAR_IN_STRING_ERROR

113

INVALID_CHAR_IN_STRING_MESSAGE

Please put valid characters in

INVALID_CHAR_IN_STRING_REASON

Special character(s) found in

INVALID_ENCRIPT_DECRPIT_STRING_ERROR

114

INVALID_ENCRIPT_STRING_MESSAGE

Unable to encrypt the key.

INVALID_DECRIPT_STRING_MESSAGE

Unable to decrypt the key.

INVALID_SORT_STRING_ERROR

115

INVALID_SORT_STRING_MESSAGE

Invalid sort parameter request.

INVALID_SORT_STRING_REASON

Please input a valid value.

INVALID_SORT_NOT_AVAILABLE_ERROR

116

INVALID_SORT_NOT_AVAILABLE_MESSAGE

Sorting not available.

INVALID_SORT_NOT_AVAILABLE_REASON

API has implementation of sorting mechanism over these web services

SERVICE_APPROVE_ERROR

117

SERVICE_APPROVE_MESSAGE

Service request cannot proceed.

SERVICE_ALREADY_APPROVED

Requested service already approved.

MDR_APPROVE_ERROR

118

MDR_APPROVE_MESSAGE

MDR approval request cannot proceed.

MDR_ALREADY_APPROVED

Requested MDR already approved.

XML_DATA_MISSING_ERROR

119

XML_DATA_MISSING_MESSAGE

Undefined value for XML tag

XML_DATA_MISSING_REASON

Please provide valid data.

XML_TAG_MISSING_ERROR

120

XML_TAG_MISSING_MESSAGE

Invalid XML found! Tags are not defined properly.

XML_TAG_MISSING_REASON

Please add the tag.

INVALID_XML_ERROR

121

INVALID_XML_MESSAGE

Invalid XML data found.

INVALID_XML_METRIC_REASON

Please enter valid XML data with at least one root node. For example \n<Resource-Metric>\n\t<metric>\n\t\t<name>Metric Name</name>\n\t\t<service>Service Name</service>\n\t\t<mdr>MDR Name</mdr>\n\t\t<metricValue>10</metricValue>\n\t\t<updateTime>yyyy-mm-dd-hh-mm-ss</updateTime>\n\t</metric>\n</Resource-Metric>

INVALID_XML_INDICATOR_REASON

Please enter valid XML data with at least one root node. For example \n<Resource-Survey>\n\t<User-Answers>\n\t\t<user>User Name</user>\n\t\t<service>Service Name</service>\n\t\t<organization>Organization Name</organization>\n\t\t<indicator>\n\t\t\t<name>Indicator Name</name>\n\t\t\t<indicatorValue>60</indicatorValue>\n\t\t\t<updateTime>yyyy-mm-dd-hh-mm-ss</updateTime>\n\t\t</indicator>\n\t\t<survey>Survey Name</survey>\n\t</User-Answers>\n</Resource-Survey>

INVALID_XML_DEMOGRAPHIC_REASON

Please enter valid XML data with at least one root node. For example \n<Demographic>\n\t<Version>8.0</Version>\n\t<Criteria>\n\t\t<Category>Category Name</Category>\n\t\t<Company_Size>600-10000 employees</Company_Size>\n\t\t<Company_Revenue>Revenue</Company_Revenue>\n\t\t<Company_Zipcode>nnnnn</Company_Zipcode>\n\t\t\t<Company_Industry>Industry</Company_Industry>\n\t\t\t<Company_Country>United_States</Company_Country>\n\t</Criteria>\n\t<Services>Service Name</Services>\n</Demographic>

REQ_DATA_DOES_NOT_EXIST_XML_ERROR

122

METRIC_DOES_NOT_EXIST_XML_MESSAGE

Requested metric does not exist in SMI DB. Please try with existing metric name.

METRIC_DOES_NOT_EXIST_XML_REASON

Metric is not found in SMI DB.

METRICS_DOES_NOT_EXIST_XML_MESSAGE

Requested metric(s) does not exist in SMI DB. Please try with existing metrics.

METRICS_DOES_NOT_EXIST_XML_REASON

Metric(s) are not found in SMI DB

INDICATOR_DOES_NOT_EXIST_XML_MESSAGE

Requested indicator(s) does not exist in SMI DB. Please try with existing indicators.

INDICATOR_DOES_NOT_EXIST_XML_REASON

Indicator(s) are not found in SMI DB.

SERVICE_DOES_NOT_EXIST_XML_MESSAGE

Requested service(s) does not exist in SMI DB. Please try with existing services.

SERVICE_DOES_NOT_EXIST_XML_REASON

Service(s) are not found in SMI DB.

UPDATE_TIME_PARSE_ERROR

123

UPDATE_TIME_PARSE_MESSAGE

Update Time format not supported.

UPDATE_TIME_PARSE_REASON

Time stamp for the update time is invalid, Please try with format: yyyy-MM-dd-HH-mm-ss.

MISSING_VALUE_ERROR

124

MISSING_VALUE_MESSAGE

Invalid or Missing value found in request.

MISSING_VALUE_REASON

Unable to process the request, Please input validate entry for the parameter.

MDR_DOES_NOT_EXIST_ERROR

125

MDR_DOES_NOT_EXIST_MESSAGE

Requested MDR does not exist in SMI DB. Please try with existing MDR name.

MDR_DOES_NOT_EXIST_REASON

MDR is not found in SMI DB.

SERVICE_DOES_NOT_EXIST_ERROR

126

SERVICE_DOES_NOT_EXIST_MESSAGE

Requested service does not exist in SMI DB or you are not the creator.

SERVICE_DOES_NOT_EXIST_REASON

Requested service does not exist in SMI DB or you are not the creator.

INVALID_IS_REQUIRED_ERROR

127

INVALID_IS_REQUIRED_MESSAGE

Invalid value found for isRequired parameter.

INVALID_IS_REQUIRED_REASON

Please input valid value for isRequired parameter as true or false. It's default value is true.

INVALID_URL_IN_STRING_ERROR

128

INVALID_URL_IN_STRING_MESSAGE

Please put valid URL in parameter.

INVALID_URL_IN_STRING_REASON

The URL format is incorrect.

ORG_DOES_NOT_EXIST_ERROR

129

ORG_DOES_NOT_EXIST_MESSAGE

Requested organization does not exist in SMI DB. Please try with existing organization.

ORG_DOES_NOT_EXIST_REASON

Organization is not found in SMI DB.

SURVEY_DOES_NOT_EXIST_ERROR

130

SURVEY_DOES_NOT_EXIST_MESSAGE

Requested survey does not exist in SMI DB. Please try with existing survey.

SURVEY_DOES_NOT_EXIST_REASON

Survey is not found in SMI DB.

INVALID_REJECT_ERROR

131

INVALID_REJECT_MESSAGE

Please input valid reject value as true or false.

INVALID_REJECT_REASON

Invalid reject value.

CAPABILITY_DOES_NOT_EXIST_ERROR

132

CAPABILITY_DOES_NOT_EXIST_REASON

Requested capability does not exist in SMI DB. Please try with existing capability.

CAPABILITY_DOES_NOT_EXIST_MESSAGE

Capability is not found in SMI DB.

CATEGORY_DOES_NOT_EXIST_ERROR

133

CATEGORY_DOES_NOT_EXIST_REASON

Requested category does not exist in SMI DB. Please try with existing category.

CATEGORY_DOES_NOT_EXIST_MESSAGE

Category is not found in SMI DB.

NOT_AUTHORIZED_ERROR

134

NOT_AUTHORIZED_REASON

The resource that you are trying to update is not owned by the user which you are using to update.

NOT_AUTHORIZED_MESSAGE

Not authorized to update this resource.

INVALID_EMAIL_IN_STRING_ERROR

135

INVALID_EMAIL_IN_STRING_MESSAGE

Please put valid email address in parameter.

INVALID_EMAIL_IN_STRING_REASON

The email address format is incorrect.

MISS_URL_PARAM_ERROR

136

MISS_URL_PARAM_MESSAGE

Invalid URL Request.

MISS_URL_PARAM_REASON

You missed some required parameter value(s):

DEMOGRAPHICSCORE_NOT_COMPLETE_MESSAGE

The demographic score calculation you requested is not complete

RUN_ON_GLOBAL_DB_ERROR

137

RUN_ON_GLOBAL_DB_MESSAGE

The DB type is incorrect.

RUN_ON_GLOBAL_DB_REASON

This service runs on global DB only, your back end is local DB.

DEMOGRAPHICSCORE_NOT_FOUND_MESSAGE

The demographic score request id is not found.

DATA_ALREADY_EXIST_ERROR

150

DATA_ALREADY_EXIST_MESSAGE

Requested data has already exist in SMI DB.

DATA_ALREADY_EXIST_REASON

Data has been found in SMI DB.

PROVIDER_DOES_NOT_EXIST_ERROR

151

PROVIDER_DOES_NOT_EXIST_MESSAGE

Requested PROVIDER does not exist in SMI DB. Please try with existing PROVIDER.

PROVIDER_DOES_NOT_EXIST_REASON

PROVIDER is not found in SMI DB.