GET api/v1/Contacts/Registration?timespan={timespan}&source={source}&ip={ip}

Will return array of registered contacts by Registration timespan, RegistrationSource or RegistrationIp (can combine). Will return empty array if nothing is found.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
timespan

Refers to minutes, in which the contact was registered (RegistrationDateTime).

integer

None.

source

Contact RegistrationSource

string

None.

ip

Contact RegistrationIp

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ReadRegisteredContactDto
NameDescriptionTypeAdditional information
Id

Id of contact uniquely identifying withing database.

integer

None.

RegistrationDateTime

Date and time of contact registration

date

Required

RegistrationSource

Registration source for the new contact, should be set to whatever reffered new contact. Registration source could be birthday campaign

string

Required

String length: inclusive between 0 and 50

RegistrationIp

Registartion IPv4 for contact. Should be formatted like this: 127.0.0.1

string

Required

String length: inclusive between 0 and 16

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "RegistrationDateTime": "2024-11-21T06:21:08.3886567+00:00",
    "RegistrationSource": "sample string 3",
    "RegistrationIp": "sample string 4"
  },
  {
    "Id": 1,
    "RegistrationDateTime": "2024-11-21T06:21:08.3886567+00:00",
    "RegistrationSource": "sample string 3",
    "RegistrationIp": "sample string 4"
  }
]