POST api/v1/BaseMeterRead/GetToken

Request Information

URI Parameters

None.

Body Parameters

VisitorVModel
NameDescriptionTypeAdditional information
ClientID

string

None.

ClientSecret

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientID": "sample string 1",
  "ClientSecret": "sample string 2"
}

application/xml, text/xml

Sample:
<VisitorVModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StrongWebAPI.Areas.BaseMeterRead.Models">
  <ClientID>sample string 1</ClientID>
  <ClientSecret>sample string 2</ClientSecret>
</VisitorVModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseOfObject
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

ResultList

Collection of Object

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "ResultList": [
    {},
    {}
  ],
  "Result": {}
}

application/xml, text/xml

Sample:
<ResponseOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StrongWebAPI">
  <Message>sample string 2</Message>
  <Result />
  <ResultList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </ResultList>
  <Success>true</Success>
</ResponseOfanyType>