# TimeSpan

## Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| `TimeSpan` | Container for `@Duration`. | object | 0..1 | - |
| `TimeSpan[@Duration]` | The number of nights the [Service](/connectivity/docs/api-reference/service) will be provided. | int | 1..1 | - |


## XML

```xml
<TimeSpan
  Duration="1" />
```

## Related endpoints

* [/ota/OTA_HotelResNotif](/assets/ota-resnotif.c04c5c3d4d18175dcc64cacd33fddb968c6f3f158d5821ce2dc646e1e390edea.53c68abe.md)
* [/ota/OTA_HotelResModifyNotif](/assets/ota-resmodifynotif.a2d1ce81a5e5d13226c91415f13cbb8c13e5e789eaceecde3c33e783da66e1cf.53c68abe.md)