Skip to main content

save subscriptions

save subscriptions

Path Parameters
    departmentUUID string required
    customerUUID string required
Request Body required
    internalSubscriptionsRevoked object[]
  • Array [
  • userUuid string
    isAsignee boolean
  • ]
  • externalSubscriptionsRevoked object[]
  • Array [
  • userUuid string
    isAsignee boolean
  • ]
  • internalSubscriptionsAdded object[]
  • Array [
  • userUuid string
    isAsignee boolean
  • ]
  • externalSubscriptionsAdded object[]
  • Array [
  • userUuid string
    isAsignee boolean
  • ]
  • dealerAssociateUuid int64
    isHistoricalSubbscription boolean
Responses

OK


Schema
    internalSubscriptionsFailed object[]
  • Array [
  • userUuid string
    isAsignee boolean
  • ]
  • externalSubscriptionsFailed object[]
  • Array [
  • userUuid string
    isAsignee boolean
  • ]
  • errors object[]
  • Array [
  • errorCode string
    errorDescription string
    errorUID string
  • ]
  • warnings object[]
  • Array [
  • warningCode string
    warningDescription string
  • ]
PUT /department/:departmentUUID/customer/:customerUUID/subscription

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/communications
Username
Password
departmentUUID — path required
customerUUID — path required
Body required
{
"internalSubscriptionsRevoked": [
{
"userUuid": "string",
"isAsignee": true
}
],
"externalSubscriptionsRevoked": [
{
"userUuid": "string",
"isAsignee": true
}
],
"internalSubscriptionsAdded": [
{
"userUuid": "string",
"isAsignee": true
}
],
"externalSubscriptionsAdded": [
{
"userUuid": "string",
"isAsignee": true
}
],
"dealerAssociateUuid": 0,
"isHistoricalSubbscription": true
}
curl / cURL
curl -L -X PUT '/communications/department/:departmentUUID/customer/:customerUUID/subscription' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"internalSubscriptionsRevoked": [
{
"userUuid": "string",
"isAsignee": true
}
],
"externalSubscriptionsRevoked": [
{
"userUuid": "string",
"isAsignee": true
}
],
"internalSubscriptionsAdded": [
{
"userUuid": "string",
"isAsignee": true
}
],
"externalSubscriptionsAdded": [
{
"userUuid": "string",
"isAsignee": true
}
],
"dealerAssociateUuid": 0,
"isHistoricalSubbscription": true
}'