GET api/Services/GetServiceTypes/{lang}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| lang | string |
Default value is en |
Body Parameters
None.
Response Information
Resource Description
Collection of EntityTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Label | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Label": "sample string 2"
},
{
"Id": 1,
"Label": "sample string 2"
}
]
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 2</Label>
</EntityTypeViewModel>
<EntityTypeViewModel>
<Id>1</Id>
<Label>sample string 2</Label>
</EntityTypeViewModel>
</ArrayOfEntityTypeViewModel>