GET api/Operators
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Operators| Name | Description | Type | Additional information |
|---|---|---|---|
| pkOperator | integer |
None. |
|
| OperatorID | integer |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 50 |
|
| LastName | string |
String length: inclusive between 0 and 50 |
|
| Provider | string |
String length: inclusive between 0 and 50 |
|
| Active | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"pkOperator": 1,
"OperatorID": 2,
"Name": "sample string 3",
"LastName": "sample string 4",
"Provider": "sample string 5",
"Active": true
},
{
"pkOperator": 1,
"OperatorID": 2,
"Name": "sample string 3",
"LastName": "sample string 4",
"Provider": "sample string 5",
"Active": true
}
]
application/xml, text/xml
Sample:
<ArrayOfOperators xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GaribaldiApi.Models">
<Operators>
<Active>true</Active>
<LastName>sample string 4</LastName>
<Name>sample string 3</Name>
<OperatorID>2</OperatorID>
<Provider>sample string 5</Provider>
<pkOperator>1</pkOperator>
</Operators>
<Operators>
<Active>true</Active>
<LastName>sample string 4</LastName>
<Name>sample string 3</Name>
<OperatorID>2</OperatorID>
<Provider>sample string 5</Provider>
<pkOperator>1</pkOperator>
</Operators>
</ArrayOfOperators>