POST api/Legacy/Ping
Ping service to test connection
Request Information
URI Parameters
None.
Body Parameters
PingRequestName | Description | Type | Additional information |
---|---|---|---|
input | string |
None. |
|
username | string |
None. |
|
password | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "input": "sample string 1", "username": "sample string 2", "password": "sample string 3" }
application/xml, text/xml
Sample:
<PingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2"> <password>sample string 3</password> <username>sample string 2</username> <input>sample string 1</input> </PingRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PingResponseName | Description | Type | Additional information |
---|---|---|---|
PingResult | string |
None. |
|
outStatus | ResultStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "PingResult": "sample string 1", "outStatus": { "StatusCode": "00", "Message": "sample string 2", "Result": 0 } }
application/xml, text/xml
Sample:
<PingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2.Legacy"> <outStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/Advania.Model.Common" xmlns="http://schemas.datacontract.org/2004/07/Advania.Model.Signet2"> <d2p1:Message>sample string 2</d2p1:Message> <d2p1:Result>Success</d2p1:Result> <d2p1:StatusCode>00</d2p1:StatusCode> </outStatus> <PingResult>sample string 1</PingResult> </PingResponse>