SetCommonName

Async invoke to HTTP PUT Href endpoint of the BaseInfo /commonnameThe CommonName property should be used as the primary display value for all resources. API Consumers may wish provide a way to change the CommonName of the object, without having to execute a full Update operation, which may in turn cause an Access Control Hardware database update. Returns (Task.) Update the CommonName property of a BaseInfo objectThe CommonName property should be used as the primary display value for all resources. API Consumers may wish provide a way to change the CommonName of the object, without having to execute a full Update operation, which may in turn cause an Access Control Hardware database update. Returns (Task.)

This sets the common name of an object.

Name Description
commonName Name of the common.
baseInfo The base information.
commonName Name of the common.
baseInfo The base information.

Set Common Name

Example in C#

// Returns: nothing
await client.SetCommonName(String commonName, BaseInfo baseInfo)

Set Common Name

Example in C#

// Returns: nothing
await client.SetCommonName(BaseInfo baseInfo, String commonName)

Example in CURL



           curl -X PUT \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/people/PERSON.KEY/commonname \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '"Carrera, Sally"'
            

Example in CURL



           curl -X PUT \
               https://keepapi.feenicshosting.com/api/f/INSTANCE.KEY/people/PERSON.KEY/commonname \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '"Carrera, Sally"'