doc_out/FaxApi.html.md in purecloud-0.44.1 vs doc_out/FaxApi.html.md in purecloud-0.45.1
- old
+ new
@@ -292,11 +292,11 @@
<a name="put_documents_document_id"></a>
-## -[**FaxDocument**](FaxDocument.html) put_documents_document_id(document_id, opts)
+## -[**FaxDocument**](FaxDocument.html) put_documents_document_id(document_id, body)
Update a fax document.
@@ -317,17 +317,16 @@
api_instance = PureCloud::FaxApi.new
document_id = "document_id_example" # String | Document ID
-opts = {
- body: PureCloud::FaxDocument.new # FaxDocument | Document
-}
+body = PureCloud::FaxDocument.new # FaxDocument | Document
+
begin
#Update a fax document.
- result = api_instance.put_documents_document_id(document_id, opts)
+ result = api_instance.put_documents_document_id(document_id, body)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling FaxApi->put_documents_document_id: #{e}"
end
~~~
@@ -335,10 +334,10 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**document_id** | **String**| Document ID |
- **body** | [**FaxDocument**](FaxDocument.html)| Document | [optional]
+ **body** | [**FaxDocument**](FaxDocument.html)| Document |
{: class="table table-striped"}
### Return type