Resource:Collection: of personC# Rel Const:Rels.MasterSvc.PersonsURI template:persons{?pgsiz,pgnum,rql,sort}Obtain URI from:
Get a list of persons
Success status: 200
Name | Data Type | Description |
---|---|---|
pgsiz | int | max records to return per response; use "next" or "prev" link to paginate |
pgnum | int | considering pgsiz, returns the pgnum-th page, 1-indexed |
rql | string | see RQL documentation |
sort | string | see RQL documentation |
Type | Description | |
---|---|---|
TotalResults | int | |
ResourceList | IList<Master.Models.Person> | |
Name | string | |
Title | string | |
Phone | string | |
Cell | string | |
Fax | string | |
string | ||
Links | IList<WebApi.Hal.Link> | |
- edit | ||
Links | IList<WebApi.Hal.Link> | |
- next | ||
- prev |
{ "totalResults": 1, "_embedded": { "http://api.3plCentral.com/rels/master/person": [ { "name": "str", "title": "str", "phone": "str", "cell": "str", "fax": "str", "email": "str" } ] } }
Create a new person
Success status: 201; ETag response header supplied
Type | Description | |
---|---|---|
Name | string | |
Title | string | |
Phone | string | |
Cell | string | |
Fax | string | |
string |
Sample content-type: application/hal+json |
{ "name": "str", "title": "str", "phone": "str", "cell": "str", "fax": "str", "email": "str" }
Type | Description | |
---|---|---|
Name | string | |
Title | string | |
Phone | string | |
Cell | string | |
Fax | string | |
string | ||
Links | IList<WebApi.Hal.Link> | |
- edit |
{ "name": "str", "title": "str", "phone": "str", "cell": "str", "fax": "str", "email": "str" }
This documentation is subject to change, and is updated often and without warning. The models documented may or may not be available to users now or in the future. Use this documentation at your own risk.
Contact api@3plcentral.com with any questions about this documentation.