Skip to main content

Update an existing site

x-ms-visibility: "important"

Update details of an existing site.

Path Parameters
    siteId int64 required

    ID of the site to patch.

Request Body required

Details of the site to update.

    name string
    parentSiteId int64 nullable
    externalId string
    groupType string
    streetAddress string
    postalCode string
    city string
    country string
    latitude double nullable
    longitude double nullable
    payerId int64 nullable
    costId string
    paymentRecipientId int64 nullable
    publicName string
    timezone string
    isPublicSite boolean nullable
    parkingType string
    tariffReferences object[]
  • Array [
  • tariffId string
    usageType string
  • ]
  • tags string[]
    notes string
Responses

The updated site details.


Schema
    id int64 nullable
    name string nullable
    publicName string
    isPublicSite boolean nullable
    groupType string
    externalId string
    streetAddress string
    city string
    postalCode string
    country string
    latitude double nullable
    longitude double nullable
    timezone string
    parentSiteId int64 nullable
    payerId int64 nullable
    costId string
    paymentRecipientId int64 nullable
    parkingType string
    parentName string
    numberOfChargers int64 nullable
    numberOfSubsites int64 nullable
    sitePath object[]
  • Array [
  • siteId int64
    siteName string
  • ]
  • tariffReferences object[]
  • Array [
  • groupId string
    tariffId string
    usageType int32 nullable

    Possible values: [0, 1]

    Default value: 0

  • ]
  • metadata string[]
    notes string
Loading...