TechStacks!

<back to all web services

RequestOrganizationMemberInvite

Organization
Requires Authentication
The following routes are available for this service:
POST/orgs/{OrganizationId}/invites
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class RequestOrganizationMemberInvite implements IPost
    {
        public Integer organizationId = null;
        
        public Integer getOrganizationId() { return organizationId; }
        public RequestOrganizationMemberInvite setOrganizationId(Integer value) { this.organizationId = value; return this; }
    }

    public static class RequestOrganizationMemberInviteResponse
    {
        public Integer organizationId = null;
        public ResponseStatus responseStatus = null;
        
        public Integer getOrganizationId() { return organizationId; }
        public RequestOrganizationMemberInviteResponse setOrganizationId(Integer value) { this.organizationId = value; return this; }
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public RequestOrganizationMemberInviteResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

}

Java RequestOrganizationMemberInvite DTOs

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 /orgs/{OrganizationId}/invites HTTP/1.1 
Host: techstacks.io 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"organizationId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"organizationId":0,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}