You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8df94da
Browse filesBrowse the repository at this point in the historyBrowse files
[**request_history_search**](InformationApi.md#request_history_search) | **POST** /request/history_search | History search
11
12
[**request_success_rate**](InformationApi.md#request_success_rate) | **POST** /request/success_rate | Retrieve country success rates per service
12
13
[**request_suggested_countries**](InformationApi.md#request_suggested_countries) | **POST** /request/suggested_countries | Suggested Countries
13
14
[**service_retrieve_all**](InformationApi.md#service_retrieve_all) | **GET** /service/retrieve_all | Service list
@@ -305,6 +306,89 @@ This endpoint does not need any parameter.
305
306
306
307
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
635
636
637
+
# **sms_archive**
638
+
> object sms_archive(orderid)
639
+
640
+
Archive
641
+
642
+
_Not documented yet: the parameters below come straight from the code._
643
+
644
+
### Example
645
+
646
+
* Bearer Authentication (bearerAuth):
647
+
648
+
```python
649
+
import smspool_sdk
650
+
from smspool_sdk.rest import ApiException
651
+
from pprint import pprint
652
+
653
+
# Defining the host is optional and defaults to https://api.smspool.net
654
+
# See configuration.py for a list of all supported configuration parameters.
655
+
configuration = smspool_sdk.Configuration(
656
+
host="https://api.smspool.net"
657
+
)
658
+
659
+
# The client must configure the authentication and authorization parameters
660
+
# in accordance with the API server security policy.
661
+
# Examples for each auth method are provided below, use the example that
662
+
# satisfies your auth use case.
663
+
664
+
# Configure Bearer authorization: bearerAuth
665
+
configuration = smspool_sdk.Configuration(
666
+
access_token= os.environ["BEARER_TOKEN"]
667
+
)
668
+
669
+
# Enter a context with an instance of the API client
670
+
with smspool_sdk.ApiClient(configuration) as api_client:
671
+
# Create an instance of the API class
672
+
api_instance = smspool_sdk.SMSApi(api_client)
673
+
orderid ='orderid_example'# str |
674
+
675
+
try:
676
+
# Archive
677
+
api_response = api_instance.sms_archive(orderid)
678
+
print("The response of SMSApi->sms_archive:\n")
679
+
pprint(api_response)
680
+
exceptExceptionas e:
681
+
print("Exception when calling SMSApi->sms_archive: %s\n"% e)
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
0 commit comments