POST api/Authentication?httpStatusCode={httpStatusCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| httpStatusCode | HttpStatusCode |
Required |
Body Parameters
BasicResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| msg | MsgModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"success": true,
"msg": {
"code": 1,
"text": "sample string 2",
"topic": "sample string 3"
}
}
application/xml, text/xml
Sample:
<BasicResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TUFTManagement.Models">
<msg>
<code>1</code>
<text>sample string 2</text>
<topic>sample string 3</topic>
</msg>
<success>true</success>
</BasicResponse>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseException| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | HttpResponseMessage |
None. |
|
| Message | string |
None. |
|
| Data | Dictionary of Object [key] and Object [value] |
None. |
|
| InnerException | Exception |
None. |
|
| TargetSite | MethodBase |
None. |
|
| StackTrace | string |
None. |
|
| HelpLink | string |
None. |
|
| Source | string |
None. |
|
| HResult | integer |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.