Skip to content

Instantly share code, notes, and snippets.

@cescoferraro
Created May 9, 2018 21:38
Show Gist options
  • Save cescoferraro/cde58418136d7d176d5a5ff23d447a0d to your computer and use it in GitHub Desktop.
Save cescoferraro/cde58418136d7d176d5a5ff23d447a0d to your computer and use it in GitHub Desktop.
2018/05/09 21:35:58 Request received from body
2018/05/09 21:35:58 [
{
"id": "5ae9cc30cc922d08eab5d47d",
"creationDate": 1525271600000,
"updateDate": -62135596800000,
"startDate": 1532988120000,
"endDate": 1533074520000,
"customerId": "5849ebe9cc922d4efdbf00e4",
"partyId": "5adfaa31cc922d5c7853f988",
"clubId": "592ca3b3cc922d18bdae4cd8",
"invoiceId": "",
"partyProductId": "5adfb9f2cc922d5c7853fa30",
"clubName": "Teste",
"partyName": "teste drinks",
"customerName": "Daniel Scomazzon",
"voucherUseDate": -62135596800000,
"voucherUseUserClubId": null,
"responsibleUserClubId": "591df38bcc922d18bdae1613",
"voucherUseUserClubName": "",
"status": "AVAILABLE",
"price": {
"value": 33,
"currencyIsoCode": "BRL"
},
"product": {
"id": "",
"name": "Aperol Spritz (Aperol + Espumante + Água com gás)",
"nameSort": "",
"type": "DRINK",
"image": {
"fileId": "5aa9efaba053f70001d379f5",
"mimeType": "IMAGE_PNG",
"creationDate": 1521086380000
},
"category": ""
},
"type": "FREE",
"customer": {
"id": "5849ebe9cc922d4efdbf00e4",
"creationDate": 1481239529000,
"updateDate": 1525826292000,
"firstName": "Daniel",
"lastName": "Scomazzon",
"mail": "[email protected]",
"password": "2/532H1DluV7yrWa39hAutKQ3dwwuqVHOfdkCjNeJuw=",
"phone": "51991640012",
"username": "Daniboy",
"documentNumber": "02299770062",
"birthDate": 746334000000,
"facebookId": "614822298709227",
"favoriteClubs": [
"58cc4874cc922d7b3f7c4ee5",
"594c0cfacc922d160ea25ad5",
"5a05d68acc922d5ce442c915",
"58aa5f02cc922d3a0505c821",
"58495f88b80dff3e46d8e7af",
"5898db71cc922d619a26a336",
"58495efab80dff3e46d8e7ae",
"5849601eb80dff3e46d8e7b7"
]
},
"responsable": {
"id": "591df38bcc922d18bdae1613",
"creationDate": 1495135115000,
"updateDate": 1505225061000,
"name": "Matheus Kerpen",
"mail": "[email protected]",
"password": "DLgEbaPTlqzC40wOb/u6Uq5RFNbuWg2Gr9umZ8n3rAU=",
"status": "ACTIVE",
"profile": "ONNI",
"registerOrigin": "BACKOFFICE",
"clubs": []
},
"partyProduct": {
"id": "5adfb9f2cc922d5c7853fa30",
"creationDate": 1524611570000,
"updateDate": 1525811542000,
"partyId": "5adfaa31cc922d5c7853f988",
"exhibitionName": "Aperol Spritz (Aperol + Espumante + Água com gás)",
"product": {
"id": "5aa9efaccc922d72aa3f7d3f",
"creationDate": 1521086380000,
"updateDate": -62135596800000,
"name": "Aperol Spritz",
"nameSort": "aperol spritz",
"type": "DRINK",
"image": {
"fileId": "5aa9efaba053f70001d379f5",
"mimeType": "IMAGE_PNG",
"creationDate": 1521086380000
},
"category": "DRINKS"
},
"moneyAmount": {
"value": 33,
"currencyIsoCode": "BRL"
},
"quantityPurchased": 0,
"quantityFree": 1,
"doNotSellMoreThan": 100,
"percentCustom": 0,
"image": {
"fileId": "5aa9efaba053f70001d379f5",
"mimeType": "IMAGE_PNG",
"creationDate": 1521086380000
},
"doNotSellBefore": -62135596800000,
"doNotSellAfter": -62135596800000,
"acceptsEvaluation": false,
"featured": false,
"type": "DRINK",
"category": "DRINKS",
"status": "ACTIVE",
"combo": []
},
"party": {
"id": "5adfaa31cc922d5c7853f988",
"creationDate": 1524607537000,
"updateDate": 1525811542000,
"name": "teste drinks",
"nameSearchable": "teste drinks",
"description": "eee",
"clubId": "592ca3b3cc922d18bdae4cd8",
"mainAttraction": "",
"mainAttractionSeachable": "",
"otherAttractions": "",
"otherAttractionsSearchable": "",
"startDate": 1532988120000,
"endDate": 1533074520000,
"assumeServiceFee": false,
"location": {
"type": "Point",
"coordinates": [
-51.210961,
-30.0612303
]
},
"address": {
"city": "Porto Alegre",
"state": "RS",
"country": "BR",
"street": "Porto Alegre",
"number": "0",
"unit": ""
},
"changeAddress": false,
"status": "ACTIVE",
"backgroundImage": {
"fileId": "5adfaa335fb3ce0001ba4be5",
"mimeType": "IMAGE_PNG",
"creationDate": 1524607540000
},
"club": null
},
"transferedFrom": ""
},
{
"id": "5af33e67f2ae17275b6377a6",
"creationDate": 1525890663000,
"updateDate": 1525890666000,
"startDate": 1532988120000,
"endDate": 1533074520000,
"customerId": "5849ebe9cc922d4efdbf00e4",
"partyId": "5adfaa31cc922d5c7853f988",
"clubId": "592ca3b3cc922d18bdae4cd8",
"invoiceId": "5af33e67f2ae17275b6377a5",
"partyProductId": "5adfb9f3cc922d5c7853fa32",
"clubName": "Teste",
"partyName": "teste drinks",
"customerName": "Daniel Scomazzon",
"voucherUseDate": -62135596800000,
"voucherUseUserClubId": null,
"responsibleUserClubId": "591df38bcc922d18bdae1613",
"voucherUseUserClubName": "",
"status": "AVAILABLE",
"price": {
"value": 5,
"currencyIsoCode": "BRL"
},
"product": {
"id": "",
"name": "5 Coolture Shots",
"nameSort": "",
"type": "DRINK",
"image": {
"fileId": "5adfb9f35fb3ce0001ba4bf3",
"mimeType": "IMAGE_PNG",
"creationDate": 1525811542000
},
"category": ""
},
"type": "PROMOTION",
"customer": {
"id": "5849ebe9cc922d4efdbf00e4",
"creationDate": 1481239529000,
"updateDate": 1525826292000,
"firstName": "Daniel",
"lastName": "Scomazzon",
"mail": "[email protected]",
"password": "2/532H1DluV7yrWa39hAutKQ3dwwuqVHOfdkCjNeJuw=",
"phone": "51991640012",
"username": "Daniboy",
"documentNumber": "02299770062",
"birthDate": 746334000000,
"facebookId": "614822298709227",
"favoriteClubs": [
"58cc4874cc922d7b3f7c4ee5",
"594c0cfacc922d160ea25ad5",
"5a05d68acc922d5ce442c915",
"58aa5f02cc922d3a0505c821",
"58495f88b80dff3e46d8e7af",
"5898db71cc922d619a26a336",
"58495efab80dff3e46d8e7ae",
"5849601eb80dff3e46d8e7b7"
]
},
"responsable": {
"id": "591df38bcc922d18bdae1613",
"creationDate": 1495135115000,
"updateDate": 1505225061000,
"name": "Matheus Kerpen",
"mail": "[email protected]",
"password": "DLgEbaPTlqzC40wOb/u6Uq5RFNbuWg2Gr9umZ8n3rAU=",
"status": "ACTIVE",
"profile": "ONNI",
"registerOrigin": "BACKOFFICE",
"clubs": []
},
"partyProduct": {
"id": "5adfb9f3cc922d5c7853fa32",
"creationDate": 1524611571000,
"updateDate": 1525890833000,
"partyId": "5adfaa31cc922d5c7853f988",
"exhibitionName": "5 Coolture Shots",
"moneyAmount": {
"value": 39,
"currencyIsoCode": "BRL"
},
"quantityPurchased": 2,
"quantityFree": 0,
"doNotSellMoreThan": 100,
"percentCustom": 0,
"image": {
"fileId": "5adfb9f35fb3ce0001ba4bf3",
"mimeType": "IMAGE_PNG",
"creationDate": 1525811542000
},
"doNotSellBefore": -62135596800000,
"doNotSellAfter": -62135596800000,
"acceptsEvaluation": false,
"featured": false,
"type": "DRINK",
"category": "DRINKS",
"status": "ACTIVE",
"promotionalPrices": [
{
"id": "5af33e20cc922d4af19f9665",
"name": "teste",
"startDate": -62135596800000,
"endDate": -62135596800000,
"price": {
"value": 5,
"currencyIsoCode": "BRL"
},
"quantityTotal": 13,
"quantityPurchased": 2,
"quantityPerCustomer": 2,
"makePublic": false,
"ignoreActiveBatchRules": false,
"availableToFollowers": false,
"promoters": []
}
],
"combo": [
{
"productId": "591e3e78cc922d18bdae177d",
"productName": "Coolture Shot",
"quantity": 5,
"image": {
"fileId": "591e3e78cc922d18bdae177b",
"mimeType": "IMAGE_PNG",
"creationDate": 1495154296000
}
}
]
},
"party": {
"id": "5adfaa31cc922d5c7853f988",
"creationDate": 1524607537000,
"updateDate": 1525811542000,
"name": "teste drinks",
"nameSearchable": "teste drinks",
"description": "eee",
"clubId": "592ca3b3cc922d18bdae4cd8",
"mainAttraction": "",
"mainAttractionSeachable": "",
"otherAttractions": "",
"otherAttractionsSearchable": "",
"startDate": 1532988120000,
"endDate": 1533074520000,
"assumeServiceFee": false,
"location": {
"type": "Point",
"coordinates": [
-51.210961,
-30.0612303
]
},
"address": {
"city": "Porto Alegre",
"state": "RS",
"country": "BR",
"street": "Porto Alegre",
"number": "0",
"unit": ""
},
"changeAddress": false,
"status": "ACTIVE",
"backgroundImage": {
"fileId": "5adfaa335fb3ce0001ba4be5",
"mimeType": "IMAGE_PNG",
"creationDate": 1524607540000
},
"club": null
},
"transferedFrom": ""
},
{
"id": "5ad4f61ecc922d5c7853c1a7",
"creationDate": 1523906078000,
"updateDate": 1523906081000,
"startDate": 1527904800000,
"endDate": 1527930000000,
"customerId": "5849ebe9cc922d4efdbf00e4",
"partyId": "5ac6b93ecc922d780ab53c5e",
"clubId": "5a05d68acc922d5ce442c915",
"invoiceId": "5ad4f61ecc922d5c7853c1a6",
"partyProductId": "5ac6b93ecc922d780ab53c63",
"clubName": "DOMA",
"partyName": "EH.KO com Do Santos l 30.04 l Véspera de feriado no DOMA",
"customerName": "Daniel Scomazzon",
"voucherUseDate": -62135596800000,
"voucherUseUserClubId": null,
"responsibleUserClubId": null,
"voucherUseUserClubName": "",
"status": "AVAILABLE",
"price": {
"value": 6,
"currencyIsoCode": "BRL"
},
"product": {
"id": "",
"name": "Água",
"nameSort": "",
"type": "DRINK",
"image": {
"fileId": "586e94a8cc922d0223ffcf34",
"mimeType": "IMAGE_PNG",
"creationDate": 1483642024000
},
"category": ""
},
"type": "NORMAL",
"customer": {
"id": "5849ebe9cc922d4efdbf00e4",
"creationDate": 1481239529000,
"updateDate": 1525826292000,
"firstName": "Daniel",
"lastName": "Scomazzon",
"mail": "[email protected]",
"password": "2/532H1DluV7yrWa39hAutKQ3dwwuqVHOfdkCjNeJuw=",
"phone": "51991640012",
"username": "Daniboy",
"documentNumber": "02299770062",
"birthDate": 746334000000,
"facebookId": "614822298709227",
"favoriteClubs": [
"58cc4874cc922d7b3f7c4ee5",
"594c0cfacc922d160ea25ad5",
"5a05d68acc922d5ce442c915",
"58aa5f02cc922d3a0505c821",
"58495f88b80dff3e46d8e7af",
"5898db71cc922d619a26a336",
"58495efab80dff3e46d8e7ae",
"5849601eb80dff3e46d8e7b7"
]
},
"responsable": {
"id": "",
"creationDate": null,
"name": "",
"mail": "",
"password": "",
"status": "",
"profile": "",
"registerOrigin": "",
"clubs": null
},
"partyProduct": {
"id": "5ac6b93ecc922d780ab53c63",
"creationDate": 1522972990000,
"updateDate": 1525896586000,
"partyId": "5ac6b93ecc922d780ab53c5e",
"exhibitionName": "Água",
"product": {
"id": "584952f5b80dff3e46d8e79e",
"creationDate": 1481200373000,
"updateDate": 1490980161000,
"name": "Água",
"nameSort": "agua",
"type": "DRINK",
"image": {
"fileId": "586e94a8cc922d0223ffcf34",
"mimeType": "IMAGE_PNG",
"creationDate": 1483642024000
},
"category": "SOFT_DRINKS"
},
"moneyAmount": {
"value": 6,
"currencyIsoCode": "BRL"
},
"quantityPurchased": 1,
"quantityFree": 0,
"doNotSellMoreThan": 300,
"percentCustom": 0,
"image": {
"fileId": "586e94a8cc922d0223ffcf34",
"mimeType": "IMAGE_PNG",
"creationDate": 1483642024000
},
"doNotSellBefore": -62135596800000,
"doNotSellAfter": -62135596800000,
"acceptsEvaluation": false,
"featured": true,
"type": "DRINK",
"category": "SOFT_DRINKS",
"status": "ACTIVE",
"combo": []
},
"party": {
"id": "5ac6b93ecc922d780ab53c5e",
"creationDate": 1522972990000,
"updateDate": 1525896586000,
"name": "EH.KO com Do Santos l 30.04 l Véspera de feriado no DOMA",
"nameSearchable": "eh.ko com do santos l 30.04 l vespera de feriado no doma",
"description": "A EH.KO chega pesado no DOMA na véspera de feriado e traz DO SANTOS, uma das mais importantes referências do Tech House brasileiro, se apresentando em clubes como Warung, La Fabrica, Hija-Beehive, Natural Forest e outros. \n\nUma noite para os resistentes, onde as condições físicas estarão à prova fazendo o seu corpo vibrar até derreter fluidamente. \n\nEH.KO é a entrega completa ao estado de anestesia sonora.",
"clubId": "5a05d68acc922d5ce442c915",
"mainAttraction": "Do Santos",
"mainAttractionSeachable": "",
"otherAttractions": "Pele de Cão aka Dj Nicole Caneppele | Dj Vicente bobadra",
"otherAttractionsSearchable": "pele de cao aka dj nicole caneppele | dj vicente bobadra",
"startDate": 1527904800000,
"endDate": 1527930000000,
"assumeServiceFee": false,
"location": {
"type": "Point",
"coordinates": [
-51.2177398,
-30.0416939
]
},
"address": {
"city": "Porto Alegre",
"state": "RS",
"country": "BR",
"street": "Av. Venâncio Aires",
"number": "240",
"unit": ""
},
"changeAddress": false,
"status": "ACTIVE",
"backgroundImage": {
"fileId": "5ac6b93fcc922d780ab53c7a",
"mimeType": "IMAGE_PNG",
"creationDate": 1522972991000
},
"club": null
},
"transferedFrom": ""
},
{
"id": "5aef8912f2ae17275b637766",
"creationDate": 1525647634000,
"updateDate": 1525647636000,
"startDate": 1526004000000,
"endDate": 1526032800000,
"customerId": "5849ebe9cc922d4efdbf00e4",
"partyId": "5aeb60c9cc922d08eab5d8f5",
"clubId": "58cc4874cc922d7b3f7c4ee5",
"invoiceId": "5aef8912f2ae17275b637765",
"partyProductId": "5aeb695ecc922d08eab5da29",
"clubName": "Coolture",
"partyName": "Coolture - ME LEVA no Pagodin - Quinta 10.05",
"customerName": "Daniel Scomazzon",
"voucherUseDate": -62135596800000,
"voucherUseUserClubId": null,
"responsibleUserClubId": null,
"voucherUseUserClubName": "",
"status": "AVAILABLE",
"price": {
"value": 6,
"currencyIsoCode": "BRL"
},
"product": {
"id": "",
"name": "Água",
"nameSort": "",
"type": "DRINK",
"image": {
"fileId": "5a9556a7946c050001ff0573",
"mimeType": "IMAGE_PNG",
"creationDate": 1519736488000
},
"category": ""
},
"type": "NORMAL",
"customer": {
"id": "5849ebe9cc922d4efdbf00e4",
"creationDate": 1481239529000,
"updateDate": 1525826292000,
"firstName": "Daniel",
"lastName": "Scomazzon",
"mail": "[email protected]",
"password": "2/532H1DluV7yrWa39hAutKQ3dwwuqVHOfdkCjNeJuw=",
"phone": "51991640012",
"username": "Daniboy",
"documentNumber": "02299770062",
"birthDate": 746334000000,
"facebookId": "614822298709227",
"favoriteClubs": [
"58cc4874cc922d7b3f7c4ee5",
"594c0cfacc922d160ea25ad5",
"5a05d68acc922d5ce442c915",
"58aa5f02cc922d3a0505c821",
"58495f88b80dff3e46d8e7af",
"5898db71cc922d619a26a336",
"58495efab80dff3e46d8e7ae",
"5849601eb80dff3e46d8e7b7"
]
},
"responsable": {
"id": "",
"creationDate": null,
"name": "",
"mail": "",
"password": "",
"status": "",
"profile": "",
"registerOrigin": "",
"clubs": null
},
"partyProduct": {
"id": "5aeb695ecc922d08eab5da29",
"creationDate": 1525377374000,
"updateDate": 1525647637000,
"partyId": "5aeb60c9cc922d08eab5d8f5",
"exhibitionName": "Água",
"product": {
"id": "5a9556a8cc922d68ac5aed5a",
"creationDate": 1519736488000,
"updateDate": -62135596800000,
"name": "Água",
"nameSort": "agua",
"type": "DRINK",
"image": {
"fileId": "5a9556a7946c050001ff0573",
"mimeType": "IMAGE_PNG",
"creationDate": 1519736488000
},
"category": "SOFT_DRINKS"
},
"moneyAmount": {
"value": 6,
"currencyIsoCode": "BRL"
},
"quantityPurchased": 2,
"quantityFree": 0,
"doNotSellMoreThan": 100,
"percentCustom": 0,
"image": {
"fileId": "5a9556a7946c050001ff0573",
"mimeType": "IMAGE_PNG",
"creationDate": 1519736488000
},
"doNotSellBefore": -62135596800000,
"doNotSellAfter": -62135596800000,
"acceptsEvaluation": false,
"featured": false,
"type": "DRINK",
"category": "SOFT_DRINKS",
"status": "ACTIVE",
"combo": []
},
"party": {
"id": "5aeb60c9cc922d08eab5d8f5",
"creationDate": 1525375177000,
"updateDate": 1525471107000,
"name": "Coolture - ME LEVA no Pagodin - Quinta 10.05",
"nameSearchable": "coolture - me leva no pagodin - quinta 10.05",
"description": "Nessa quinta, me leva pro pagodin!\n\nSim, o pagode vai comandar a noite desta quinta, aqui na Coolture! E claro que a gente vai trazer de volta os grandes sucessos dos anos 90, com aquele clima nostálgico de curtir com os amigos numa roda de samba de respeito.\n\nQuem aí lembra do Tá vendo aquela lua? Ou Me apaixonei pela pessoa errada? Livre pra voar? Então pensa que vão ter esses sucessos e todos aqueles outros que fizeram nosso coração bater mais forte! \u003c3 E para fechar a noite, claro que nosso residente Johnny420 estará a postos e promete comandar o fusca com um set da-que-les. \n\nE aí, partiu pagodear?\n\n\n\u003e\u003e\u003e NO COMANDO DO FUSCA\nRoda de Samba Me Leva\nJohnny420\n\nMesas e camarotes pelo fone 51 99307-6075\n\nProibida a entrada de menores de 18 anos.\n\nFollow us. @coolturebr",
"clubId": "58cc4874cc922d7b3f7c4ee5",
"mainAttraction": "Roda Me Leva",
"mainAttractionSeachable": "",
"otherAttractions": "Johnny 420",
"otherAttractionsSearchable": "johnny 420",
"startDate": 1526004000000,
"endDate": 1526032800000,
"assumeServiceFee": false,
"location": {
"type": "Point",
"coordinates": [
-51.1902755,
-30.0223669
]
},
"address": {
2018/05/09 21:35:58 "GET http://api.onni.live/voucher/customer HTTP/1.1" from 100.96.2.137:38414 - 200 14791B in 622.754401ms
"city": "Porto Alegre",
"state": "RS",
"country": "BR",
"street": "Rua Plínio Brasil Milano",
"number": "77",
"unit": ""
},
"changeAddress": false,
"status": "ACTIVE",
"backgroundImage": {
"fileId": "5aeb60cbbb1c1b0001c26646",
"mimeType": "IMAGE_PNG",
"creationDate": 1525375180000
},
"club": null
},
"transferedFrom": ""
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment