GET api/Contacts/GenerateToken

Request Information

URI Parameters

None.

Body Parameters

ContactsM
NameDescriptionTypeAdditional information
clientid

string

None.

clientsecret

string

None.

token

string

None.

message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "clientid": "sample string 1",
  "clientsecret": "sample string 2",
  "token": "sample string 3",
  "message": "sample string 4"
}

application/xml, text/xml

Sample:
<ContactsM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JamaatAPI.Models">
  <message>sample string 4</message>
  <token>sample string 3</token>
  <clientid>sample string 1</clientid>
  <clientsecret>sample string 2</clientsecret>
</ContactsM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ContactsResponse
NameDescriptionTypeAdditional information
token

string

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "token": "sample string 1",
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<ContactsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JamaatAPI.Models">
  <message>sample string 2</message>
  <token>sample string 1</token>
</ContactsResponse>