Skip to main content

Class GetSettingsResponse

Contains the results from a GetSettingsRequest.


Properties

NAMETYPEDESCRIPTION
RequestIdstringUnique identifier used to identify the request associated with the response.
ResultResponseResultTypeValue indicating type of result. Possible values: Error (default), Success, ValidationError, NoChange
ResultCodestringCan be Error or Resource code depending on type of result.
ResultMessagestringMessage regarding details of the Result.
ValidationResultsValidationResult[]Array of ValidationResult objects containing messages regarding input validation.
CredentialsTokenCredentialsCredentials for subsequent web service requests.
AllowCreateCustomerboolA setting allowing the user to create a customer, if Merchant Customer.Create permission has been granted.
AllowSaveUsernameboolA setting to allow the application to save the username.
AllowUpdateCustomerboolA setting allowing the user to update a customer, if Merchant Customer.Edit permission has been granted.
EnablePasswordChangeboolA setting to allow the user to change their password.
GeoLocationAccessGeoLocationAccessDEPRECATED. This property is no longer used.
MiSnapLicensestringA setting containing the MiSnap license key.
ShowCustomBatchIdboolA setting to show custom batch id's.
ShowDataEntryboolA setting to show the data entry fields.
MiSnapLicenseIntegratorstringA setting containing the Integrator MiSnap License Key.

GeoLocationAccess

NAMETYPEDESCRIPTION
Disabled0Disabled
Required1Required
CaptureIfAvailable2Capture if available

Examples

{
"RequestId": "f89ur93iu983uj98ru923",
"Result": 1,
"ResultCode": null,
"ResultMessage": null,
"ValidationResults": [],
"Credentials": {
"PhoneKey": "1",
"SecurityToken": "String Content"
},
"AllowCreateCustomer": true,
"AllowSaveUsername": true,
"AllowUpdateCustomer": true,
"EnablePasswordChange": true,
"GeoLocationAccess": 0,
"ShowCustomBatchId": false,
"ShowDataEntry": true,
"MiSnapLicense": null,
"MiSnapLicenseIntegrator": null
}

Methods

Exception(string)

Declaration

public void Exception(string message)

Parameters

TYPENAMEDESCRIPTION
System.Stringmessage

NullRequestResonse()

Declaration

public static Response NullRequestResonse()

Return Value

TYPEDESCRIPTION
Response

Success()

Declaration

public void Success()

Success(String)

Declaration

public void Success(string resultMessage)

Parameters

TYPENAMEDESCRIPTION
System.StringresultMessage