Gift Voucher

Save Gift Voucher :- LOGIC API PUSH - GIFT VOUCHERS

This API is used to Save the Gift Voucher in LOGIC

Authorization Detail

Name

Detail

End Point

http://demo.logicerp.com/api/SaveGiftVoucher

Request Type

POST

Authorization

Basic Auth

Username

Demo

Password

1

Request


{
    "Gift_Voucher_Group": "ONLINE SALE GV",
    "GVG_ShortName": "OSGV",
    "GVG_AccountCode": "1024",
    "GVG_Commission_On": "",
    "GVG_Commission_Value": 0.0,
    "Gift_Voucher_Prefix": "10009600",
    "Gift_Voucher_Number": 1,
    "Amount": 1500.0,
    "Gift_Voucher_Account": "",
    "Gift_Voucher_AccountCode": "1024",
    "Gift_Voucher_Barcode": "BGTESTING",
    "Creation_Branch_Code": 2,
    "Expiry_Date": "30/10/2024"
}

Request Detail

Name
Type
Length
Mandatory

Gift_Voucher_Group

nvarchar

-

yes

GVG_ShortName

nvarchar

-

-

GVG_AccountCode

nvarchar

-

yes

GVG_Commission_On

nvarchar

-

-

GVG_Commission_Value

nvarchar

-

-

Gift_Voucher_Prefix

nvarchar

-

yes

Gift_Voucher_Number

int

9

yes

Amount

money

-

yes

Gift_Voucher_Account

money

-

-

Gift_Voucher_AccountCode

money

-

-

Gift_Voucher_Barcode

nvarchar

30

-

Creation_Branch_Code

nvarchar

-

yes

Expiry_Date

date/time

-

-

Response

 
{
    "Status": true,
    "Message": "",
    "LastSavedCode": ""
}

Last updated