## Ambiguity Generator

This document goes over how to get ambiguous values from this API. It might be worth looking into the paper, which we would appreciate if you cited, https://doi.org/10.1287/mnsc.1100.1307

## POST /bits

### Request:

- Supported content types are:

    - `application/x-www-form-urlencoded`
    - `application/json;charset=utf-8`
    - `application/json`

- To get 1000 values with finite support from 0 to 10, with shuffling turned on, starting with a fixed offset of 0 for the sequence. (`application/x-www-form-urlencoded`):

```
upper=10&offHigh=0.0&skip=0&shuffled=true&samples=1000&lower=0&offLow=0.0
```

- To get 1000 values with finite support from 0 to 10, with shuffling turned on, starting with a fixed offset of 0 for the sequence. (`application/json;charset=utf-8`, `application/json`):

```javascript
{"lower":0,"offHigh":0,"offLow":0,"samples":1000,"shuffled":true,"skip":0,"upper":10}
```

### Response:

- Status code 200
- Headers: [("Content-Disposition","")]

- Supported content types are:

    - `text/csv;charset=utf-8`
    - `application/json;charset=utf-8`
    - `application/json`

- Example (`text/csv;charset=utf-8`):

```

```

- Example (`application/json;charset=utf-8`, `application/json`):

```javascript
[]
```

- Example (`text/csv;charset=utf-8`):

```
1
```

- Example (`application/json;charset=utf-8`):

```javascript
[1]
```

## POST /finite

### Request:

- Supported content types are:

    - `application/x-www-form-urlencoded`
    - `application/json;charset=utf-8`
    - `application/json`

- To get 1000 values with finite support from 0 to 10, with shuffling turned on, starting with a fixed offset of 0 for the sequence. (`application/x-www-form-urlencoded`):

```
upper=10&offHigh=0.0&skip=0&shuffled=true&samples=1000&lower=0&offLow=0.0
```

- To get 1000 values with finite support from 0 to 10, with shuffling turned on, starting with a fixed offset of 0 for the sequence. (`application/json;charset=utf-8`, `application/json`):

```javascript
{"lower":0,"offHigh":0,"offLow":0,"samples":1000,"shuffled":true,"skip":0,"upper":10}
```

### Response:

- Status code 200
- Headers: [("Content-Disposition","")]

- Supported content types are:

    - `text/csv;charset=utf-8`
    - `application/json;charset=utf-8`
    - `application/json`

- Example (`text/csv;charset=utf-8`):

```

```

- Example (`application/json;charset=utf-8`, `application/json`):

```javascript
[]
```

- Example (`text/csv;charset=utf-8`):

```
1
```

- Example (`application/json;charset=utf-8`):

```javascript
[1]
```

## POST /realizations

### Request:

- Supported content types are:

    - `application/x-www-form-urlencoded`
    - `application/json;charset=utf-8`
    - `application/json`

- To get 1000 values of raw realizations, with shuffling turned on, starting with a fixed offset of 0 for the sequence. (`application/x-www-form-urlencoded`):

```
offHigh=0.0&skip=0&shuffled=true&samples=1000&offLow=0.0
```

- To get 1000 values of raw realizations, with shuffling turned on, starting with a fixed offset of 0 for the sequence. (`application/json;charset=utf-8`, `application/json`):

```javascript
{"offHigh":0,"offLow":0,"samples":1000,"shuffled":true,"skip":0}
```

### Response:

- Status code 200
- Headers: [("Content-Disposition","")]

- Supported content types are:

    - `text/csv;charset=utf-8`
    - `application/json;charset=utf-8`
    - `application/json`

- Example (`text/csv;charset=utf-8`):

```

```

- Example (`application/json;charset=utf-8`, `application/json`):

```javascript
[]
```

- Example (`text/csv;charset=utf-8`):

```
1.0
```

- Example (`application/json;charset=utf-8`):

```javascript
[1.0]
```