Advertisement
Guest User

77eb8d14-6eb1-4a95-aad1-a8f209895104

a guest
Jun 26th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. POST http://192.168.2.180:8080/api/v1/receipts
  2.  
  3. POST data:
  4. {
  5. "common": {
  6. "system": "SHOP",
  7. "messageId": "Message №0001",
  8. "timestamp": "2019-06-26T20:03:21",
  9. "product": "Product №0001",
  10. "terminal": "TEST01",
  11. "inn": "7725327863",
  12. "taxSystem": "OSN"
  13. },
  14. "customer": {
  15. "name": "vborisov",
  16. "docNumber": "1010001",
  17. "docSerial": "1020001",
  18. "email": "qa@unitarius.ru",
  19. "phone": "79256770001",
  20. "attributes": [
  21. {
  22. "name": "Attrinutes.name №1.0001",
  23. "value": "string(200)"
  24. },
  25. {
  26. "name": "Attributes.name №2.0001",
  27. "value": "string(200)"
  28. }
  29. ]
  30. },
  31. "positions": [
  32. {
  33. "name": "Страховой полис ОСАГО №1.0001",
  34. "price": 9999999999.99,
  35. "quantity": 1,
  36. "tax": "VAT10",
  37. "sum": 9999999999.99,
  38. "taxSum": 10000000000000.01,
  39. "total": 8999999999.98,
  40. "paymentMethod": "PREPAYMENT-FULL",
  41. "subjectType": "PRODUCT"
  42. }
  43. ],
  44. "payment": {
  45. "amount": 10000000.55,
  46. "type": "INCOME_RETURN",
  47. "form": "TRANSFER"
  48. },
  49. "operator": {
  50. "phoneNumbers": [
  51. "74958885522",
  52. "84998885523"
  53. ],
  54. "name": "Payment_operator_name №0001",
  55. "address": "2-ya Lykovskaya ulitsa, 15",
  56. "inn": "0123456789",
  57. "additionalAttribute": "Rekvisit"
  58. },
  59. "supplier": {
  60. "phoneNumbers": [
  61. "74958885522",
  62. "84998885523"
  63. ]
  64. }
  65. }
  66.  
  67. [no cookies]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement