POST api/UserProfiles

Request Information

URI Parameters

None.

Body Parameters

UserProfileDto
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

None.

Phone

string

None.

BirthDate

date

None.

DueDate

date

None.

ZipCode

string

None.

CurrentStatus

string

None.

Alcohol

boolean

None.

Carseat

boolean

None.

Crib

boolean

None.

Drugs

boolean

None.

HasPrimaryCareProvider

boolean

None.

PregnancySymptomCesarianSection

boolean

None.

PregnancySymptomDepression

boolean

None.

PregnancySymptomEarlyLoss

boolean

None.

PregnancySymptomGestationalDiabetes

boolean

None.

PregnancySymptomHighBloodPressure

boolean

None.

PregnancySymptomPrematureBirth

boolean

None.

PreviousPregnancies

boolean

None.

Smoking

boolean

None.

Vitamins

boolean

None.

OptInEmailCommunications

boolean

None.

OptInTextCommunications

boolean

None.

OptInPushCommunications

boolean

None.

StatusId

integer

None.

Status

OptionDto

None.

BreastfeedingId

integer

None.

Breastfeeding

OptionDto

None.

EthnicityId

integer

None.

Ethnicity

OptionDto

None.

InsuranceStatusId

integer

None.

InsuranceStatus

OptionDto

None.

MedicaidProviderId

integer

None.

MedicaidProvider

OptionDto

None.

PlanningForPregnancyId

integer

None.

PlanningForPregnancy

OptionDto

None.

RaceId

integer

None.

Race

OptionDto

None.

UserId

globally unique identifier

None.

User

UserDto

None.

Children

Collection of ChildDto

None.

LastLoginDate

date

None.

BabyNickname

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'WebApi.DTO.OptionDto'. Path 'Status.OptionSet.Options'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'WebApi.DTO.OptionDto'. Path 'Status.OptionSet.Options'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'WebApi.DTO.OptionSetDto' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'WebApi.DTO.OptionSetDto' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserProfileDto'.

Response Information

Resource Description

UserProfileDto
NameDescriptionTypeAdditional information
Id

integer

None.

Email

string

None.

Phone

string

None.

BirthDate

date

None.

DueDate

date

None.

ZipCode

string

None.

CurrentStatus

string

None.

Alcohol

boolean

None.

Carseat

boolean

None.

Crib

boolean

None.

Drugs

boolean

None.

HasPrimaryCareProvider

boolean

None.

PregnancySymptomCesarianSection

boolean

None.

PregnancySymptomDepression

boolean

None.

PregnancySymptomEarlyLoss

boolean

None.

PregnancySymptomGestationalDiabetes

boolean

None.

PregnancySymptomHighBloodPressure

boolean

None.

PregnancySymptomPrematureBirth

boolean

None.

PreviousPregnancies

boolean

None.

Smoking

boolean

None.

Vitamins

boolean

None.

OptInEmailCommunications

boolean

None.

OptInTextCommunications

boolean

None.

OptInPushCommunications

boolean

None.

StatusId

integer

None.

Status

OptionDto

None.

BreastfeedingId

integer

None.

Breastfeeding

OptionDto

None.

EthnicityId

integer

None.

Ethnicity

OptionDto

None.

InsuranceStatusId

integer

None.

InsuranceStatus

OptionDto

None.

MedicaidProviderId

integer

None.

MedicaidProvider

OptionDto

None.

PlanningForPregnancyId

integer

None.

PlanningForPregnancy

OptionDto

None.

RaceId

integer

None.

Race

OptionDto

None.

UserId

globally unique identifier

None.

User

UserDto

None.

Children

Collection of ChildDto

None.

LastLoginDate

date

None.

BabyNickname

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'WebApi.DTO.OptionDto'. Path 'Status.OptionSet.Options'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'WebApi.DTO.OptionDto'. Path 'Status.OptionSet.Options'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'WebApi.DTO.OptionSetDto' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'WebApi.DTO.OptionSetDto' contains cycles and cannot be serialized if reference tracking is disabled.