TechStacks!

<back to all web services

GetOrganizationMembers

Organization
The following routes are available for this service:
GET/orgs/{Id}/members
import java.math.*
import java.util.*
import net.servicestack.client.*


open class GetOrganizationMembers : IGet
{
    var id:Int? = null
}

open class GetOrganizationMembersResponse
{
    var organizationId:Int? = null
    var results:ArrayList<OrganizationMember> = ArrayList<OrganizationMember>()
    var responseStatus:ResponseStatus? = null
}

open class OrganizationMember
{
    var id:Int? = null
    var organizationId:Int? = null
    var userId:Int? = null
    var userName:String? = null
    var isOwner:Boolean? = null
    var isModerator:Boolean? = null
    var denyAll:Boolean? = null
    var denyPosts:Boolean? = null
    var denyComments:Boolean? = null
    var notes:String? = null
}

Kotlin GetOrganizationMembers 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.

GET /orgs/{Id}/members HTTP/1.1 
Host: techstacks.io 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"organizationId":0,"results":[{"id":0,"organizationId":0,"userId":0,"userName":"String","isOwner":false,"isModerator":false,"denyAll":false,"denyPosts":false,"denyComments":false,"notes":"String"}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}