The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
PUT /Ams/{ClientID}/MembershipPromoCodes/{MembershipID}/{MemberID} HTTP/1.1
Host: ws.yourmembership.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"MembershipID":0,"MemberID":0,"PromoCode":"String","UsingRedis":true,"AppInitTime":"2025-01-15T06:16:03.6874989-05:00","ServerID":"WS-5-99-907","ClientID":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"BypassCache":false,"DateCached":"2025-01-15T09:04:17.9310287-05:00","Device":"Desktop"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"MembershipPromoCodeList":[{"FriendlyName":"String","FlatDiscount":0,"PercentDiscount":0,"PromoCodeID":0,"ClientID":0,"PromoCode":"String","Expires":"0001-01-01T00:00:00.0000000","GLCode":"String","QBClass":"String","Start":"0001-01-01T00:00:00.0000000","UsageLimit":0,"UsageOnePerUser":false}],"MembershipID":0,"MemberID":0,"PromoCode":"String","UsingRedis":true,"AppInitTime":"2025-01-15T06:16:03.6874989-05:00","ServerID":"WS-5-99-907","ClientID":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"BypassCache":false,"DateCached":"2025-01-15T09:04:17.9473474-05:00","Device":"Desktop"}