POST api/UnregisteredClient
Creates a new unregistered client with the specified name.
Request Information
URI Parameters
None.
Body Parameters
The unregistered client to create.
UnregisteredClient| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId |
The client's ID |
integer |
None. |
| Name |
The client's name |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"clientId": 1,
"name": "sample string 2"
}
application/xml, text/xml
Sample:
<UnregisteredClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <ClientId>1</ClientId> <Name>sample string 2</Name> </UnregisteredClient>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
The unregistered client resource belonging to the newly created client.
UnregisteredClient| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientId |
The client's ID |
integer |
None. |
| Name |
The client's name |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"clientId": 1,
"name": "sample string 2"
}
application/xml, text/xml
Sample:
<UnregisteredClient xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources"> <ClientId>1</ClientId> <Name>sample string 2</Name> </UnregisteredClient>