Account
Login method to use to get the Token which should be used in the other subsequent requests without
token all the other Api calls would not work and will get UnAuthorize error message.
get
Below is the sample request example.
var client = new RestClient("URI_Will_Be_Provided_By_CloudRx/api/v1/Account/login");
var request = new RestRequest(Method.GET);
request.AddHeader("clientid", "your_username");
request.AddHeader("clientsecret", "your_password");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);
Responses
200
OK
Responsestring
400
Bad Request
500
Internal Server Error
get
GET /api/v1/Account/login HTTP/1.1
Host:
Accept: */*
text