Skip to content

Submit answers to a form

POST
/api/{referralpartner}/form

Submit answers to a form. The submission is validated against the form’s configuration and the referrer’s settings.

If successful, returns a 201 Created status code with a link header to the matched products route.

referralpartner
required
String
string
x-captcha-token
String
string
slug
String
string
ipAddress
String

The end-user’s IP address

string

The end-user’s IP address

InputSubmission
object
referralCode
String

The referral code used to refer this submission

string
nullable
key
additional properties
JsonElement

Created

Bad Request

HttpValidationProblemDetails
object
type
String
string
nullable
title
String
string
nullable
status
Nullable`1
integer format: int32
nullable
detail
String
string
nullable
instance
String
string
nullable
errors
IDictionary`2
object
key
additional properties
String[]
Array<string>
key
additional properties
Object

Not Found

ProblemDetails
object
type
String
string
nullable
title
String
string
nullable
status
Nullable`1
integer format: int32
nullable
detail
String
string
nullable
instance
String
string
nullable
key
additional properties
Object

Too Many Requests

ProblemDetails
object
type
String
string
nullable
title
String
string
nullable
status
Nullable`1
integer format: int32
nullable
detail
String
string
nullable
instance
String
string
nullable
key
additional properties
Object