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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” referralpartner
required
String
string
Header Parameters
Section titled “Header Parameters ” x-captcha-token
String
string
Query Parameters
Section titled “Query Parameters ” slug
String
string
ipAddress
String
The end-user’s IP address
string
The end-user’s IP address
Request Body required
Section titled “Request Body required ” InputSubmission
object
referralCode
String
The referral code used to refer this submission
string
key
additional properties
JsonElement
Responses
Section titled “ Responses ”Created
Bad Request
HttpValidationProblemDetails
object
type
String
string
title
String
string
status
Nullable`1
integer format: int32
detail
String
string
instance
String
string
errors
IDictionary`2
object
key
additional properties
String[]
Array<string>
key
additional properties
Object
Not Found
ProblemDetails
object
type
String
string
title
String
string
status
Nullable`1
integer format: int32
detail
String
string
instance
String
string
key
additional properties
Object
Too Many Requests
ProblemDetails
object
type
String
string
title
String
string
status
Nullable`1
integer format: int32
detail
String
string
instance
String
string
key
additional properties
Object