The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /Coupons HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"CodeFrom":0,"Type":0,"ExpDate":"\/Date(-62135596800000-0000)\/","CodeTo":0,"Prefix":"String","Suffix":"String","Data":"String","CodeLength":0,"CodeFill":"\u0000","CodeFillRight":false,"Voided":false,"Used":false,"LastInsertedId":0,"Inserted":0,"Omitted":0,"Omittedlist":"String","Error":0,"CheckSumFrom":0,"CheckSumTo":0,"DiscountAmountLimit":0,"DiscountSumLimit":0,"SingleCouponPerCheck":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"lastInsertedId":0,"Inserted":0,"Omitted":0,"Omittedlist":"String","Error":0}