GET api/Service?hostname={hostname}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hostname

string

Required

Body Parameters

None.

Response Information

Resource Description

CustomContactUS
NameDescriptionTypeAdditional information
ContactID

integer

None.

ContactCode

string

None.

ContactName

string

None.

ContactEmail

string

None.

CompanyName

string

None.

Tel

string

None.

Prefix

string

None.

ConnectionString

string

None.

Account

string

None.

AdminAccount

string

None.

RequesDate

string

None.

Status

string

None.

TinyURL

string

None.

SharepointSiteURL

string

None.

SharepointSiteAdmin

string

None.

ApiURL

string

None.

Address

string

None.

Fax

string

None.

LogoPath

string

None.

parameter

string

None.

DomainName

string

None.

AuthType

string

None.

SMTPConfig

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ContactID": 1,
  "ContactCode": "sample string 2",
  "ContactName": "sample string 3",
  "ContactEmail": "sample string 4",
  "CompanyName": "sample string 5",
  "Tel": "sample string 6",
  "Prefix": "sample string 7",
  "ConnectionString": "sample string 8",
  "Account": "sample string 9",
  "AdminAccount": "sample string 10",
  "RequesDate": "sample string 11",
  "Status": "sample string 12",
  "TinyURL": "sample string 13",
  "SharepointSiteURL": "sample string 14",
  "SharepointSiteAdmin": "NDIyNGI1ZDlhZTk0OWUyYjBiNjgyMDJiNmYxZDA4OTBjMzExYTg3MjZhNTQwZjk2ZDdlMzZiNGQzYjljNTk2MA==",
  "ApiURL": "sample string 16",
  "Address": "sample string 17",
  "Fax": "sample string 18",
  "LogoPath": "sample string 19",
  "parameter": "sample string 20",
  "DomainName": "sample string 21",
  "AuthType": "sample string 22",
  "SMTPConfig": "sample string 23"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'System.Security.Cryptography.CryptoStream' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.