UpdateEngageGatewayLastPingAsync

Returns ()

Set the designated Engage Ip Gateways last ping field.

Name Description
item

Update Engage Gateway Last Ping Async

Example in C#

// Returns: nothing
await client.UpdateEngageGatewayLastPingAsync(EngageIpGatewayInfo item)

Example in CURL



           curl -X PUT \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/engageipgateways/ENGAGEIPGATEWAY.KEY/lastping \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                   "$type":"Feenics.Keep.WebApi.Model.EngageIpGatewayInfo, Feenics.Keep.WebApi.Model",
                   "HostName":null,
                   "Status":null,
                   "LastPing":DATETIME,
                   "DeviceType":null,
                   "SerialNumberShort":"111",
                   "SerialNumberLong":"111",
                   "DeviceReference":null,
                   "Timestamp":null,
                   "Timezone":null,
                   "LastUpdatedOn":null,
                   "Version":null,
                   "Key":"ENGAGEIPGATEWAY.KEY",
                   "CommonName":"EngageReader_for_cURL",
                   "InFolderHref":"/api/f/INSTANCE.KEY",
                   "InFolderKey":"INSTANCE.KEY",
                   "Links":
                   [
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"Status",
                           "Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"status","Text":"Status"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"LastPing",
                           "Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"lastping",
                               "Text":"Engage IP Gateway Last Ping"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"LastUpdatedOn",
                           "Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"lastupdatedon",
                               "Text":"Last Updated On"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"Version",
                           "Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"version",
                               "Text":"Version"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"Meta",
                           "Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"meta",
                               "Text":"Metadata"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"Monikers","Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"monikers","Text":"Monikers"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"CommonName",
                           "Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"commonname",
                               "Text":"Common Name"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"Images",
                           "Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"images",
                               "Text":"Images"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"TakeOwnership",
                           "Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"takeownership",
                               "Text":"Take Ownership"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"Connections",
                           "Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"connections",
                               "Text":"Connected Objects"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"References",
                           "Anchor":
                           {
                               "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                               "Href":"references",
                               "Text":"Referencing Objects"
                           }
                       },
                       {
                           "$type":"Feenics.Keep.WebApi.Model.Link, Feenics.Keep.WebApi.Model",
                           "Relation":"Notes",
                           "Anchor":
                           {
                                   "$type":"Feenics.Keep.WebApi.Model.Anchor, Feenics.Keep.WebApi.Model",
                                   "Href":"notes",
                                   "Text":"Notes"
                               }
                           }
                       ],
                       "ObjectLinks":
                       [
                           {
                               "$type":"Feenics.Keep.WebApi.Model.ObjectLinkItem, Feenics.Keep.WebA.Model",
                               "Href":null,
                               "LinkedObjectKey":"INSTANCE.KEY",
                               "CommonName":"INSTANCE_NAME","Relation":"InInstance",
                               "MetaDataBson":
                               {
                                   "$type":"System.Byte[], mscorlib",
                                   "$value":""
                               }
                           },
                           {
                               "$type":"Feenics.Keep.WebApi.Model.ObjectLinkItem, Feenics.Keep.WebA.Model",
                               "Href":null,
                               "LinkedObjectKey":"INSTANCE.KEY",
                               "CommonName":"INSTANCE_NAME",
                               "Relation":"InstanceScope",
                               "MetaDataBson":
                               {
                                   "$type":"System.Byte[], mscorlib",
                                   "$value":""
                               }
                           }
                       ],
                       "Metadata":[],
                       "Notes":[],
                       "Tags":[],
                       "Monikers":[],
                       "Href":"/api/f/INSTANCE.KEY/engageipgateways/ENGAGEIPGATEWAY.KEY"
                   }'