registerService
Used to register MarsApp's Self Service request. This method must be used with the checkServiceStatus method to verify the registration status.
Request Parameters:
Parameter Name
Type
Required
Description
serviceKey
String
Yes
Identifier for registering Self Service.
Response Parameters: None
Call Example:
let payload = {
serviceKey: "xxxxxx"
};
let sign = {
content: "xxxxxx",
signature: "xxxxxx"
};
const response = await relayx.registerService(payload, sign);
if (response.code == 200) {
console.log("Service registration in progress");
}Last updated