Skip to content

Instantly share code, notes, and snippets.

@hlung
Created April 2, 2015 11:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hlung/dfb896cf5ccc9b50d985 to your computer and use it in GitHub Desktop.
Save hlung/dfb896cf5ccc9b50d985 to your computer and use it in GitHub Desktop.
POS Store log
2015-04-02 18:27:43.897 Baccarat[18273:1755018] INFO: POST [START] : https://api.fingi-develop.com/v3/companies/12/brands/20/properties/30/rooms/1624/store_shopping_cart_items
2015-04-02 18:27:43.897 Baccarat[18273:1755018] VERBOSE: body : {
"store_name" = "pos_store";
"store_shopping_cart_item" = {
"item_quantity" = 1;
"item_selection" = "";
"item_tag" = "pos_bagel";
"pos_item_id" = 10026;
};
}
headers : {
Accept = "application/json";
Authorization = "Token token=\"7e090f3683d2ef8a\", timestamp=\"1427974064\"";
"Content-Type" = "application/json";
"X-Fingi-Signature" = 3e5e33813e9b7b00b68771cf279d93d07c82cd2b;
}
2015-04-02 18:27:45.489 Baccarat[18273:1755018] INFO: POST [OK] : https://api.fingi-develop.com/v3/companies/12/brands/20/properties/30/rooms/1624/store_shopping_cart_items
2015-04-02 18:27:45.490 Baccarat[18273:1755018] VERBOSE: response string (formatted): {
"store_shopping_cart_item" = {
id = 105;
"item_quantity" = 1;
"item_selection" = "";
"item_tag" = "pos_bagel";
"pos_item_id" = 10026;
"store_shopping_cart_id" = 46;
};
}
2015-04-02 18:27:45.490 Baccarat[18273:1755018] INFO: JSON response parsed: Dictionary of 1 entries.
2015-04-02 18:27:47.175 Baccarat[18273:1755018] INFO: GET [START] : https://api.fingi-develop.com/v3/companies/12/brands/20/properties/30/rooms/1624/store_shopping_carts
2015-04-02 18:27:47.175 Baccarat[18273:1755018] VERBOSE: headers : {
Accept = "application/json";
Authorization = "Token token=\"7e090f3683d2ef8a\", timestamp=\"1427974067\"";
"Content-Type" = "application/json";
"X-Fingi-Signature" = 09f0887a4e281039e49cfc9cdef33d4a431d334c;
}
2015-04-02 18:27:48.907 Baccarat[18273:1755018] INFO: GET [OK] : https://api.fingi-develop.com/v3/companies/12/brands/20/properties/30/rooms/1624/store_shopping_carts
2015-04-02 18:27:48.908 Baccarat[18273:1755018] VERBOSE: response string (formatted): {
"store_shopping_carts" = (
{
id = 46;
"store_name" = "pos_store";
"store_shopping_cart_items" = (
{
id = 104;
"item_quantity" = 1;
"item_selection" = "";
"item_tag" = "pos_freshfruit";
"pos_item_id" = 10018;
"store_shopping_cart_id" = 46;
},
{
id = 105;
"item_quantity" = 1;
"item_selection" = "";
"item_tag" = "pos_bagel";
"pos_item_id" = 10026;
"store_shopping_cart_id" = 46;
}
);
}
);
}
2015-04-02 18:27:48.908 Baccarat[18273:1755018] INFO: JSON response parsed: Dictionary of 1 entries.
2015-04-02 18:27:53.286 Baccarat[18273:1755018] INFO: POST [START] : https://api.fingi-develop.com/v3/companies/12/brands/20/properties/30/rooms/1624/store_shopping_carts/46/check_out
2015-04-02 18:27:53.286 Baccarat[18273:1755018] VERBOSE: body : {
}
headers : {
Accept = "application/json";
Authorization = "Token token=\"7e090f3683d2ef8a\", timestamp=\"1427974073\"";
"Content-Type" = "application/json";
"X-Fingi-Signature" = 56d71b193a53f7c49984b8a8be9fb0829a0ac152;
}
2015-04-02 18:27:55.430 Baccarat[18273:1755018] INFO: POST [OK] : https://api.fingi-develop.com/v3/companies/12/brands/20/properties/30/rooms/1624/store_shopping_carts/46/check_out
2015-04-02 18:27:55.430 Baccarat[18273:1755018] VERBOSE: response string (formatted): {
id = 115;
}
2015-04-02 18:27:55.430 Baccarat[18273:1755018] INFO: JSON response parsed: Dictionary of 1 entries.
2015-04-02 18:27:56.279 Baccarat[18273:1755018] INFO: < read from hub: 1007 1212 | ASYNC_JOB 115 requested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment