GET | /orgs/{OrganizationId}/invites |
---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TechStacks.ServiceModel
Imports TechStacks.ServiceModel.Types
Namespace Global
Namespace TechStacks.ServiceModel
Public Partial Class GetOrganizationMemberInvites
Implements IGet
Public Overridable Property OrganizationId As Integer
End Class
Public Partial Class GetOrganizationMemberInvitesResponse
Public Overridable Property Results As List(Of OrganizationMemberInvite)
Public Overridable Property ResponseStatus As ResponseStatus
End Class
End Namespace
Namespace TechStacks.ServiceModel.Types
Public Partial Class OrganizationMemberInvite
Public Overridable Property Id As Integer
Public Overridable Property OrganizationId As Integer
Public Overridable Property UserId As Integer
Public Overridable Property UserName As String
Public Overridable Property Dismissed As Date?
End Class
End Namespace
End Namespace
VB.NET GetOrganizationMemberInvites DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /orgs/{OrganizationId}/invites HTTP/1.1 Host: techstacks.io Accept: text/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"results":[{"id":0,"organizationId":0,"userId":0,"userName":"String","dismissed":"0001-01-01T00:00:00.0000000"}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}