GET api/Service/GetStatusReasons?status_code={status_code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
status_code

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StatusReason
NameDescriptionTypeAdditional information
reason_code

integer

None.

reason

string

String length: inclusive between 0 and 300

status_code

integer

None.

active

string

Matching regular expression pattern: ^[yn]{1}$

String length: inclusive between 0 and 1

ReasonForStatus

Collection of ReasonForStatus

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 'CustDemog.Clinic'. Path '[0].ReasonForStatus[0].SLAStatusForServiceLines.SLAStatuses.Employee.Clinics.Insurers.Clinics'.

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 'CustDemog.Clinic'. Path '[0].ReasonForStatus[0].SLAStatusForServiceLines.SLAStatuses.Employee.Clinics.Insurers.Clinics'.

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 'System.Collections.Generic.List`1[[CustDemog.ReasonForStatus, CustDemog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' 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 'System.Collections.Generic.List`1[[CustDemog.ReasonForStatus, CustDemog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.