GET api/v1/Holidays/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Holiday
NameDescriptionTypeAdditional information
Id

integer

None.

RequestedBy

string

None.

ReviewedBy

string

None.

StartDate

date

None.

EndDate

date

None.

IsApproved

string

None.

Type

string

None.

Reason

string

None.

AspNetUser

AspNetUser

None.

AspNetUser1

AspNetUser

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.