GET api/UrlShortener
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
UrlShortenerApiResponseName | Description | Type | Additional information |
---|---|---|---|
result | string |
None. |
|
hasError | boolean |
None. |
|
error | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "hasError": true, "error": "sample string 2", "result": "sample string 1" }
application/xml, text/xml
Sample:
<UrlShortenerApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PARS.WebApi.Proxy.Models"> <Error>sample string 2</Error> <HasError>true</HasError> <result>sample string 1</result> </UrlShortenerApiResponse>