GET api/subServicesSimple

Gets a list of all subServices with the absolutely necessary properties.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A collection of SubServiceSimpleViewModel objects.

Collection of Cyberlogic.eTourism.Domain.ViewModels.SubServices.SubServiceSimpleViewModel
NameDescriptionTypeAdditional information
SubServiceId

integer

None.

SubServiceName

string

None.

ServiceId

integer

None.

ServiceName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SubServiceId": 1,
    "SubServiceName": "sample string 2",
    "ServiceId": 3,
    "ServiceName": "sample string 4"
  },
  {
    "SubServiceId": 1,
    "SubServiceName": "sample string 2",
    "ServiceId": 3,
    "ServiceName": "sample string 4"
  }
]

text/html

Sample:
[{"SubServiceId":1,"SubServiceName":"sample string 2","ServiceId":3,"ServiceName":"sample string 4"},{"SubServiceId":1,"SubServiceName":"sample string 2","ServiceId":3,"ServiceName":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfSubServiceSimpleViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.SubServices">
  <SubServiceSimpleViewModel>
    <ServiceId>3</ServiceId>
    <ServiceName>sample string 4</ServiceName>
    <SubServiceId>1</SubServiceId>
    <SubServiceName>sample string 2</SubServiceName>
  </SubServiceSimpleViewModel>
  <SubServiceSimpleViewModel>
    <ServiceId>3</ServiceId>
    <ServiceName>sample string 4</ServiceName>
    <SubServiceId>1</SubServiceId>
    <SubServiceName>sample string 2</SubServiceName>
  </SubServiceSimpleViewModel>
</ArrayOfSubServiceSimpleViewModel>