ClubReady Api

<back to all web services

CreateZipWhipMessageRequest

The following routes are available for this service:
POST/users/{UserId}/zipwhipmessage/createAdd a ZipWhip message to a user account.
CreateZipWhipMessageRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyquerystringYesApi Key - grants access to resources
StoreIdqueryintegerYesClubReady Club ID (StoreID internally)
UserIdqueryintegerYesCreate note for this ClubReady User ID
SubjectquerystringYesSubject of the message (Up to 255 characters)
TextquerystringYesText body of the message (Up to 2000 characters)
RestrictedIdbodyint?No
RestrictedResourceTypebodyRestrictedResourceTypeNo
CreateZipWhipMessageRequestDto Parameters:
NameParameterData TypeRequiredDescription
UserIdformintNo
SubjectformstringNo
TextformstringNo
PostedByformint?No
ApiDtoBase Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringNo
StoreIdformint?No
ChainIdformint?No
RestrictedResourceType Enum:
Store
Chain
User
Undefined
CreateZipWhipMessageResponse Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
MessageformstringNo
NoteIdformlongNo
ContactLogIdformintNo
TaskIdformintNo
CreateZipWhipMessageResponseDto Parameters:
NameParameterData TypeRequiredDescription
NoteIdformlongNo
ContactLogIdformintNo
TaskIdformintNo
ApiResponseBase Parameters:
NameParameterData TypeRequiredDescription
SuccessformboolNo
MessageformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /users/{UserId}/zipwhipmessage/create HTTP/1.1 
Host: clubready.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ApiKey":"String","StoreId":0,"UserId":0,"Subject":"String","Text":"String","RestrictedId":0,"RestrictedResourceType":"Store","PostedBy":0,"ChainId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Success":false,"Message":"String","NoteId":0,"ContactLogId":0,"TaskId":0}