Tally Platform API
Models
Model: Compensation
1 min
code examples { "compensationid" 0, "coupon" { "couponid" "", "offer" { "offerid" "", "offertypecode" "", "code" "", "name" "", "description" "", "featureversion" "", "statuscode" "", "startdatetime" "", "enddatetime" "", "offerattributes" \[ { "offerattributeid" "", "attribute" { "attributeid" "", "typecode" "", "statuscode" "", "name" "", "description" "", "datatypecode" "" }, "defaultvalue" "", "requireonuse" false, "requireonhold" false, "includeonresponse" false, "attributetypecode" "", "operatorcode" "", "operand" "", "smartgroupid" "" } ] }, "code" "", "statuscode" "", "startdate" "", "enddate" "", "usetypecode" "single", "uselimit" 1, "currentuse" "", "couponuses" \[ { "usedatetime" "", "statuscode" "", "channelcode" "", "alias" "", "usecount" "", "couponuseattributes" \[ { "couponuseattributeid" "", "attribute" { "attributeid" "", "typecode" "", "statuscode" "", "name" "", "description" "", "datatypecode" "" }, "value" "" } ] } ], "couponattributes" \[ { "couponattributeid" "", "attribute" { "attributeid" "", "typecode" "", "statuscode" "", "name" "", "description" "", "datatypecode" "" }, "value" "", "requireonuse" false, "requireonhold" false } ] }, "accountnumber" "", "confirmationnumber" "", "startdatetime" "", "enddatetime" "", "compensationstatus" "", "comment" "", "reason" "", "type" "", "customdata" { "ace01" "", "ace01description" "", "ace02" "", "ace02description" "", "ace03" "", "ace03description" "", "ace04" "", "ace04description" "", "ace05" "", "ace05description" "", "ace06" "", "ace06description" "", "ace07" "", "ace07description" "", "ace08" "", "ace08description" "", "ace09" "", "ace09description" "", "ace10" "", "ace10description" "", "ace11" "", "ace11description" "", "ace12" "", "ace12description" "", "ace13" "", "ace13description" "", "ace14" "", "ace14description" "", "ace15" "", "ace15description" "" }, "compensationnights" \[ { "compensationnightid" 0, "compensationdate" "", "compensationnightstatus" "", "compensationdetailamounts" \[ { "compensationdetailamountid" 0, "couponuseamount" 0, "category" "", "reason" "" } ] } ] }