GET api/v2/Service?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ServiceModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Code | string |
None. |
|
Title | string |
None. |
|
Description | string |
None. |
|
IconPath | string |
None. |
|
IconPathCheck | string |
None. |
|
Default | boolean |
None. |
|
Extra | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "Code": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "IconPath": "sample string 5", "IconPathCheck": "sample string 6", "Default": true, "Extra": true }, { "ID": 1, "Code": "sample string 2", "Title": "sample string 3", "Description": "sample string 4", "IconPath": "sample string 5", "IconPathCheck": "sample string 6", "Default": true, "Extra": true } ]
text/html
Sample:
[{"ID":1,"Code":"sample string 2","Title":"sample string 3","Description":"sample string 4","IconPath":"sample string 5","IconPathCheck":"sample string 6","Default":true,"Extra":true},{"ID":1,"Code":"sample string 2","Title":"sample string 3","Description":"sample string 4","IconPath":"sample string 5","IconPathCheck":"sample string 6","Default":true,"Extra":true}]
application/xml, text/xml
Sample:
<ArrayOfServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EasyWelcome.WebApi.Models"> <ServiceModel> <Code>sample string 2</Code> <Default>true</Default> <Description>sample string 4</Description> <Extra>true</Extra> <ID>1</ID> <IconPath>sample string 5</IconPath> <IconPathCheck>sample string 6</IconPathCheck> <Title>sample string 3</Title> </ServiceModel> <ServiceModel> <Code>sample string 2</Code> <Default>true</Default> <Description>sample string 4</Description> <Extra>true</Extra> <ID>1</ID> <IconPath>sample string 5</IconPath> <IconPathCheck>sample string 6</IconPathCheck> <Title>sample string 3</Title> </ServiceModel> </ArrayOfServiceModel>