GET api/GetServicebyID/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Service
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Description

string

None.

Active

boolean

None.

ShortDescription

string

None.

Type

integer

None.

ImageURL

string

None.

IconURL

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "Active": true,
  "ShortDescription": "sample string 4",
  "Type": 1,
  "ImageURL": "sample string 5",
  "IconURL": "sample string 6"
}

text/html

Sample:
{"ID":1,"Name":"sample string 2","Description":"sample string 3","Active":true,"ShortDescription":"sample string 4","Type":1,"ImageURL":"sample string 5","IconURL":"sample string 6"}

application/xml, text/xml

Sample:
<Service xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MailAPI">
  <Active>true</Active>
  <Description>sample string 3</Description>
  <ID>1</ID>
  <IconURL>sample string 6</IconURL>
  <ImageURL>sample string 5</ImageURL>
  <Name>sample string 2</Name>
  <ShortDescription>sample string 4</ShortDescription>
  <Type>1</Type>
</Service>