GET api/Registration/requiredFields

Gets which user registration fields are required

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

The object representing the required fields.

RegistrationRequiredFields
NameDescriptionTypeAdditional information
FirstNameRequired

Whether or not the First Name field is required

boolean

None.

LastNameRequired

Whether or not the Last Name field is required

boolean

None.

DateOfBirthRequired

Whether or not the Date of Birth field is required

boolean

None.

HomeAddressRequired

Whether or not the Home Address field is required

boolean

None.

PhoneNumberRequired

Whether or not the Phone Number field is required

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "firstNameRequired": true,
  "lastNameRequired": true,
  "dateOfBirthRequired": true,
  "homeAddressRequired": true,
  "phoneNumberRequired": true
}

application/xml, text/xml

Sample:
<RegistrationRequiredFields xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
  <DateOfBirthRequired>true</DateOfBirthRequired>
  <FirstNameRequired>true</FirstNameRequired>
  <HomeAddressRequired>true</HomeAddressRequired>
  <LastNameRequired>true</LastNameRequired>
  <PhoneNumberRequired>true</PhoneNumberRequired>
</RegistrationRequiredFields>