Skip to content

USAGE.md - missing Recipient Search with conditions [POST] example #353

Open
@robledosm

Description

@robledosm

There is missing example in USAGE.md document to search Recipients with conditions.

   string data= @"{
      'conditions': [
        {
            'field' : 'last_name',
            'value': 'test last name',
            'operator': 'eq',
            'and_or': ''
        }]
    }";
    dynamic response = await sg.client.contactdb.recipients.search.post(requestBody: data);
    Console.WriteLine(response.StatusCode);
    Console.WriteLine(response.Body.ReadAsStringAsync().Result);
    Console.WriteLine(response.Headers.ToString());
    Console.ReadLine();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions