POST api/v1/Plans

Request Information

URI Parameters

None.

Body Parameters

Plan
NameDescriptionTypeAdditional information
Id

integer

None.

StartDate

date

None.

EndDate

date

None.

UserId

string

None.

Status

string

None.

ReviewerId

string

None.

RejectionComment

string

None.

Draft

string

None.

AspNetUser

AspNetUser

None.

AspNetUser1

AspNetUser

None.

Visits

Collection of Visit

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 for property 'AspNetUser' with type 'MedicineCRM.Models.AspNetUser'. Path 'AspNetUser.AspNetUserClaims[0]'.

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 for property 'AspNetUser' with type 'MedicineCRM.Models.AspNetUser'. Path 'AspNetUser.AspNetUserClaims[0]'.

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 'MedicineCRM.Models.AspNetRole' 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 'MedicineCRM.Models.AspNetRole' 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 'Plan'.

Response Information

Resource Description

Plan
NameDescriptionTypeAdditional information
Id

integer

None.

StartDate

date

None.

EndDate

date

None.

UserId

string

None.

Status

string

None.

ReviewerId

string

None.

RejectionComment

string

None.

Draft

string

None.

AspNetUser

AspNetUser

None.

AspNetUser1

AspNetUser

None.

Visits

Collection of Visit

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 for property 'AspNetUser' with type 'MedicineCRM.Models.AspNetUser'. Path 'AspNetUser.AspNetUserClaims[0]'.

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 for property 'AspNetUser' with type 'MedicineCRM.Models.AspNetUser'. Path 'AspNetUser.AspNetUserClaims[0]'.

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 'MedicineCRM.Models.AspNetRole' 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 'MedicineCRM.Models.AspNetRole' contains cycles and cannot be serialized if reference tracking is disabled.