GET v1/clients/{id}
Retrieves a client by their id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Unique Identifier of the client requested. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
The Client, if it exists. Otherwise a 404 error.
Client| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| AwardsPointConversionRate | decimal number |
None. |
Response Codes
- 200 OK: Requested client successfully returned.
- 401 Unauthorized:
- 404 NotFound: Requested client does not exist.
- 500 InternalServerError:
Response Formats
application/json, text/json
Sample:
{
"Id": "5a09a6b6-4ccb-41e5-82cd-d0d0708bffa3",
"Name": "sample string 2",
"AwardsPointConversionRate": 3.0
}
text/html
Sample:
{"Id":"5a09a6b6-4ccb-41e5-82cd-d0d0708bffa3","Name":"sample string 2","AwardsPointConversionRate":3.0}
application/xml, text/xml
Sample:
<Client xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ITAGroup.Games.Api.Contracts.v1.Models"> <AwardsPointConversionRate>3</AwardsPointConversionRate> <Id>5a09a6b6-4ccb-41e5-82cd-d0d0708bffa3</Id> <Name>sample string 2</Name> </Client>