| POST | /Account/Recovery/Verify |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class RecoveryVerify
{
public String RecoveryId = null;
public String Email = null;
public String EmailCode = null;
public String MobileCode = null;
public Boolean EmailNeedsVerification = null;
public Boolean MobileNeedsVerification = null;
public String getRecoveryId() { return RecoveryId; }
public RecoveryVerify setRecoveryId(String value) { this.RecoveryId = value; return this; }
public String getEmail() { return Email; }
public RecoveryVerify setEmail(String value) { this.Email = value; return this; }
public String getEmailCode() { return EmailCode; }
public RecoveryVerify setEmailCode(String value) { this.EmailCode = value; return this; }
public String getMobileCode() { return MobileCode; }
public RecoveryVerify setMobileCode(String value) { this.MobileCode = value; return this; }
public Boolean isEmailNeedsVerification() { return EmailNeedsVerification; }
public RecoveryVerify setEmailNeedsVerification(Boolean value) { this.EmailNeedsVerification = value; return this; }
public Boolean isMobileNeedsVerification() { return MobileNeedsVerification; }
public RecoveryVerify setMobileNeedsVerification(Boolean value) { this.MobileNeedsVerification = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Account/Recovery/Verify HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"RecoveryId":"String","Email":"String","EmailCode":"String","MobileCode":"String","EmailNeedsVerification":false,"MobileNeedsVerification":false}