getProperty method

Future<EntityProperty> getProperty({
  1. required String organizationId,
  2. required String propertyKey,
})

Returns the value of a property from an organization. Use this method to obtain the JSON content for an organization's property.

Permissions required: Any

Response limitations: Customers can only access properties of organizations of which they are members.

Implementation

Future<EntityProperty> getProperty(
    {required String organizationId, required String propertyKey}) async {
  return EntityProperty.fromJson(await _client.send(
    'get',
    'rest/servicedeskapi/organization/{organizationId}/property/{propertyKey}',
    pathParameters: {
      'organizationId': organizationId,
      'propertyKey': propertyKey,
    },
  ));
}