All URIs are relative to http://http:/v1
Method | HTTP request | Description |
---|---|---|
users_post | POST /users | Create a new user. |
users_temporary_post | POST /users/temporary | Create a new user with email. |
users_uuid_entitlement_get | GET /users/{uuid}/entitlement | Get users entitlements. |
users_uuid_gdpr_put | PUT /users/{uuid}/gdpr | Updates the GDPR consent settings for a given user. |
users_uuid_get | GET /users/{uuid} | Get user by UUID. |
users_uuid_legal_put | PUT /users/{uuid}/legal | Updates the legal consent settings for a given user. |
users_uuid_newsletters_get | GET /users/{uuid}/newsletters | Get newsletter subscriptions |
users_uuid_newsletters_put | PUT /users/{uuid}/newsletters | Update newsletter subscriptions |
users_uuid_password_put | PUT /users/{uuid}/password | Set / Change user password |
users_uuid_patch | PATCH /users/{uuid} | Update a user |
users_uuid_payments_get | GET /users/{uuid}/payments | Get user's subscriptions and payment events |
users_uuid_scope_get | GET /users/{uuid}/scope | Check if user has valid token for a scope |
users_uuid_subscriptions_subsno_address_change_delete | DELETE /users/{uuid}/subscriptions/{subsno}/addressChange | Delete temporary address change for subscription |
users_uuid_subscriptions_subsno_address_change_patch | PATCH /users/{uuid}/subscriptions/{subsno}/addressChange | Edit temporary address change dates of a subscription |
users_uuid_subscriptions_subsno_address_change_post | POST /users/{uuid}/subscriptions/{subsno}/addressChange | Make a temporary address change for a subscription |
users_uuid_subscriptions_subsno_cancel_put | PUT /users/{uuid}/subscriptions/{subsno}/cancel | Cancels user subscription |
users_uuid_subscriptions_subsno_pause_patch | PATCH /users/{uuid}/subscriptions/{subsno}/pause | Edit pause duration |
users_uuid_subscriptions_subsno_pause_post | POST /users/{uuid}/subscriptions/{subsno}/pause | Pause users subscription |
users_uuid_subscriptions_subsno_reclamation_post | POST /users/{uuid}/subscriptions/{subsno}/reclamation | Create a new delivery reclamation for a subscription |
users_uuid_subscriptions_subsno_reclamations_reclaimno_get | GET /users/{uuid}/subscriptions/{subsno}/reclamations/{reclaimno} | Get a delivery reclamation |
users_uuid_subscriptions_subsno_unpause_post | POST /users/{uuid}/subscriptions/{subsno}/unpause | Unpause users subscription |
LoginResponse users_post(body)
Create a new user.
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
body = persona.NewUser() # NewUser |
try:
# Create a new user.
api_response = api_instance.users_post(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | NewUser |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LoginResponse users_temporary_post(body)
Create a new user with email.
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
body = persona.NewTemporaryUser() # NewTemporaryUser |
try:
# Create a new user with email.
api_response = api_instance.users_temporary_post(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_temporary_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | NewTemporaryUser |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[str] users_uuid_entitlement_get(uuid, auth_user=auth_user, authorization=authorization, cache_control=cache_control)
Get users entitlements.
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
cache_control = 'cache_control_example' # str | (optional)
try:
# Get users entitlements.
api_response = api_instance.users_uuid_entitlement_get(uuid, auth_user=auth_user, authorization=authorization, cache_control=cache_control)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_entitlement_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
auth_user | str | [optional] | |
authorization | str | [optional] | |
cache_control | str | [optional] |
list[str]
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
User users_uuid_gdpr_put(uuid, body, auth_user=auth_user, authorization=authorization)
Updates the GDPR consent settings for a given user.
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
body = None # list[GdprConsent] |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Updates the GDPR consent settings for a given user.
api_response = api_instance.users_uuid_gdpr_put(uuid, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_gdpr_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
body | list[GdprConsent] | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
User users_uuid_get(uuid, auth_user=auth_user, authorization=authorization, cache_control=cache_control)
Get user by UUID.
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
cache_control = 'cache_control_example' # str | (optional)
try:
# Get user by UUID.
api_response = api_instance.users_uuid_get(uuid, auth_user=auth_user, authorization=authorization, cache_control=cache_control)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
auth_user | str | [optional] | |
authorization | str | [optional] | |
cache_control | str | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
User users_uuid_legal_put(uuid, body, auth_user=auth_user, authorization=authorization)
Updates the legal consent settings for a given user.
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
body = None # list[LegalConsent] |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Updates the legal consent settings for a given user.
api_response = api_instance.users_uuid_legal_put(uuid, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_legal_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
body | list[LegalConsent] | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[Newsletter] users_uuid_newsletters_get(uuid, auth_user=auth_user, authorization=authorization)
Get newsletter subscriptions
Get list of newsletter subscriptions from mailchimp
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Get newsletter subscriptions
api_response = api_instance.users_uuid_newsletters_get(uuid, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_newsletters_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[Newsletter] users_uuid_newsletters_put(uuid, body, auth_user=auth_user, authorization=authorization)
Update newsletter subscriptions
Get list of newsletter subscriptions from mailchimp
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
body = None # list[Newsletter] |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Update newsletter subscriptions
api_response = api_instance.users_uuid_newsletters_put(uuid, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_newsletters_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
body | list[Newsletter] | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
User users_uuid_password_put(uuid, body, auth_user=auth_user, authorization=authorization)
Set / Change user password
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
body = persona.UserUpdatePassword() # UserUpdatePassword |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Set / Change user password
api_response = api_instance.users_uuid_password_put(uuid, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_password_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
body | UserUpdatePassword | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
User users_uuid_patch(uuid, body, auth_user=auth_user, authorization=authorization)
Update a user
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
body = persona.UserUpdate() # UserUpdate |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Update a user
api_response = api_instance.users_uuid_patch(uuid, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_patch: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
body | UserUpdate | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[SubscriptionPayments] users_uuid_payments_get(uuid, auth_user=auth_user, authorization=authorization)
Get user's subscriptions and payment events
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Get user's subscriptions and payment events
api_response = api_instance.users_uuid_payments_get(uuid, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_payments_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
int users_uuid_scope_get(uuid, scope, authorization=authorization)
Check if user has valid token for a scope
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
scope = 'scope_example' # str |
authorization = 'authorization_example' # str | (optional)
try:
# Check if user has valid token for a scope
api_response = api_instance.users_uuid_scope_get(uuid, scope, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_scope_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
scope | str | ||
authorization | str | [optional] |
int
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Subscription users_uuid_subscriptions_subsno_address_change_delete(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
Delete temporary address change for subscription
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
subsno = 56 # int |
body = persona.DeleteTempAddressChangeDates() # DeleteTempAddressChangeDates |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Delete temporary address change for subscription
api_response = api_instance.users_uuid_subscriptions_subsno_address_change_delete(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_subscriptions_subsno_address_change_delete: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
subsno | int | ||
body | DeleteTempAddressChangeDates | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Subscription users_uuid_subscriptions_subsno_address_change_patch(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
Edit temporary address change dates of a subscription
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
subsno = 56 # int |
body = persona.TemporaryAddressChangeDates() # TemporaryAddressChangeDates |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Edit temporary address change dates of a subscription
api_response = api_instance.users_uuid_subscriptions_subsno_address_change_patch(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_subscriptions_subsno_address_change_patch: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
subsno | int | ||
body | TemporaryAddressChangeDates | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Subscription users_uuid_subscriptions_subsno_address_change_post(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
Make a temporary address change for a subscription
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
subsno = 56 # int |
body = persona.TemporaryAddressChange() # TemporaryAddressChange |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Make a temporary address change for a subscription
api_response = api_instance.users_uuid_subscriptions_subsno_address_change_post(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_subscriptions_subsno_address_change_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
subsno | int | ||
body | TemporaryAddressChange | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Subscription users_uuid_subscriptions_subsno_cancel_put(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
Cancels user subscription
The subscription continues to be valid until the end of the billing period. Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
subsno = 56 # int |
body = persona.CancelSubscriptionReason() # CancelSubscriptionReason |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Cancels user subscription
api_response = api_instance.users_uuid_subscriptions_subsno_cancel_put(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_subscriptions_subsno_cancel_put: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
subsno | int | ||
body | CancelSubscriptionReason | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Subscription users_uuid_subscriptions_subsno_pause_patch(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
Edit pause duration
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
subsno = 56 # int |
body = persona.SubscriptionPauseEdit() # SubscriptionPauseEdit |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Edit pause duration
api_response = api_instance.users_uuid_subscriptions_subsno_pause_patch(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_subscriptions_subsno_pause_patch: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
subsno | int | ||
body | SubscriptionPauseEdit | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Subscription users_uuid_subscriptions_subsno_pause_post(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
Pause users subscription
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
subsno = 56 # int |
body = persona.SubscriptionPauseDates() # SubscriptionPauseDates |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Pause users subscription
api_response = api_instance.users_uuid_subscriptions_subsno_pause_post(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_subscriptions_subsno_pause_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
subsno | int | ||
body | SubscriptionPauseDates | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeliveryReclamation users_uuid_subscriptions_subsno_reclamation_post(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
Create a new delivery reclamation for a subscription
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
subsno = 56 # int |
body = persona.NewDeliveryReclamation() # NewDeliveryReclamation |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Create a new delivery reclamation for a subscription
api_response = api_instance.users_uuid_subscriptions_subsno_reclamation_post(uuid, subsno, body, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_subscriptions_subsno_reclamation_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
subsno | int | ||
body | NewDeliveryReclamation | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeliveryReclamation users_uuid_subscriptions_subsno_reclamations_reclaimno_get(uuid, subsno, reclaimno, auth_user=auth_user, authorization=authorization)
Get a delivery reclamation
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
subsno = 56 # int |
reclaimno = 56 # int |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
try:
# Get a delivery reclamation
api_response = api_instance.users_uuid_subscriptions_subsno_reclamations_reclaimno_get(uuid, subsno, reclaimno, auth_user=auth_user, authorization=authorization)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_subscriptions_subsno_reclamations_reclaimno_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
subsno | int | ||
reclaimno | int | ||
auth_user | str | [optional] | |
authorization | str | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Subscription users_uuid_subscriptions_subsno_unpause_post(uuid, subsno, auth_user=auth_user, authorization=authorization, start_date=start_date, end_date=end_date)
Unpause users subscription
Authorization header expects the following format ‘OAuth {token}’
from __future__ import print_function
import time
import persona
from persona.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = persona.UsersApi()
uuid = 'uuid_example' # str |
subsno = 56 # int |
auth_user = 'auth_user_example' # str | (optional)
authorization = 'authorization_example' # str | (optional)
start_date = '2013-10-20' # date | (optional)
end_date = '2013-10-20' # date | (optional)
try:
# Unpause users subscription
api_response = api_instance.users_uuid_subscriptions_subsno_unpause_post(uuid, subsno, auth_user=auth_user, authorization=authorization, start_date=start_date, end_date=end_date)
pprint(api_response)
except ApiException as e:
print("Exception when calling UsersApi->users_uuid_subscriptions_subsno_unpause_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
uuid | str | ||
subsno | int | ||
auth_user | str | [optional] | |
authorization | str | [optional] | |
start_date | date | [optional] | |
end_date | date | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8
[Back to top] [Back to API list] [Back to Model list] [Back to README]