Cdn API

<back to all web services

CognitoSendConfirmCodeRequest

Cdn.Api

The following routes are available for this service:
POST/CognitoSendConfirmCodeRequest
CognitoSendConfirmCodeRequest Parameters:
NameParameterData TypeRequiredDescription
EmailAddressbodystringNo
ConfirmationCodebodystringNo
CognitoSendConfirmCodeResponse Parameters:
NameParameterData TypeRequiredDescription
DataformCognitoUserNo
Data2formCognitoUserNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo
CognitoUser Parameters:
NameParameterData TypeRequiredDescription
SessionTokensformCognitoUserSessionNo
DeviceformCognitoDeviceNo
UserIDformstringNo
UsernameformstringNo
UserPoolformCognitoUserPoolNo
ClientIDformstringNo
StatusformstringNo
AttributesformDictionary<string, string>No
SettingsformDictionary<string, string>No
CognitoUserSession Parameters:
NameParameterData TypeRequiredDescription
IdTokenformstringNo
AccessTokenformstringNo
RefreshTokenformstringNo
ExpirationTimeformDateTimeNo
IssuedTimeformDateTimeNo
CognitoDevice Parameters:
NameParameterData TypeRequiredDescription
DeviceKeyformstringNo
DeviceAttributesformDictionary<string, string>No
CreateDateformDateTimeNo
LastModifiedformDateTimeNo
LastAuthenticatedformDateTimeNo
UserformCognitoUserNo
GroupDeviceKeyformstringNo
DeviceSecretformstringNo
CognitoUserPool Parameters:
NameParameterData TypeRequiredDescription
PoolIDformstringNo
ClientIDformstringNo

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 /CognitoSendConfirmCodeRequest HTTP/1.1 
Host: cdnapidev.greysheet.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	EmailAddress: String,
	ConfirmationCode: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Total: 0,
	OpCode: 0,
	ErrorText: String,
	RequestTime: String,
	ResponseTime: String,
	TotalExecutionTime: String,
	CachedResponse: False
}