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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<CdnxApplicantContextRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.RequestObjects">
  <Token>String</Token>
</CdnxApplicantContextRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CdnxApplicantContextResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cdn.Api.RequestObjects">
  <BillingRequired>false</BillingRequired>
  <CanonicalProfileJson>String</CanonicalProfileJson>
  <DefinitionId>0</DefinitionId>
  <ErrorText>String</ErrorText>
  <FieldsJson>String</FieldsJson>
  <HeaderMarkdown>String</HeaderMarkdown>
  <Mode>String</Mode>
  <Name>String</Name>
  <OpCode>0</OpCode>
  <Stage>String</Stage>
  <UsableCreditCards>
    <CdnxApplicantSavedCardResponse>
      <CreditCardId>0</CreditCardId>
      <MaskedLastFour>String</MaskedLastFour>
    </CdnxApplicantSavedCardResponse>
  </UsableCreditCards>
  <VisibleFieldKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </VisibleFieldKeys>
</CdnxApplicantContextResponse>