List Partitions for Customer
GET {{baseUrl}}/customers/:customerId/partitions?include=<string>
Get the partitions for the specified customer
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include | string | include related resources |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":{"links":{"self":"/customers/8e9833b5-b844-40a3-8572-4a16d29c53bc/partitions","next":"/customers/8e9833b5-b844-40a3-8572-4a16d29c53bc/partitions?page[cursor]=qwerty"},"data":[{"type":"Partition","id":"uuid","attributes":{"name":"dolor esse dolore dolor ullamco","description":"sample partition"},"relationships":{"ownedByCustomer":{"data":{"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}},{"type":"Partition","id":"uuid","attributes":{"name":"magna sunt cillum irure","description":"sample partition"},"relationships":{"ownedByCustomer":{"data":{"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}}],"included":[{"type":"Customer","id":"209d38aa-02c1-48ab-bf37-2716f1ddfeb6","attributes":{"name":"cillum sed et consectetur nostrud"}},{"type":"Customer","id":"209d38aa-02c1-48ab-bf37-2716f1ddfeb6","attributes":{"name":"anim ipsum"}}]}}