Skip to content

Latest commit

 

History

History
76 lines (58 loc) · 2.29 KB

SearchApi.md

File metadata and controls

76 lines (58 loc) · 2.29 KB

IO.ClickSend.ClickSend.Api.SearchApi

All URIs are relative to https://rest.clicksend.com/v3

Method HTTP request Description
SearchContactsListsGet GET /search/contacts-lists Get list of searched contact list

SearchContactsListsGet

string SearchContactsListsGet (string q, int? page = null, int? limit = null)

Get list of searched contact list

Get list of searched contact list

Example

using System;
using System.Diagnostics;
using IO.ClickSend.ClickSend.Api;
using IO.ClickSend.Client;
using IO.ClickSend.ClickSend.Model;

namespace Example
{
    public class SearchContactsListsGetExample
    {
        public void main()
        {
            // Configure HTTP basic authorization: BasicAuth
            Configuration.Default.Username = "YOUR_USERNAME";
            Configuration.Default.Password = "YOUR_PASSWORD";

            var apiInstance = new SearchApi();
            var q = q_example;  // string | Your keyword or query.
            var page = 56;  // int? | Page number (optional)  (default to 1)
            var limit = 56;  // int? | Number of records per page (optional)  (default to 10)

            try
            {
                // Get list of searched contact list
                string result = apiInstance.SearchContactsListsGet(q, page, limit);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SearchApi.SearchContactsListsGet: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
q string Your keyword or query.
page int? Page number [optional] [default to 1]
limit int? Number of records per page [optional] [default to 10]

Return type

string

Authorization

BasicAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]