POST | /api/Command/SimpleContactCommand |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MemberKey | form | Guid | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /api/Command/SimpleContactCommand HTTP/1.1
Host: api.clubmanagercentral.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Tags":["String"],"CustomAttributes":[{"CustomAttributeId":0,"CustomAttributeValueId":0,"InstanceId":0,"StoredValue":"String","TypeName":"String","ReadOnly":false}],"Forenames":"String","Surname":"String","Email":"String","Mobile":"String","Message":"String","DateOfBirth":"0001-01-01T00:00:00.0000000","MemberName":"String","ParentSurname":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {Unable to show example output for type 'SimpleContactResult' using the custom 'csv' filter}No parameterless constructor defined for this object.