API Reference

Get all stamper campaigns

Get a list of stamper campaigns from CRM CareCloud.

Log in to see full request history
Query Params
integer
≥ 1
Defaults to 100

The number of records to return in API response.
⚠️ We recommended adjust the batch size based on processing time. Depending on the response time of the request. Default value of 100 records is used if count parameter is not set.

integer
≥ 0
Defaults to 0

The number of records from a collection to skip. Default value of 0 is used when parameter offset is not set.

string

Name of the sorting parameter. You can sort by any of the first level parameters from the resource response. Response is sorted by the specified field.

string

Direction of sorting the response list.

string

Search record by name or a part of the name.

string

Date and time from when is record already valid. (YYYY-MM-DD HH:MM:SS)

string

Date and time to when is record still valid. (YYYY-MM-DD HH:MM:SS)

string

Unique ID of the partner from the resource GET /partners.

boolean

in validity range - true / before or after validity range - false / no value - all

Headers
string
Defaults to cs, en-gb;q=0.8

The unique ID of the language code by ISO 639-1.

Responses

Response body
object
data
object
stamper_campaigns
array of objects

List of stamper campaigns.

stamper_campaigns
object
string

The unique ID of the stamper campaign.

string

The unique ID of the CareCloud partner.

string

Name of the stamper campaign. The translation is return depending on the language value in the HTTP request header Accept-Language.

string

Description of the stamper campaign. The translation is return depending on the language value in the HTTP request header Accept-Language.

integer

The amount of stamps on the stamp card.

string

Stamp campaign validity from. (YYYY-MM-DD HH:MM:SS)

string

Stamp campaign validity to. (YYYY-MM-DD HH:MM:SS)

integer

The number how many times can be campaign repeated. The number says how many stamper cards could be filled by customer in that campaign.

stamper_conditions
array of objects

List of defined stamper conditions.

stamper_conditions
object
string

The unique ID of the stamper condition.

string

Stamper condition description. The translation is return depending on the language value in the HTTP request header Accept-Language.

stamper_bonus_checkpoints
array of objects

List of defined stamper checkpoints for bonuses.

stamper_bonus_checkpoints
object
string

The unique ID of the stamper bonus checkpoint.

string

Stamper bonus checkpoint description. The translation is return depending on the language value in the HTTP request header Accept-Language.

integer

Number of stamp in the stamp card that unlock the bonus checkpoint.

string

Date and time of the last change. (YYYY-MM-DD HH:MM:SS)

integer

State of the stamper campaign.
Possible values are: 0 - deleted / 1 - active

1

integer

The number of all found stamper campaigns.

429

Too many requests - more than the resource limit.

503

Temporary state when the service is temporarily unavailable, overloaded or there is a maintenance window.

Language
Credentials
URL