Skip to main content
API

Update site information

x-ms-visibility: "important"

Send a request to update content of the site specified by its id. Only the fields to be changed need to be written in the body.

Path Parameters
    groupid int32 required

    This is the globally unique ID for the site

Request Body required

Site object that needs to be updated. Group type can be one of these: SUB_CPO, SITE, SUB_SITE, CIRCUIT, OTHER (SITE is default). ParkingType can be one of these: ALONG_MOTORWAY, PARKING_GARAGE, PARKING_LOT, ON_DRIVEWAY, ON_STREET, UNDERGROUND_GARAGE, OTHER, UNKNOWN. Timezone is one of IANA tzdata’s TZ-values, for example 'Europe/Helsinki'. Country code should follow the ISO 3166-1 alpha-3 standard.

    name string
    parentGroupId int64
    streetAddress string
    postalNumber string
    city string
    area string
    country string
    latitude double nullable
    longitude double nullable
    groupType int32 nullable

    Possible values: [0, 1, 2, 3, 4]

    Default value: 0

    payerId int64 nullable
    costId string
    paymentRecipientId int64 nullable
    externalId string
    publicName string
    timezone string
    publish boolean nullable
    parkingType int32 nullable

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7]

    Default value: 0

    tariffReferences object[]
  • Array [
  • tariffId string
    usageType int32

    Possible values: [0, 1]

    Default value: 0

  • ]
Responses

The site has been updated successfully

Loading...