Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //////////////////////////////////////////////////
- //////////// POST Invoice invoiceItem ////////////
- //////////////////////////////////////////////////
- [
- {
- "uuid": "",
- "itemList": "675f3c52-2916-11ec-a208-02752207ca62",
- "quantity": 10,
- "discount": 20,
- "customItem": "",
- "customPrice": "",
- "delete": 0
- },
- {
- "uuid": "",
- "itemList": "4020ce1f-2799-11ec-a208-02752207ca62",
- "quantity": 8,
- "discount": 20,
- "customItem": "",
- "customPrice": "",
- "delete": 0
- }
- ]
- //////////////////////////////////////////////////
- ////////POST Invoice invoiceHistoryPayment////////
- //////////////////////////////////////////////////
- [
- {
- "uuid": "",
- "paymentDate": "2021-10-05T18:19:35+07:00",
- "changedBy": "07592cfc-dbd4-4769-ab9a-0c2da9ce09a1",
- "paymentTo": "BANK SUMUT",
- "paymentRefNumber": "iaaaa12",
- "paymentAmmount": "10000",
- "paymentNote": "DP",
- "delete":0
- }
- ]
- ------------------------------------------------------------------------------------------------------------
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- ------------------------------------------------------------------------------------------------------------
- //////////////////////////////////////////////////
- //////// PATCH (ADD) Invoice invoiceItem ////////
- //////////////////////////////////////////////////
- [
- {
- "uuid": "a2a461a1-a742-11e7-b7ab-000c297bb294",
- "itemList": "675f3c52-2916-11ec-a208-02752207ca62",
- "quantity": 10,
- "discount": 20,
- "customItem": "",
- "customPrice": "",
- "delete": 0
- },
- {
- "uuid": "a2a422a1-a742-11e7-b7ab-000c297bb294",
- "itemList": "4020ce1f-2799-11ec-a208-02752207ca62",
- "quantity": 8,
- "discount": 20,
- "customItem": "",
- "customPrice": "",
- "delete": 0
- },
- {
- "uuid": "",
- "itemList": "4022231f-2799-11ec-a208-02752207ca62",
- "quantity": 2,
- "discount": 10,
- "customItem": "",
- "customPrice": "",
- "delete": 0
- }
- ]
- //////////////////////////////////////////////////
- /// PATCH (ADD) Invoice invoiceHistoryPayment ///
- //////////////////////////////////////////////////
- [
- {
- "uuid": "a23361a1-a742-11e7-b7ab-000c297bb294",
- "paymentDate": "2021-10-05T18:19:35+07:00",
- "changedBy": "07592cfc-dbd4-4769-ab9a-0c2da9ce09a1",
- "paymentTo": "BANK SUMUT",
- "paymentRefNumber": "iaaaa12",
- "paymentAmmount": "10000",
- "paymentNote": "DP",
- "delete":0
- },
- {
- "uuid": "",
- "paymentDate": "2021-10-05T18:19:35+07:00",
- "changedBy": "07592cfc-dbd4-4769-ab9a-0c2da9ce09a1",
- "paymentTo": "BANK SUMUT",
- "paymentRefNumber": "iaaaa12",
- "paymentAmmount": "20000",
- "paymentNote": "DP",
- "delete":0
- }
- ]
- ------------------------------------------------------------------------------------------------------------
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- ------------------------------------------------------------------------------------------------------------
- //////////////////////////////////////////////////
- //////// PATCH (EDIT) Invoice invoiceItem ////////
- //////////////////////////////////////////////////
- [
- {
- "uuid": "a2a461a1-a742-11e7-b7ab-000c297bb294",
- "itemList": "675f3c52-2916-11ec-a208-02752207ca62",
- "quantity": 10,
- "discount": 20,
- "customItem": "",
- "customPrice": "",
- "delete": 0
- },
- {
- "uuid": "a2a422a1-a742-11e7-b7ab-000c297bb294",
- "itemList": "4020ce1f-2799-11ec-a208-02752207ca62",
- "quantity": 8,
- "discount": 20,
- "customItem": "",
- "customPrice": "",
- "delete": 0
- },
- {
- "uuid": "a2a42233-a742-11e7-b7ab-000c297bb294",
- "itemList": "4022231f-2799-11ec-a208-02752207ca62",
- "quantity": 20,
- "discount": 20,
- "customItem": "",
- "customPrice": "",
- "delete": 0
- }
- ]
- ------------------------------------------------------------------------------------------------------------
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////
- ------------------------------------------------------------------------------------------------------------
- //////////////////////////////////////////////////
- /////// PATCH (DELETE) Invoice invoiceItem ///////
- //////////////////////////////////////////////////
- [
- {
- "uuid": "a2a461a1-a742-11e7-b7ab-000c297bb294",
- "itemList": "675f3c52-2916-11ec-a208-02752207ca62",
- "quantity": 10,
- "discount": 20,
- "customItem": "",
- "customPrice": "",
- "delete": 1
- },
- {
- "uuid": "a2a422a1-a742-11e7-b7ab-000c297bb294",
- "itemList": "4020ce1f-2799-11ec-a208-02752207ca62",
- "quantity": 8,
- "discount": 20,
- "customItem": "",
- "customPrice": "",
- "delete": 1
- },
- {
- "uuid": "a2a42233-a742-11e7-b7ab-000c297bb294",
- "itemList": "4022231f-2799-11ec-a208-02752207ca62",
- "quantity": 2,
- "discount": 10,
- "customItem": "",
- "customPrice": "",
- "delete": 0
- }
- ]
- //////////////////////////////////////////////////
- // PATCH (DELETE) Invoice invoiceHistoryPayment //
- //////////////////////////////////////////////////
- [
- {
- "uuid": "a23361a1-a742-11e7-b7ab-000c297bb294",
- "paymentDate": "2021-10-05T18:19:35+07:00",
- "changedBy": "07592cfc-dbd4-4769-ab9a-0c2da9ce09a1",
- "paymentTo": "BANK SUMUT",
- "paymentRefNumber": "iaaaa12",
- "paymentAmmount": "10000",
- "paymentNote": "DP",
- "delete":1
- },
- {
- "uuid": "a2a41133-a742-11e7-b7ab-000c297bb294",
- "paymentDate": "2021-10-05T18:19:35+07:00",
- "changedBy": "07592cfc-dbd4-4769-ab9a-0c2da9ce09a1",
- "paymentTo": "BANK SUMUT",
- "paymentRefNumber": "iaaaa12",
- "paymentAmmount": "20000",
- "paymentNote": "DP",
- "delete":0
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment