How to obtain session
POST /apps/any/sessions
Resource accepts following arguments:
accesskey - API access key
timestamp - current timestamp in YYYY-MM-DDTHH:mm:SSZ format
signature - signature (calculated internally by client library)
app_id - Pinogy application id (if applicable)
password - password
version - calling software version
os - OS name (Windows/Macos)
Example response
{ "id": 618317, "device": { "id": 372, "name": "device-name-sep3-20 @ FF" }, "user": { "id": 28297, "name": "Pinogy Support - Dev 222", "username": "Pinogy Support - Dev 222", "displayname": "Pinogy Support - Dev 222", "rolename": "Admin", "roles": [ { "deleted": false, "app_ids": [ 4, 7, 3, 1 ], "group": "Entity", "id": -3, "name": "Customer", "parent_id": null } ] }, "location": { "id": 7, "name": "Foo Fighters - business", "receiptname": "Foo Fighters", "addressline1": "4904 Washington", "addressline2": "", "city": "West Point", "state": "WA", "zipcode": "47992", "phonenumber": "765-427-4803", "email": "sales@store.com" }, "language": "en_US", "started": "2023-11-09 15:49:16.187439+00:00", "updated": "2023-11-09 15:49:16.187450+00:00", "clientid": 222, "token": "m3UkPjm/sq//AePU/eTniCMrk07ddg==" } |