GET api/Services/GetServiceTypes/{lang}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lang

string

Default value is en

Body Parameters

None.

Response Information

Resource Description

Collection of EntityTypeViewModel

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Label": "sample string"
  },
  {
    "Id": 1,
    "Label": "sample string"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntityTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CA.GOV.AgencyProfileApi.Models">
  <EntityTypeViewModel>
    <Id>1</Id>
    <Label>sample string</Label>
  </EntityTypeViewModel>
  <EntityTypeViewModel>
    <Id>1</Id>
    <Label>sample string</Label>
  </EntityTypeViewModel>
</ArrayOfEntityTypeViewModel>