POST api/Model?message={message}&token={token}&ExpiresOn={ExpiresOn}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
message

string

Required

token

string

Required

ExpiresOn

date

Required

Body Parameters

None.

Response Information

Resource Description

TokenOutput
NameDescriptionTypeAdditional information
Token

string

None.

ExpiresOn

date

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "ExpiresOn": "2022-11-21T14:58:37.2165249+05:30",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<TokenOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <ExpiresOn>2022-11-21T14:58:37.2165249+05:30</ExpiresOn>
  <Message>sample string 3</Message>
  <Token>sample string 1</Token>
</TokenOutput>