Merchant Info Get Merchant Information by passing required parameter.
Key | Value |
---|---|
URL | https://api.ovvihq.com/MerchantInfo |
APIKey | Provided by OVVI |
- public string GetOrderDetails()
- {
- get
- {
- string strResult = string.Empty;
- try
- {
- HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://api.ovvihq.com/OrderDetails");
- request.ContentType = "application/json";
- request.Method = "GET";
- request.Headers.Add("APIKey", "Provided by OVVI");
- // Set some reasonable limits on resources used by this request
- request.ContentLength = 0;
- // Set credentials to use for this request.
- request.Credentials = CredentialCache.DefaultCredentials;
- HttpWebResponse response = (HttpWebResponse)request.GetResponse();
- // Get the stream associated with the response.
- Stream receiveStream = response.GetResponseStream();
- // Pipes the stream to a higher level stream reader with the required encoding format.
- StreamReader readStream = new StreamReader(receiveStream, Encoding.UTF8);
- strResult = readStream.ReadToEnd().ToString();
- response.Close();
- readStream.Close();
- return strResult;
- }
- catch (Exception ex)
- {
- strResult = Convert.ToString(ex.Message);
- return strResult;
- }
- }
- }
Key | Data Type | Description |
---|---|---|
Id | nvarchar(10) | Id |
Name | nvarchar(100) | Company Name. |
nvarchar(100) | Company Email ID. | |
Address | nvarchar(30) | Company Address. |
City | nvarchar(30) | City. |
State | nvarchar(20) | State. |
Zip | nvarchar(10) | Zipcode. |
Timezone | nvarchar(500) | Timezone. |
Phone | nvarchar(15) | Company Phone Number. |