Cdn API - CPG Source

<back to all web services

CdnxApplicantContextRequest

The following routes are available for this service:
POST/signup/application/context
CdnxApplicantContextRequest Parameters:
NameParameterData TypeRequiredDescription
TokenbodystringNo
CdnxApplicantContextResponse Parameters:
NameParameterData TypeRequiredDescription
StageformstringNo
OpCodeformintNo
ErrorTextformstringNo
ModeformstringNo
DefinitionIdformlong?No
NameformstringNo
HeaderMarkdownformstringNo
FieldsJsonformstringNo
VisibleFieldKeysformList<string>No
CanonicalProfileJsonformstringNo
BillingRequiredformboolNo
UsableCreditCardsformList<CdnxApplicantSavedCardResponse>No
CdnxApplicantSavedCardResponse Parameters:
NameParameterData TypeRequiredDescription
CreditCardIdformlongNo
MaskedLastFourformstringNo

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

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

{
	Stage: String,
	OpCode: 0,
	ErrorText: String,
	Mode: String,
	DefinitionId: 0,
	Name: String,
	HeaderMarkdown: String,
	FieldsJson: String,
	VisibleFieldKeys: 
	[
		String
	],
	CanonicalProfileJson: String,
	BillingRequired: False,
	UsableCreditCards: 
	[
		{
			CreditCardId: 0,
			MaskedLastFour: String
		}
	]
}