api_auth

<back to all web services

ConfirmRequest

The following routes are available for this service:
GET/api/confirm/{Type}/{Code}Returns html with basic user interface to confirm pending confirmation request
POST/api/confirm/{Type}/{Code}Confirms pending operation represented by specified confirmation request
ConfirmRequest Parameters:
NameParameterData TypeRequiredDescription
TypepathstringNo
CodepathstringNoSecret code that was sent to user by email and\or telephone to confirm target operation

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /api/confirm/{Type}/{Code} HTTP/1.1 
Host: 1.hyper.id 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ConfirmRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bitpub.Api.Auth.Requests">
  <Code>String</Code>
  <Type>String</Type>
</ConfirmRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

(string)