GET api/{programid}/ServiceLocationTypes
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| programid | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProgramServiceLocationType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ServiceLocation | string |
None. |
|
| Description | string |
None. |
|
| IsEnabled | boolean |
None. |
|
| Value | integer |
None. |
|
| DisplayOrder | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"ServiceLocation": "sample string 2",
"Description": "sample string 3",
"IsEnabled": true,
"Value": 5,
"DisplayOrder": 6
},
{
"Id": 1,
"ServiceLocation": "sample string 2",
"Description": "sample string 3",
"IsEnabled": true,
"Value": 5,
"DisplayOrder": 6
}
]
application/xml, text/xml
Sample:
<ArrayOfProgramServiceLocationType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.CommonClasses">
<ProgramServiceLocationType>
<Description>sample string 3</Description>
<DisplayOrder>6</DisplayOrder>
<Id>1</Id>
<IsEnabled>true</IsEnabled>
<ServiceLocation>sample string 2</ServiceLocation>
<Value>5</Value>
</ProgramServiceLocationType>
<ProgramServiceLocationType>
<Description>sample string 3</Description>
<DisplayOrder>6</DisplayOrder>
<Id>1</Id>
<IsEnabled>true</IsEnabled>
<ServiceLocation>sample string 2</ServiceLocation>
<Value>5</Value>
</ProgramServiceLocationType>
</ArrayOfProgramServiceLocationType>