Trendsic Platform Service

<back to all web services

AgentResetMfaRequest

Requires Authentication
Required role:Administrator
The following routes are available for this service:
POST,OPTIONS/v1/AgentResetMfa
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class AgentResetMfaRequest
    {
        public String AgentName = null;
        public String AgentEmail = null;
        public Integer AgentId = null;
        
        public String getAgentName() { return AgentName; }
        public AgentResetMfaRequest setAgentName(String value) { this.AgentName = value; return this; }
        public String getAgentEmail() { return AgentEmail; }
        public AgentResetMfaRequest setAgentEmail(String value) { this.AgentEmail = value; return this; }
        public Integer getAgentId() { return AgentId; }
        public AgentResetMfaRequest setAgentId(Integer value) { this.AgentId = value; return this; }
    }

    public static class AgentStoreNameResponse
    {
        public ResponseStatus ResponseStatus = null;
        public String AgentStoreName = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public AgentStoreNameResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public String getAgentStoreName() { return AgentStoreName; }
        public AgentStoreNameResponse setAgentStoreName(String value) { this.AgentStoreName = value; return this; }
    }

}

Java AgentResetMfaRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/AgentResetMfa HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	AgentName: String,
	AgentEmail: String,
	AgentId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	AgentStoreName: String
}