[Bps-public-commit] rt-extension-rest2 branch, transaction-custom-fields, updated. 1.07-4-gfcf83ad

Michel Rodriguez michel at bestpractical.com
Fri Aug 2 08:30:58 EDT 2019


The branch, transaction-custom-fields has been updated
       via  fcf83adaabd9e2cb063ebf3672c6555a43e8b677 (commit)
      from  d2deaea895e28d0e5f11d84d68e7142752cc4009 (commit)

Summary of changes:
 lib/RT/Extension/REST2.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit fcf83adaabd9e2cb063ebf3672c6555a43e8b677
Author: michel <michel at bestpractical.com>
Date:   Fri Aug 2 14:29:45 2019 +0200

    Updated the docs for transaction custom fields

diff --git a/lib/RT/Extension/REST2.pm b/lib/RT/Extension/REST2.pm
index 4d729ca..195d883 100644
--- a/lib/RT/Extension/REST2.pm
+++ b/lib/RT/Extension/REST2.pm
@@ -314,7 +314,7 @@ Below are some examples using the endpoints above.
     # Correspond a ticket with a transaction custom field
     curl -X POST -H "Content-Type: application/json" -u 'root:password'
         -d '{ "Content": "Testing a correspondence", "ContentType": "text/plain",
-              "CustomFields": {"Object-RT::Transaction--CustomField-2": "custom field value"}
+              "TxnCustomFields": {"MyField": "custom field value"}
             }'
         'https://myrt.com/REST/2.0/ticket/6/correspond'
 

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list