GET api/QualityDashboard/GetProblemTypes/{serviceProviderId}

Request Information

URI Parameters

Name Description Type Additional information
serviceProviderId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of QualityProblemTypes
Name Description Type Additional information
ProblemTypeId

integer

None.

ProblemType

string

None.

Count

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProblemTypeId": 1,
    "ProblemType": "sample string 2",
    "Count": 3
  },
  {
    "ProblemTypeId": 1,
    "ProblemType": "sample string 2",
    "Count": 3
  }
]

text/html

Sample:
[{"ProblemTypeId":1,"ProblemType":"sample string 2","Count":3},{"ProblemTypeId":1,"ProblemType":"sample string 2","Count":3}]

application/xml, text/xml

Sample:
<ArrayOfQualityProblemTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Models.QualityDashboard">
  <QualityProblemTypes>
    <Count>3</Count>
    <ProblemType>sample string 2</ProblemType>
    <ProblemTypeId>1</ProblemTypeId>
  </QualityProblemTypes>
  <QualityProblemTypes>
    <Count>3</Count>
    <ProblemType>sample string 2</ProblemType>
    <ProblemTypeId>1</ProblemTypeId>
  </QualityProblemTypes>
</ArrayOfQualityProblemTypes>