Put

Internal method to perform a PUT request and return a result Returns (Task) Internal method to perform a PUT request Returns (Task) Internal method to perform a PUT request with query parameters Returns (Task) Internal method to perform a PUT request on an Item Returns (Task)

This builds a Put request to send to the server.

Name Description
value The value to put
uriSegments URI segments to append to the base address
value The value to put
uriSegments URI segments to append to the base address
value The value to put
parameters Query parameters to append to the URL
uriSegments URI segments to append to the base address
item The item to update

Put

Example in C#

// Returns: nothing
await client.Put(T value, String uriSegments);
        Note: The cUrl Command can be repeating -> PARENT_OF_PARENT_OF_OBJECT/PARENT_OF_PARENT_OF_OBJECT.KEY/PARENT_OF_OBJECT/PARENT_OF_OBJECT.KEY/OBJECT_TO_UPDATE and so on
        > Example in CURL


           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/OBJECT_TO_UPDATE/OBJECT_TO_UPDATE.KEY/OBJECT_TO_UPDATE.ITEM_LINK \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d 'ITEM_IN_JSON'
            
        Note: The cUrl Command can be repeating -> PARENT_OF_PARENT_OF_OBJECT/PARENT_OF_PARENT_OF_OBJECT.KEY/PARENT_OF_OBJECT/PARENT_OF_OBJECT.KEY/OBJECT_TO_UPDATE and so on
        > Example in CURL


           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/OBJECT_TO_UPDATE/OBJECT_TO_UPDATE.KEY/URI_SEGMENTS \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d 'ITEM_IN_JSON'
            
        Note: The cUrl Command can be repeating -> PARENT_OF_PARENT_OF_OBJECT/PARENT_OF_PARENT_OF_OBJECT.KEY/PARENT_OF_OBJECT/PARENT_OF_OBJECT.KEY/OBJECT_TO_UPDATE and so on
        > Example in CURL


           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/OBJECT_TO_UPDATE/OBJECT_TO_UPDATE.KEY?URI_SEGMENTS \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d 'ITEM_IN_JSON'
            
        Note: The cUrl Command can be repeating -> PARENT_OF_PARENT_OF_OBJECT/PARENT_OF_PARENT_OF_OBJECT.KEY/PARENT_OF_OBJECT/PARENT_OF_OBJECT.KEY/OBJECT_TO_UPDATE and so on
        > Example in CURL


           curl -X PUT \
               https://api.us.acresecurity.cloud/api/f/OBJECT_TO_UPDATE/OBJECT_TO_UPDATE.KEY \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d 'ITEM_IN_JSON'