GET api/v1/general/{operatorId}/ranks
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| operatorId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetAllRanksModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| OperatorId | integer |
Required |
|
| Name | string |
Required Max length: 50 |
|
| NumericLevel | integer |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"OperatorId": 2,
"Name": "sample string 3",
"NumericLevel": 4
},
{
"Id": 1,
"OperatorId": 2,
"Name": "sample string 3",
"NumericLevel": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfGetAllRanksModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emalogic.Conservatory.Common.Models">
<GetAllRanksModel>
<Id>1</Id>
<Name>sample string 3</Name>
<NumericLevel>4</NumericLevel>
<OperatorId>2</OperatorId>
</GetAllRanksModel>
<GetAllRanksModel>
<Id>1</Id>
<Name>sample string 3</Name>
<NumericLevel>4</NumericLevel>
<OperatorId>2</OperatorId>
</GetAllRanksModel>
</ArrayOfGetAllRanksModel>