Get lists. For a list to be returned you must have created the list or have access to it.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type. |
Query Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| listTypeId | Type of list | integer (int32) | Optional |
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
Array of:
ListCreateResponse
| Property | Description | Type | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| listDescription | The list description. | string | ||||||||||||
| listId | The list identifier. | integer (int32) | ||||||||||||
| listInfo | The list name. | string | ||||||||||||
| listType | ListTypeChild | |||||||||||||
|
ListTypeChild properties
|
||||||||||||||
| sharedList | Is this a list shared with anyone? | boolean | ||||||||||||
| user | UserChild | |||||||||||||
|
UserChild properties
|
||||||||||||||
| visible | Is this list visible to me? | boolean | ||||||||||||
Example Response
[
{ "listDescription": "string", "listId": 1, "listInfo": "string", "listType": { "listTypeDescription": "string", "listTypeId": 1, "listTypeInfo": "string"
}, "sharedList": false, "user": { "fullName": "string", "userCode": "string", "userId": 1
}, "visible": false
}
]