POST api/UniversityAdminTc/PostTcAuthConfig
Request Information
URI Parameters
None.
Body Parameters
PostTcAuthConfigDto| Name | Description | Type | Additional information |
|---|---|---|---|
| TcId | integer |
None. |
|
| TokenUrl | string |
None. |
|
| Type | integer |
None. |
|
| ClientId | string |
None. |
|
| ClientSecret | string |
None. |
|
| Code | string |
None. |
|
| RedirectUrl | string |
None. |
|
| ServiceUrl | string |
None. |
|
| Scope | string |
None. |
|
| IdentityUrl | string |
None. |
|
| IdentityKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TcId": 1,
"TokenUrl": "sample string 2",
"Type": 3,
"ClientId": "sample string 4",
"ClientSecret": "sample string 5",
"Code": "sample string 6",
"RedirectUrl": "sample string 7",
"ServiceUrl": "sample string 8",
"Scope": "sample string 9",
"IdentityUrl": "sample string 10",
"IdentityKey": "sample string 11"
}
application/xml, text/xml
Sample:
<PostTcAuthConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StudyTree.Core.Dtos.Authentication"> <ClientId>sample string 4</ClientId> <ClientSecret>sample string 5</ClientSecret> <Code>sample string 6</Code> <IdentityKey>sample string 11</IdentityKey> <IdentityUrl>sample string 10</IdentityUrl> <RedirectUrl>sample string 7</RedirectUrl> <Scope>sample string 9</Scope> <ServiceUrl>sample string 8</ServiceUrl> <TcId>1</TcId> <TokenUrl>sample string 2</TokenUrl> <Type>3</Type> </PostTcAuthConfigDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |