+49 69 83008980 service@xqueue.com
Benötigen Sie Hilfe?

Im Maileon Help-Center finden Sie umfassende Dokumentationen zu unserem System.

Beliebte Suchanfragen: Importe | Rest-API | Integrationen | SMS

Create New Contingent

Sie sind hier:

 

Create New Contingent

PUT https://api.maileon.com/partner/settings/prepaids/contingents?key={k}&nl_account_id={nlaId}

Description: Update the details of the contingent. Please note: it is not possible to update the contingent value below the used value. Only Expiry date, contingent value and name are allowed to change. If a negative contingent value is specified it will be set to 0.

Parameters:
– key: apikey
– nl_account_id: int // the id of the newsletter account

Returns:
– The new contingent

Response-Codes:
– 200 – OK
– 400 – Bad Request :

Example:

200 OK
content-type: application/json
{
"expiryDate": "2019-05-06T01:00:00+01:00",
"contingentValue": 1000,
"availableValue": 1000,
"newsletterAccountId": 12345,
"usedValue": 0,
"author": "PARTNER-API-bjh645sx",
"created": "2017-11-02T10:20:05+01:00",
"name": "New Contingent 1000",
"id": 123,
"updated": "2018-01-02T14:05:00+01:00",
"status": "running"
}

Inhaltsverzeichnis