| GET,POST,OPTIONS | /v1/AwsAuthSendChallengeCode |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class AwsAuthSendChallengeCode
{
public String Username = null;
public String Password = null;
public String ChallengeName = null;
public String getUsername() { return Username; }
public AwsAuthSendChallengeCode setUsername(String value) { this.Username = value; return this; }
public String getPassword() { return Password; }
public AwsAuthSendChallengeCode setPassword(String value) { this.Password = value; return this; }
public String getChallengeName() { return ChallengeName; }
public AwsAuthSendChallengeCode setChallengeName(String value) { this.ChallengeName = value; return this; }
}
}
Java AwsAuthSendChallengeCode DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/AwsAuthSendChallengeCode HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Username: String,
Password: String,
ChallengeName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}