fikihfirmansyah

Untitled

Oct 9th, 2021
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //////////////////////////////////////////////////
  2. //////////// POST Invoice invoiceItem ////////////
  3. //////////////////////////////////////////////////
  4. [
  5.   {
  6.     "uuid": "",
  7.     "itemList": "675f3c52-2916-11ec-a208-02752207ca62",
  8.     "quantity": 10,
  9.     "discount": 20,
  10.     "customItem": "",
  11.     "customPrice": "",
  12.     "delete": 0
  13.   },
  14.   {
  15.     "uuid": "",
  16.     "itemList": "4020ce1f-2799-11ec-a208-02752207ca62",
  17.     "quantity": 8,
  18.     "discount": 20,
  19.     "customItem": "",
  20.     "customPrice": "",
  21.     "delete": 0
  22.   }
  23. ]
  24.  
  25. //////////////////////////////////////////////////
  26. ////////POST Invoice invoiceHistoryPayment////////
  27. //////////////////////////////////////////////////
  28. [
  29.   {
  30.     "uuid": "",
  31.     "paymentDate": "2021-10-05T18:19:35+07:00",
  32.     "changedBy": "07592cfc-dbd4-4769-ab9a-0c2da9ce09a1",
  33.     "paymentTo": "BANK SUMUT",
  34.     "paymentRefNumber": "iaaaa12",
  35.     "paymentAmmount": "10000",
  36.     "paymentNote": "DP",
  37.     "delete":0
  38.   }
  39. ]
  40.  
  41.  
  42. ------------------------------------------------------------------------------------------------------------
  43. ////////////////////////////////////////////////////////////////////////////////////////////////////////////
  44. ------------------------------------------------------------------------------------------------------------
  45.  
  46. //////////////////////////////////////////////////
  47. //////// PATCH (ADD) Invoice invoiceItem ////////
  48. //////////////////////////////////////////////////
  49. [
  50.   {
  51.     "uuid": "a2a461a1-a742-11e7-b7ab-000c297bb294",
  52.     "itemList": "675f3c52-2916-11ec-a208-02752207ca62",
  53.     "quantity": 10,
  54.     "discount": 20,
  55.     "customItem": "",
  56.     "customPrice": "",
  57.     "delete": 0
  58.   },
  59.   {
  60.     "uuid": "a2a422a1-a742-11e7-b7ab-000c297bb294",
  61.     "itemList": "4020ce1f-2799-11ec-a208-02752207ca62",
  62.     "quantity": 8,
  63.     "discount": 20,
  64.     "customItem": "",
  65.     "customPrice": "",
  66.     "delete": 0
  67.   },
  68.   {
  69.     "uuid": "",
  70.     "itemList": "4022231f-2799-11ec-a208-02752207ca62",
  71.     "quantity": 2,
  72.     "discount": 10,
  73.     "customItem": "",
  74.     "customPrice": "",
  75.     "delete": 0
  76.   }
  77. ]
  78.  
  79. //////////////////////////////////////////////////
  80. /// PATCH (ADD) Invoice invoiceHistoryPayment ///
  81. //////////////////////////////////////////////////
  82. [
  83.   {
  84.     "uuid": "a23361a1-a742-11e7-b7ab-000c297bb294",
  85.     "paymentDate": "2021-10-05T18:19:35+07:00",
  86.     "changedBy": "07592cfc-dbd4-4769-ab9a-0c2da9ce09a1",
  87.     "paymentTo": "BANK SUMUT",
  88.     "paymentRefNumber": "iaaaa12",
  89.     "paymentAmmount": "10000",
  90.     "paymentNote": "DP",
  91.     "delete":0
  92.   },
  93.   {
  94.     "uuid": "",
  95.     "paymentDate": "2021-10-05T18:19:35+07:00",
  96.     "changedBy": "07592cfc-dbd4-4769-ab9a-0c2da9ce09a1",
  97.     "paymentTo": "BANK SUMUT",
  98.     "paymentRefNumber": "iaaaa12",
  99.     "paymentAmmount": "20000",
  100.     "paymentNote": "DP",
  101.     "delete":0
  102.   }
  103. ]
  104.  
  105.  
  106. ------------------------------------------------------------------------------------------------------------
  107. ////////////////////////////////////////////////////////////////////////////////////////////////////////////
  108. ------------------------------------------------------------------------------------------------------------
  109.  
  110. //////////////////////////////////////////////////
  111. //////// PATCH (EDIT) Invoice invoiceItem ////////
  112. //////////////////////////////////////////////////
  113. [
  114.   {
  115.     "uuid": "a2a461a1-a742-11e7-b7ab-000c297bb294",
  116.     "itemList": "675f3c52-2916-11ec-a208-02752207ca62",
  117.     "quantity": 10,
  118.     "discount": 20,
  119.     "customItem": "",
  120.     "customPrice": "",
  121.     "delete": 0
  122.   },
  123.   {
  124.     "uuid": "a2a422a1-a742-11e7-b7ab-000c297bb294",
  125.     "itemList": "4020ce1f-2799-11ec-a208-02752207ca62",
  126.     "quantity": 8,
  127.     "discount": 20,
  128.     "customItem": "",
  129.     "customPrice": "",
  130.     "delete": 0
  131.   },
  132.   {
  133.     "uuid": "a2a42233-a742-11e7-b7ab-000c297bb294",
  134.     "itemList": "4022231f-2799-11ec-a208-02752207ca62",
  135.     "quantity": 20,
  136.     "discount": 20,
  137.     "customItem": "",
  138.     "customPrice": "",
  139.     "delete": 0
  140.   }
  141. ]
  142.  
  143.  
  144. ------------------------------------------------------------------------------------------------------------
  145. ////////////////////////////////////////////////////////////////////////////////////////////////////////////
  146. ------------------------------------------------------------------------------------------------------------
  147.  
  148. //////////////////////////////////////////////////
  149. /////// PATCH (DELETE) Invoice invoiceItem ///////
  150. //////////////////////////////////////////////////
  151. [
  152.   {
  153.     "uuid": "a2a461a1-a742-11e7-b7ab-000c297bb294",
  154.     "itemList": "675f3c52-2916-11ec-a208-02752207ca62",
  155.     "quantity": 10,
  156.     "discount": 20,
  157.     "customItem": "",
  158.     "customPrice": "",
  159.     "delete": 1
  160.   },
  161.   {
  162.     "uuid": "a2a422a1-a742-11e7-b7ab-000c297bb294",
  163.     "itemList": "4020ce1f-2799-11ec-a208-02752207ca62",
  164.     "quantity": 8,
  165.     "discount": 20,
  166.     "customItem": "",
  167.     "customPrice": "",
  168.     "delete": 1
  169.   },
  170.   {
  171.     "uuid": "a2a42233-a742-11e7-b7ab-000c297bb294",
  172.     "itemList": "4022231f-2799-11ec-a208-02752207ca62",
  173.     "quantity": 2,
  174.     "discount": 10,
  175.     "customItem": "",
  176.     "customPrice": "",
  177.     "delete": 0
  178.   }
  179. ]
  180.  
  181. //////////////////////////////////////////////////
  182. // PATCH (DELETE) Invoice invoiceHistoryPayment //
  183. //////////////////////////////////////////////////
  184. [
  185.   {
  186.     "uuid": "a23361a1-a742-11e7-b7ab-000c297bb294",
  187.     "paymentDate": "2021-10-05T18:19:35+07:00",
  188.     "changedBy": "07592cfc-dbd4-4769-ab9a-0c2da9ce09a1",
  189.     "paymentTo": "BANK SUMUT",
  190.     "paymentRefNumber": "iaaaa12",
  191.     "paymentAmmount": "10000",
  192.     "paymentNote": "DP",
  193.     "delete":1
  194.   },
  195.   {
  196.     "uuid": "a2a41133-a742-11e7-b7ab-000c297bb294",
  197.     "paymentDate": "2021-10-05T18:19:35+07:00",
  198.     "changedBy": "07592cfc-dbd4-4769-ab9a-0c2da9ce09a1",
  199.     "paymentTo": "BANK SUMUT",
  200.     "paymentRefNumber": "iaaaa12",
  201.     "paymentAmmount": "20000",
  202.     "paymentNote": "DP",
  203.     "delete":0
  204.   }
  205. ]
Advertisement
Add Comment
Please, Sign In to add comment