The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
PUT /Coupons/Activate HTTP/1.1
Host: apex.nikoratrade.ge
Accept: application/x-protobuf
Content-Type: application/x-protobuf
Content-Length: length
{"CouponType":0,"Prefix":"String","ActivateId":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":{"Id":0,"Code":"String","CouponType":0,"ExpirationDate":"\/Date(-62135596800000-0000)\/","Voided":false,"Used":false,"UseTime":"\/Date(-62135596800000-0000)\/","Data":{"Prods":[{"ProdId":"String","IsService":0,"Type":0,"SCount":0,"ValueType":0,"Value":0,"SCountAdditive":0}]},"CouponStatus":0,"ActivateId":"00000000000000000000000000000000","SpendId":"00000000000000000000000000000000","CheckSumFrom":0,"CheckSumTo":0,"DiscountAmountLimit":0,"DiscountSumLimit":0,"SingleCouponPerCheck":0}}