POST api/Service/SaveSla

Request Information

URI Parameters

None.

Body Parameters

SLA
NameDescriptionTypeAdditional information
code

integer

None.

hours

integer

None.

business_days_only

string

None.

SLAStatusForServiceType

Collection of SLAStatusForServiceType

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 'CustDemog.Clinic'. Path 'SLAStatusForServiceType[0].SLAStatus.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 'SLAStatusForServiceType[0].SLAStatus.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 'CustDemog.SLAStatusForServiceType' 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 'CustDemog.SLAStatusForServiceType' 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 'SLA'.

application/bson

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

Response Information

Resource Description

SLA
NameDescriptionTypeAdditional information
code

integer

None.

hours

integer

None.

business_days_only

string

None.

SLAStatusForServiceType

Collection of SLAStatusForServiceType

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 'SLAStatusForServiceType[0].SLAStatus.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 'SLAStatusForServiceType[0].SLAStatus.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 'CustDemog.SLAStatusForServiceType' 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 'CustDemog.SLAStatusForServiceType' contains cycles and cannot be serialized if reference tracking is disabled.

application/bson

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