POST | /api/Command/AddToTasterSessionCommand |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class AddToTasterSessionResult implements ICommandResult
{
public UUID MemberKey = null;
public String AddToCalendarHtml = null;
public UUID getMemberKey() { return MemberKey; }
public AddToTasterSessionResult setMemberKey(UUID value) { this.MemberKey = value; return this; }
public String getAddToCalendarHtml() { return AddToCalendarHtml; }
public AddToTasterSessionResult setAddToCalendarHtml(String value) { this.AddToCalendarHtml = value; return this; }
}
}
Java Command.AddToTasterSessionCommandRequest DTOs
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/AddToTasterSessionCommand HTTP/1.1
Host: api.clubmanagercentral.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"BookingId":0,"AgreedToTerms":false,"Tags":["String"],"Forenames":"String","Surname":"String","Email":"String","Mobile":"String","MedicalInformation":"String","DateOfBirth":"String","MemberName":"String","ParentSurname":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {Unable to show example output for type 'AddToTasterSessionResult' using the custom 'csv' filter}No parameterless constructor defined for this object.