Success
{- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "caseId": "string"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoType": "sameAsCash",
- "displayName": "string",
- "description": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "promoEffectiveEndDate": "2019-08-24",
- "promoCanceledBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "promoCancelReason": "adminError",
- "caseId": "string",
- "sacExcercisedRateId": "string",
- "remainingAmountToExercise": 0,
- "timestamps": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activatedAt": "2019-08-24T14:15:22Z",
- "reactivatedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "exercisedAt": "2019-08-24T14:15:22Z"
}, - "totalDeferredInterestAmount": 0
}
}
Success
{- "status": 0,
- "count": 0,
- "data": {
- "promoPrograms": [
- {
- "id": "string",
- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoType": "sameAsCash",
- "displayName": "string",
- "description": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "promoEffectiveEndDate": "2019-08-24",
- "promoCanceledBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "promoCancelReason": "adminError",
- "caseId": "string",
- "sacExcercisedRateId": "string",
- "remainingAmountToExercise": 0,
- "timestamps": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activatedAt": "2019-08-24T14:15:22Z",
- "reactivatedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "exercisedAt": "2019-08-24T14:15:22Z"
}, - "totalDeferredInterestAmount": 0
}
]
}
}
Success
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoType": "sameAsCash",
- "displayName": "string",
- "description": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "promoEffectiveEndDate": "2019-08-24",
- "promoCanceledBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "promoCancelReason": "adminError",
- "caseId": "string",
- "sacExcercisedRateId": "string",
- "remainingAmountToExercise": 0,
- "timestamps": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activatedAt": "2019-08-24T14:15:22Z",
- "reactivatedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "exercisedAt": "2019-08-24T14:15:22Z"
}, - "totalDeferredInterestAmount": 0
}
}
There a few restrictions on what can be updated.
promoTypeId
cannot be updated.
If status=pending
- any attribute except for status
can be
updated.
To activate use the Activate promo program
endpoint.
If status=active
- promoType
, status
, promoDurationDays
and promoStartDate
cannot be updated.
If status=canceled
- promoType
, promoDurationDays
and
promoStartDate
cannot be updated.
If status=exercised
- no attributes can be updated.
Success
{- "externalId": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "caseId": "string",
- "status": "pending"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoType": "sameAsCash",
- "displayName": "string",
- "description": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "promoEffectiveEndDate": "2019-08-24",
- "promoCanceledBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "promoCancelReason": "adminError",
- "caseId": "string",
- "sacExcercisedRateId": "string",
- "remainingAmountToExercise": 0,
- "timestamps": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activatedAt": "2019-08-24T14:15:22Z",
- "reactivatedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "exercisedAt": "2019-08-24T14:15:22Z"
}, - "totalDeferredInterestAmount": 0
}
}
Success
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoType": "sameAsCash",
- "displayName": "string",
- "description": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "promoEffectiveEndDate": "2019-08-24",
- "promoCanceledBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "promoCancelReason": "adminError",
- "caseId": "string",
- "sacExcercisedRateId": "string",
- "remainingAmountToExercise": 0,
- "timestamps": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activatedAt": "2019-08-24T14:15:22Z",
- "reactivatedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "exercisedAt": "2019-08-24T14:15:22Z"
}, - "totalDeferredInterestAmount": 0,
- "sendNotice": true
}
}
Success
{- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "caseId": "string"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoType": "sameAsCash",
- "displayName": "string",
- "description": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "promoEffectiveEndDate": "2019-08-24",
- "promoCanceledBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "promoCancelReason": "adminError",
- "caseId": "string",
- "sacExcercisedRateId": "string",
- "remainingAmountToExercise": 0,
- "timestamps": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activatedAt": "2019-08-24T14:15:22Z",
- "reactivatedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "exercisedAt": "2019-08-24T14:15:22Z"
}, - "totalDeferredInterestAmount": 0
}
}
Success
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoType": "sameAsCash",
- "displayName": "string",
- "description": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "promoEffectiveEndDate": "2019-08-24",
- "promoCanceledBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "promoCancelReason": "adminError",
- "caseId": "string",
- "sacExcercisedRateId": "string",
- "remainingAmountToExercise": 0,
- "timestamps": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activatedAt": "2019-08-24T14:15:22Z",
- "reactivatedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "exercisedAt": "2019-08-24T14:15:22Z"
}, - "totalDeferredInterestAmount": 0
}
}
There a few restrictions on what can be updated.
promoTypeId
cannot be updated.
If status=pending
- any attribute except for status
can be
updated.
To activate use the Activate promo program
endpoint.
If status=active
- promoType
, status
, promoDurationDays
and promoStartDate
cannot be updated.
If status=canceled
- promoType
, promoDurationDays
and
promoStartDate
cannot be updated.
If status=exercised
- no attributes can be updated.
Success
{- "externalId": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "caseId": "string"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoType": "sameAsCash",
- "displayName": "string",
- "description": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "promoEffectiveEndDate": "2019-08-24",
- "promoCanceledBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "promoCancelReason": "adminError",
- "caseId": "string",
- "sacExcercisedRateId": "string",
- "remainingAmountToExercise": 0,
- "timestamps": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activatedAt": "2019-08-24T14:15:22Z",
- "reactivatedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "exercisedAt": "2019-08-24T14:15:22Z"
}, - "totalDeferredInterestAmount": 0
}
}
Success
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "promoTypeId": "string",
- "externalId": "string",
- "status": "pending",
- "promoType": "sameAsCash",
- "displayName": "string",
- "description": "string",
- "promoStartDate": "2019-08-24",
- "promoEndDate": "2019-08-24",
- "promoDurationDays": 0,
- "promoGracePeriodDays": 0,
- "disqualifyOverdueDays": 0,
- "metaData": { },
- "promoEffectiveEndDate": "2019-08-24",
- "promoCanceledBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "promoCancelReason": "adminError",
- "caseId": "string",
- "sacExcercisedRateId": "string",
- "remainingAmountToExercise": 0,
- "timestamps": {
- "createdAt": "2019-08-24T14:15:22Z",
- "activatedAt": "2019-08-24T14:15:22Z",
- "reactivatedAt": "2019-08-24T14:15:22Z",
- "canceledAt": "2019-08-24T14:15:22Z",
- "exercisedAt": "2019-08-24T14:15:22Z"
}, - "totalDeferredInterestAmount": 0,
- "sendNotice": true
}
}
Success
Success