Sha256: 20a5026d8025fad58fa9f37bac18764c67e9134eda3e7bb06ba3632a33b20a5f

Contents?: true

Size: 1.4 KB

Versions: 16

Compression:

Stored size: 1.4 KB

Contents

# UserRequest

## Example UserRequest Object

```
{
  "id": 1,
  "name": "John Doe",
  "email": "john.doe@files.com",
  "details": "Changed Departments"
}
```

* `id` (int64): ID
* `name` (string): User's full name
* `email` (email): User email address
* `details` (string): Details of the user's request


---

## List User Requests

```
Files::UserRequest.list(
  per_page: 1
)
```

### Parameters

* `cursor` (string): Used for pagination.  Send a cursor value to resume an existing list from the point at which you left off.  Get a cursor from an existing list via the X-Files-Cursor-Next header.
* `per_page` (int64): Number of records to show per page.  (Max: 10,000, 1,000 or less is recommended).


---

## Show User Request

```
Files::UserRequest.find(id)
```

### Parameters

* `id` (int64): Required - User Request ID.


---

## Create User Request

```
Files::UserRequest.create(
  name: "name", 
  email: "email", 
  details: "details"
)
```

### Parameters

* `name` (string): Required - Name of user requested
* `email` (string): Required - Email of user requested
* `details` (string): Required - Details of the user request


---

## Delete User Request

```
Files::UserRequest.delete(id)
```

### Parameters

* `id` (int64): Required - User Request ID.


---

## Delete User Request

```
user_request = Files::UserRequest.list.first

user_request.delete
```

### Parameters

* `id` (int64): Required - User Request ID.

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
files.com-1.0.228 docs/user_request.md
files.com-1.0.227 docs/user_request.md
files.com-1.0.226 docs/user_request.md
files.com-1.0.225 docs/user_request.md
files.com-1.0.224 docs/user_request.md
files.com-1.0.223 docs/user_request.md
files.com-1.0.222 docs/user_request.md
files.com-1.0.221 docs/user_request.md
files.com-1.0.220 docs/user_request.md
files.com-1.0.219 docs/user_request.md
files.com-1.0.218 docs/user_request.md
files.com-1.0.217 docs/user_request.md
files.com-1.0.216 docs/user_request.md
files.com-1.0.215 docs/user_request.md
files.com-1.0.214 docs/user_request.md
files.com-1.0.213 docs/user_request.md