GET api/ScoreCard/{id}
Gets scorecard by id. Will return empty object if id not found with object.id = 0.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Scorecards| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ScorecardType | string |
None. |
|
| Name | string |
None. |
|
| Value | integer |
None. |
|
| DisplayOrder | integer |
None. |
|
| SubsegmentId | integer |
None. |
|
| CompanyId | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{
"Id": 1,
"ScorecardType": "sample string 2",
"Name": "sample string 3",
"Value": 4,
"DisplayOrder": 5,
"SubsegmentId": 6,
"CompanyId": 7
}
application/xml, text/xml
Sample:
<Scorecards xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers"> <CompanyId>7</CompanyId> <DisplayOrder>5</DisplayOrder> <Id>1</Id> <Name>sample string 3</Name> <ScorecardType>sample string 2</ScorecardType> <SubsegmentId>6</SubsegmentId> <Value>4</Value> </Scorecards>