addGeoLocation

The addGeoLocation operation handles configuration related to GeoLocation model. 

Data Parameters

Parameter Required Type Description
name False string A String object containing the name of the Geolocation object. The string can be a maximum of 128 characters.
Field level constraints: cannot be null, cannot have HTML, length must be between 0 and 128 (inclusive), must match pattern (^[a-zA-Z0-9]$)|(^[a-zA-Z0-9][ a-zA-Z0-9.+-]*[a-zA-Z0-9.+-]$). (Note: Additional constraints might exist)
description False string A String object which describes the Geolocation object. The string can be a maximum of 200 characters.
Field level constraints: length must be between 0 and 200 (inclusive), cannot have HTML. (Note: Additional constraints might exist)
locations False [object] A Set of CountryBase objects which contain information about the Countries/Continents
Allowed types are: [Continent, Country]
type False string A UTF8 string, all letters lower-case, that represents the class-type. This corresponds to the class name.

Example

- name: Execute 'addGeoLocation' operation
  ftd_configuration:
    operation: "addGeoLocation"
    data:
        name: "{{ name }}"
        description: "{{ description }}"
        locations: "{{ locations }}"
        type: "{{ type }}"